diff --git a/.automation/spec_cursor.json b/.automation/spec_cursor.json new file mode 100644 index 000000000..c4acda98d --- /dev/null +++ b/.automation/spec_cursor.json @@ -0,0 +1,7 @@ +{ + "spec_sha": "9b09daf4feb8f5b95a049d45a58a670f5cf2b66ed8558130ae1e463840e8d98b", + "spec_path": "schemas/gooddata-api-client.json", + "gdc_sha": "90a5773cf3682a51e172ec77ea05a40c14be0db3", + "delta_fingerprint": "32605698bf055a340178caf510e2978e4c0adcd347e299e461e6910fcca45998", + "generated_at": "2026-01-23T23:58:58Z" +} diff --git a/gooddata-api-client/.openapi-generator/FILES b/gooddata-api-client/.openapi-generator/FILES index 7bb03543d..98f2ee267 100644 --- a/gooddata-api-client/.openapi-generator/FILES +++ b/gooddata-api-client/.openapi-generator/FILES @@ -2,12 +2,42 @@ README.md docs/AFM.md docs/AFMFiltersInner.md -docs/AIApi.md docs/APITokensApi.md +docs/AacAnalyticsModel.md +docs/AacAttributeHierarchy.md +docs/AacDashboard.md +docs/AacDashboardFilter.md +docs/AacDashboardFilterFrom.md +docs/AacDashboardPermissions.md +docs/AacDashboardPluginLink.md +docs/AacDataset.md +docs/AacDatasetPrimaryKey.md +docs/AacDateDataset.md +docs/AacField.md +docs/AacFilterState.md +docs/AacGeoAreaConfig.md +docs/AacGeoCollectionIdentifier.md +docs/AacLabel.md +docs/AacLabelTranslation.md +docs/AacLogicalModel.md +docs/AacMetric.md +docs/AacPermission.md +docs/AacPlugin.md +docs/AacQuery.md +docs/AacQueryFieldsValue.md +docs/AacQueryFilter.md +docs/AacReference.md +docs/AacReferenceSource.md +docs/AacSection.md +docs/AacTab.md +docs/AacVisualization.md +docs/AacWidget.md +docs/AacWidgetDescription.md +docs/AacWidgetSize.md +docs/AacWorkspaceDataFilter.md docs/AbsoluteDateFilter.md docs/AbsoluteDateFilterAbsoluteDateFilter.md docs/AbstractMeasureValueFilter.md -docs/ActionsApi.md docs/ActiveObjectIdentification.md docs/AdHocAutomation.md docs/AfmCancelTokens.md @@ -34,10 +64,17 @@ docs/AlertCondition.md docs/AlertConditionOperand.md docs/AlertDescription.md docs/AlertEvaluationRow.md +docs/AmplitudeService.md docs/AnalyticsCatalogCreatedBy.md docs/AnalyticsCatalogTags.md docs/AnalyticsCatalogUser.md docs/AnalyticsModelApi.md +docs/AnalyzeCsvRequest.md +docs/AnalyzeCsvRequestItem.md +docs/AnalyzeCsvRequestItemConfig.md +docs/AnalyzeCsvResponse.md +docs/AnalyzeCsvResponseColumn.md +docs/AnalyzeCsvResponseConfig.md docs/AnomalyDetection.md docs/AnomalyDetectionRequest.md docs/AnomalyDetectionResult.md @@ -68,6 +105,7 @@ docs/AttributePositiveFilter.md docs/AttributePositiveFilterAllOf.md docs/AttributeResultHeader.md docs/AttributesApi.md +docs/AuthUser.md docs/AutomationAlert.md docs/AutomationAlertCondition.md docs/AutomationDashboardTabularExport.md @@ -76,7 +114,6 @@ docs/AutomationImageExport.md docs/AutomationMetadata.md docs/AutomationNotification.md docs/AutomationNotificationAllOf.md -docs/AutomationOrganizationViewControllerApi.md docs/AutomationRawExport.md docs/AutomationSchedule.md docs/AutomationSlidesExport.md @@ -87,6 +124,9 @@ docs/AvailableAssignees.md docs/AvailableDriversApi.md docs/BoundedFilter.md docs/CSPDirectivesApi.md +docs/CacheRemovalInterval.md +docs/CacheUsageApi.md +docs/CacheUsageData.md docs/ChangeAnalysisParams.md docs/ChangeAnalysisParamsFiltersInner.md docs/ChangeAnalysisRequest.md @@ -109,17 +149,25 @@ docs/ColumnStatisticsRequestFrom.md docs/ColumnStatisticsResponse.md docs/ColumnWarning.md docs/Comparison.md +docs/ComparisonCondition.md +docs/ComparisonConditionComparison.md docs/ComparisonMeasureValueFilter.md docs/ComparisonMeasureValueFilterComparisonMeasureValueFilter.md docs/ComparisonWrapper.md +docs/CompoundMeasureValueFilter.md +docs/CompoundMeasureValueFilterCompoundMeasureValueFilter.md docs/ComputationApi.md docs/ContentSlideTemplate.md -docs/ContextFiltersApi.md docs/CookieSecurityConfigurationApi.md docs/CoverSlideTemplate.md docs/CreatedVisualization.md docs/CreatedVisualizationFiltersInner.md docs/CreatedVisualizations.md +docs/CsvConvertOptions.md +docs/CsvConvertOptionsColumnType.md +docs/CsvManifestBody.md +docs/CsvParseOptions.md +docs/CsvReadOptions.md docs/CustomLabel.md docs/CustomMetric.md docs/CustomOverride.md @@ -127,7 +175,6 @@ docs/DashboardAttributeFilter.md docs/DashboardAttributeFilterAttributeFilter.md docs/DashboardDateFilter.md docs/DashboardDateFilterDateFilter.md -docs/DashboardDateFilterDateFilterFrom.md docs/DashboardExportSettings.md docs/DashboardFilter.md docs/DashboardPermissions.md @@ -141,9 +188,15 @@ docs/DataColumnLocators.md docs/DataFiltersApi.md docs/DataSourceDeclarativeAPIsApi.md docs/DataSourceEntityAPIsApi.md +docs/DataSourceFilesAnalysisApi.md +docs/DataSourceFilesDeletionApi.md +docs/DataSourceFilesImportApi.md +docs/DataSourceFilesListingApi.md +docs/DataSourceFilesManifestReadApi.md docs/DataSourceParameter.md docs/DataSourcePermissionAssignment.md docs/DataSourceSchemata.md +docs/DataSourceStagingLocationApi.md docs/DataSourceTableIdentifier.md docs/DatasetGrain.md docs/DatasetReferenceIdentifier.md @@ -174,6 +227,8 @@ docs/DeclarativeColorPalette.md docs/DeclarativeColumn.md docs/DeclarativeCspDirective.md docs/DeclarativeCustomApplicationSetting.md +docs/DeclarativeCustomGeoCollection.md +docs/DeclarativeCustomGeoCollections.md docs/DeclarativeDashboardPlugin.md docs/DeclarativeDataSource.md docs/DeclarativeDataSourcePermission.md @@ -242,6 +297,7 @@ docs/DeclarativeWorkspacePermissions.md docs/DeclarativeWorkspaces.md docs/DefaultSmtp.md docs/DefaultSmtpAllOf.md +docs/DeleteFilesRequest.md docs/DependencyGraphApi.md docs/DependentEntitiesGraph.md docs/DependentEntitiesNode.md @@ -259,7 +315,6 @@ docs/Element.md docs/ElementsRequest.md docs/ElementsRequestDependsOnInner.md docs/ElementsResponse.md -docs/EntitiesApi.md docs/EntitlementApi.md docs/EntitlementsRequest.md docs/EntityIdentifier.md @@ -282,9 +337,12 @@ docs/ExportResult.md docs/ExportTemplatesApi.md docs/FactIdentifier.md docs/FactsApi.md +docs/FeatureFlagsContext.md +docs/Features.md docs/File.md docs/Filter.md docs/FilterBy.md +docs/FilterContextApi.md docs/FilterDefinition.md docs/FilterDefinitionForSimpleMeasure.md docs/FilterViewsApi.md @@ -294,10 +352,14 @@ docs/FoundObjects.md docs/Frequency.md docs/FrequencyBucket.md docs/FrequencyProperties.md +docs/GdStorageFile.md docs/GenerateLdmRequest.md docs/GenerateLogicalDataModelApi.md docs/GeoAreaConfig.md -docs/GeoCollection.md +docs/GeoCollectionIdentifier.md +docs/GeoJsonFeature.md +docs/GeoJsonFeatureCollection.md +docs/GeoJsonGeometry.md docs/GetImageExport202ResponseInner.md docs/GetQualityIssuesResponse.md docs/GrainIdentifier.md @@ -315,6 +377,13 @@ docs/IdentifierRefIdentifier.md docs/IdentityProvidersApi.md docs/ImageExportApi.md docs/ImageExportRequest.md +docs/ImportCsvRequest.md +docs/ImportCsvRequestTable.md +docs/ImportCsvRequestTableSource.md +docs/ImportCsvRequestTableSourceConfig.md +docs/ImportCsvResponse.md +docs/ImportGeoCollectionRequest.md +docs/ImportGeoCollectionResponse.md docs/InPlatform.md docs/InPlatformAllOf.md docs/InlineFilterDefinition.md @@ -323,6 +392,7 @@ docs/InlineMeasureDefinition.md docs/InlineMeasureDefinitionInline.md docs/IntroSlideTemplate.md docs/InvalidateCacheApi.md +docs/Invitation.md docs/JWKSApi.md docs/JsonApiAggregatedFactLinkage.md docs/JsonApiAggregatedFactOut.md @@ -481,6 +551,14 @@ docs/JsonApiCustomApplicationSettingPatchAttributes.md docs/JsonApiCustomApplicationSettingPatchDocument.md docs/JsonApiCustomApplicationSettingPostOptionalId.md docs/JsonApiCustomApplicationSettingPostOptionalIdDocument.md +docs/JsonApiCustomGeoCollectionIn.md +docs/JsonApiCustomGeoCollectionInDocument.md +docs/JsonApiCustomGeoCollectionOut.md +docs/JsonApiCustomGeoCollectionOutDocument.md +docs/JsonApiCustomGeoCollectionOutList.md +docs/JsonApiCustomGeoCollectionOutWithLinks.md +docs/JsonApiCustomGeoCollectionPatch.md +docs/JsonApiCustomGeoCollectionPatchDocument.md docs/JsonApiDashboardPluginIn.md docs/JsonApiDashboardPluginInAttributes.md docs/JsonApiDashboardPluginInDocument.md @@ -531,7 +609,6 @@ docs/JsonApiDatasetOutRelationshipsFacts.md docs/JsonApiDatasetOutRelationshipsWorkspaceDataFilters.md docs/JsonApiDatasetOutWithLinks.md docs/JsonApiDatasetPatch.md -docs/JsonApiDatasetPatchAttributes.md docs/JsonApiDatasetPatchDocument.md docs/JsonApiDatasetToManyLinkage.md docs/JsonApiDatasetToOneLinkage.md @@ -633,6 +710,23 @@ docs/JsonApiJwkOutList.md docs/JsonApiJwkOutWithLinks.md docs/JsonApiJwkPatch.md docs/JsonApiJwkPatchDocument.md +docs/JsonApiKnowledgeRecommendationIn.md +docs/JsonApiKnowledgeRecommendationInAttributes.md +docs/JsonApiKnowledgeRecommendationInDocument.md +docs/JsonApiKnowledgeRecommendationInRelationships.md +docs/JsonApiKnowledgeRecommendationInRelationshipsMetric.md +docs/JsonApiKnowledgeRecommendationOut.md +docs/JsonApiKnowledgeRecommendationOutAttributes.md +docs/JsonApiKnowledgeRecommendationOutDocument.md +docs/JsonApiKnowledgeRecommendationOutIncludes.md +docs/JsonApiKnowledgeRecommendationOutList.md +docs/JsonApiKnowledgeRecommendationOutRelationships.md +docs/JsonApiKnowledgeRecommendationOutWithLinks.md +docs/JsonApiKnowledgeRecommendationPatch.md +docs/JsonApiKnowledgeRecommendationPatchAttributes.md +docs/JsonApiKnowledgeRecommendationPatchDocument.md +docs/JsonApiKnowledgeRecommendationPostOptionalId.md +docs/JsonApiKnowledgeRecommendationPostOptionalIdDocument.md docs/JsonApiLabelLinkage.md docs/JsonApiLabelOut.md docs/JsonApiLabelOutAttributes.md @@ -644,7 +738,6 @@ docs/JsonApiLabelOutRelationships.md docs/JsonApiLabelOutRelationshipsAttribute.md docs/JsonApiLabelOutWithLinks.md docs/JsonApiLabelPatch.md -docs/JsonApiLabelPatchAttributes.md docs/JsonApiLabelPatchDocument.md docs/JsonApiLabelToManyLinkage.md docs/JsonApiLabelToOneLinkage.md @@ -690,6 +783,7 @@ docs/JsonApiMetricPatchDocument.md docs/JsonApiMetricPostOptionalId.md docs/JsonApiMetricPostOptionalIdDocument.md docs/JsonApiMetricToManyLinkage.md +docs/JsonApiMetricToOneLinkage.md docs/JsonApiNotificationChannelIdentifierOut.md docs/JsonApiNotificationChannelIdentifierOutAttributes.md docs/JsonApiNotificationChannelIdentifierOutDocument.md @@ -882,13 +976,17 @@ docs/LDMDeclarativeAPIsApi.md docs/LLMEndpointsApi.md docs/LabelIdentifier.md docs/LabelsApi.md -docs/LayoutApi.md docs/ListLinks.md docs/ListLinksAllOf.md +docs/LiveFeatureFlagConfiguration.md +docs/LiveFeatures.md +docs/LiveFeaturesLive.md +docs/LiveFeaturesLiveAllOf.md docs/LocalIdentifier.md docs/LocaleRequest.md docs/ManageDashboardPermissionsRequestInner.md docs/ManagePermissionsApi.md +docs/MatomoService.md docs/MeasureDefinition.md docs/MeasureExecutionResultHeader.md docs/MeasureGroupHeaders.md @@ -896,10 +994,10 @@ docs/MeasureHeader.md docs/MeasureItem.md docs/MeasureItemDefinition.md docs/MeasureResultHeader.md +docs/MeasureValueCondition.md docs/MeasureValueFilter.md docs/MemoryItemCreatedByUsers.md docs/MemoryItemUser.md -docs/MetadataSyncApi.md docs/Metric.md docs/MetricRecord.md docs/MetricValueChange.md @@ -919,15 +1017,20 @@ docs/NotificationsMeta.md docs/NotificationsMetaTotal.md docs/ObjectLinks.md docs/ObjectLinksContainer.md +docs/OpenTelemetryService.md docs/OptionsApi.md -docs/OrganizationApi.md docs/OrganizationAutomationIdentifier.md docs/OrganizationAutomationManagementBulkRequest.md -docs/OrganizationControllerApi.md +docs/OrganizationCacheSettings.md +docs/OrganizationCacheUsage.md +docs/OrganizationCurrentCacheUsage.md docs/OrganizationDeclarativeAPIsApi.md docs/OrganizationEntityAPIsApi.md -docs/OrganizationModelControllerApi.md docs/OrganizationPermissionAssignment.md +docs/OtherApi.md +docs/OutlierDetectionRequest.md +docs/OutlierDetectionResponse.md +docs/OutlierDetectionResult.md docs/Over.md docs/PageMetadata.md docs/Paging.md @@ -953,10 +1056,15 @@ docs/PopDateMeasureDefinitionOverPeriodMeasure.md docs/PopMeasureDefinition.md docs/PositiveAttributeFilter.md docs/PositiveAttributeFilterPositiveAttributeFilter.md +docs/Profile.md +docs/ProfileFeatures.md +docs/ProfileLinks.md docs/QualityIssue.md docs/QualityIssueObject.md docs/QualityIssuesCalculationStatusResponse.md docs/Range.md +docs/RangeCondition.md +docs/RangeConditionRange.md docs/RangeMeasureValueFilter.md docs/RangeMeasureValueFilterRangeMeasureValueFilter.md docs/RangeWrapper.md @@ -968,6 +1076,11 @@ docs/RawCustomOverride.md docs/RawExportApi.md docs/RawExportAutomationRequest.md docs/RawExportRequest.md +docs/ReadCsvFileManifestsRequest.md +docs/ReadCsvFileManifestsRequestItem.md +docs/ReadCsvFileManifestsResponse.md +docs/Reasoning.md +docs/ReasoningStep.md docs/ReferenceIdentifier.md docs/ReferenceSourceColumn.md docs/Relative.md @@ -1020,6 +1133,9 @@ docs/SortKeyValueValue.md docs/SqlColumn.md docs/SqlQuery.md docs/SqlQueryAllOf.md +docs/StaticFeatures.md +docs/StaticFeaturesStatic.md +docs/StaticFeaturesStaticAllOf.md docs/Suggestion.md docs/SwitchIdentityProviderRequest.md docs/Table.md @@ -1028,6 +1144,9 @@ docs/TableOverride.md docs/TableWarning.md docs/TabularExportApi.md docs/TabularExportRequest.md +docs/TelemetryConfig.md +docs/TelemetryContext.md +docs/TelemetryServices.md docs/TestConnectionApi.md docs/TestDefinitionRequest.md docs/TestDestinationRequest.md @@ -1036,6 +1155,7 @@ docs/TestNotificationAllOf.md docs/TestQueryDuration.md docs/TestRequest.md docs/TestResponse.md +docs/Thought.md docs/Total.md docs/TotalDimension.md docs/TotalExecutionResultHeader.md @@ -1043,10 +1163,12 @@ docs/TotalResultHeader.md docs/TranslationsApi.md docs/TriggerAutomationRequest.md docs/TriggerQualityIssuesCalculationResponse.md +docs/UploadFileResponse.md +docs/UploadGeoCollectionFileResponse.md docs/UsageApi.md docs/UserAssignee.md +docs/UserAuthorizationApi.md docs/UserContext.md -docs/UserDataFiltersApi.md docs/UserGroupAssignee.md docs/UserGroupIdentifier.md docs/UserGroupPermission.md @@ -1063,7 +1185,6 @@ docs/UserManagementUserGroupsItem.md docs/UserManagementUsers.md docs/UserManagementUsersItem.md docs/UserManagementWorkspacePermissionAssignment.md -docs/UserModelControllerApi.md docs/UserPermission.md docs/UserSettingsApi.md docs/UsersDeclarativeAPIsApi.md @@ -1086,9 +1207,11 @@ docs/WebhookRecipient.md docs/WidgetSlidesTemplate.md docs/WorkspaceAutomationIdentifier.md docs/WorkspaceAutomationManagementBulkRequest.md +docs/WorkspaceCacheSettings.md +docs/WorkspaceCacheUsage.md +docs/WorkspaceCurrentCacheUsage.md docs/WorkspaceDataSource.md docs/WorkspaceIdentifier.md -docs/WorkspaceObjectControllerApi.md docs/WorkspacePermissionAssignment.md docs/WorkspaceUser.md docs/WorkspaceUserGroup.md @@ -1100,31 +1223,34 @@ docs/WorkspacesSettingsApi.md docs/Xliff.md gooddata_api_client/__init__.py gooddata_api_client/api/__init__.py -gooddata_api_client/api/actions_api.py -gooddata_api_client/api/ai_api.py gooddata_api_client/api/analytics_model_api.py gooddata_api_client/api/api_tokens_api.py gooddata_api_client/api/appearance_api.py gooddata_api_client/api/attribute_hierarchies_api.py gooddata_api_client/api/attributes_api.py -gooddata_api_client/api/automation_organization_view_controller_api.py gooddata_api_client/api/automations_api.py gooddata_api_client/api/available_drivers_api.py +gooddata_api_client/api/cache_usage_api.py gooddata_api_client/api/computation_api.py -gooddata_api_client/api/context_filters_api.py gooddata_api_client/api/cookie_security_configuration_api.py gooddata_api_client/api/csp_directives_api.py gooddata_api_client/api/dashboards_api.py gooddata_api_client/api/data_filters_api.py gooddata_api_client/api/data_source_declarative_apis_api.py gooddata_api_client/api/data_source_entity_apis_api.py +gooddata_api_client/api/data_source_files_analysis_api.py +gooddata_api_client/api/data_source_files_deletion_api.py +gooddata_api_client/api/data_source_files_import_api.py +gooddata_api_client/api/data_source_files_listing_api.py +gooddata_api_client/api/data_source_files_manifest_read_api.py +gooddata_api_client/api/data_source_staging_location_api.py gooddata_api_client/api/datasets_api.py gooddata_api_client/api/dependency_graph_api.py -gooddata_api_client/api/entities_api.py gooddata_api_client/api/entitlement_api.py gooddata_api_client/api/export_definitions_api.py gooddata_api_client/api/export_templates_api.py gooddata_api_client/api/facts_api.py +gooddata_api_client/api/filter_context_api.py gooddata_api_client/api/filter_views_api.py gooddata_api_client/api/generate_logical_data_model_api.py gooddata_api_client/api/hierarchy_api.py @@ -1133,19 +1259,15 @@ gooddata_api_client/api/image_export_api.py gooddata_api_client/api/invalidate_cache_api.py gooddata_api_client/api/jwks_api.py gooddata_api_client/api/labels_api.py -gooddata_api_client/api/layout_api.py gooddata_api_client/api/ldm_declarative_apis_api.py gooddata_api_client/api/llm_endpoints_api.py gooddata_api_client/api/manage_permissions_api.py -gooddata_api_client/api/metadata_sync_api.py gooddata_api_client/api/metrics_api.py gooddata_api_client/api/notification_channels_api.py gooddata_api_client/api/options_api.py -gooddata_api_client/api/organization_api.py -gooddata_api_client/api/organization_controller_api.py gooddata_api_client/api/organization_declarative_apis_api.py gooddata_api_client/api/organization_entity_apis_api.py -gooddata_api_client/api/organization_model_controller_api.py +gooddata_api_client/api/other_api.py gooddata_api_client/api/permissions_api.py gooddata_api_client/api/plugins_api.py gooddata_api_client/api/raw_export_api.py @@ -1157,18 +1279,16 @@ gooddata_api_client/api/tabular_export_api.py gooddata_api_client/api/test_connection_api.py gooddata_api_client/api/translations_api.py gooddata_api_client/api/usage_api.py -gooddata_api_client/api/user_data_filters_api.py +gooddata_api_client/api/user_authorization_api.py gooddata_api_client/api/user_groups_declarative_apis_api.py gooddata_api_client/api/user_groups_entity_apis_api.py gooddata_api_client/api/user_identifiers_api.py gooddata_api_client/api/user_management_api.py -gooddata_api_client/api/user_model_controller_api.py gooddata_api_client/api/user_settings_api.py gooddata_api_client/api/users_declarative_apis_api.py gooddata_api_client/api/users_entity_apis_api.py gooddata_api_client/api/visual_export_api.py gooddata_api_client/api/visualization_object_api.py -gooddata_api_client/api/workspace_object_controller_api.py gooddata_api_client/api/workspaces_declarative_apis_api.py gooddata_api_client/api/workspaces_entity_apis_api.py gooddata_api_client/api/workspaces_settings_api.py @@ -1177,6 +1297,38 @@ gooddata_api_client/apis/__init__.py gooddata_api_client/configuration.py gooddata_api_client/exceptions.py gooddata_api_client/model/__init__.py +gooddata_api_client/model/aac_analytics_model.py +gooddata_api_client/model/aac_attribute_hierarchy.py +gooddata_api_client/model/aac_dashboard.py +gooddata_api_client/model/aac_dashboard_filter.py +gooddata_api_client/model/aac_dashboard_filter_from.py +gooddata_api_client/model/aac_dashboard_permissions.py +gooddata_api_client/model/aac_dashboard_plugin_link.py +gooddata_api_client/model/aac_dataset.py +gooddata_api_client/model/aac_dataset_primary_key.py +gooddata_api_client/model/aac_date_dataset.py +gooddata_api_client/model/aac_field.py +gooddata_api_client/model/aac_filter_state.py +gooddata_api_client/model/aac_geo_area_config.py +gooddata_api_client/model/aac_geo_collection_identifier.py +gooddata_api_client/model/aac_label.py +gooddata_api_client/model/aac_label_translation.py +gooddata_api_client/model/aac_logical_model.py +gooddata_api_client/model/aac_metric.py +gooddata_api_client/model/aac_permission.py +gooddata_api_client/model/aac_plugin.py +gooddata_api_client/model/aac_query.py +gooddata_api_client/model/aac_query_fields_value.py +gooddata_api_client/model/aac_query_filter.py +gooddata_api_client/model/aac_reference.py +gooddata_api_client/model/aac_reference_source.py +gooddata_api_client/model/aac_section.py +gooddata_api_client/model/aac_tab.py +gooddata_api_client/model/aac_visualization.py +gooddata_api_client/model/aac_widget.py +gooddata_api_client/model/aac_widget_description.py +gooddata_api_client/model/aac_widget_size.py +gooddata_api_client/model/aac_workspace_data_filter.py gooddata_api_client/model/absolute_date_filter.py gooddata_api_client/model/absolute_date_filter_absolute_date_filter.py gooddata_api_client/model/abstract_measure_value_filter.py @@ -1208,9 +1360,16 @@ gooddata_api_client/model/alert_condition.py gooddata_api_client/model/alert_condition_operand.py gooddata_api_client/model/alert_description.py gooddata_api_client/model/alert_evaluation_row.py +gooddata_api_client/model/amplitude_service.py gooddata_api_client/model/analytics_catalog_created_by.py gooddata_api_client/model/analytics_catalog_tags.py gooddata_api_client/model/analytics_catalog_user.py +gooddata_api_client/model/analyze_csv_request.py +gooddata_api_client/model/analyze_csv_request_item.py +gooddata_api_client/model/analyze_csv_request_item_config.py +gooddata_api_client/model/analyze_csv_response.py +gooddata_api_client/model/analyze_csv_response_column.py +gooddata_api_client/model/analyze_csv_response_config.py gooddata_api_client/model/anomaly_detection.py gooddata_api_client/model/anomaly_detection_request.py gooddata_api_client/model/anomaly_detection_result.py @@ -1238,6 +1397,7 @@ gooddata_api_client/model/attribute_negative_filter_all_of.py gooddata_api_client/model/attribute_positive_filter.py gooddata_api_client/model/attribute_positive_filter_all_of.py gooddata_api_client/model/attribute_result_header.py +gooddata_api_client/model/auth_user.py gooddata_api_client/model/automation_alert.py gooddata_api_client/model/automation_alert_condition.py gooddata_api_client/model/automation_dashboard_tabular_export.py @@ -1253,6 +1413,8 @@ gooddata_api_client/model/automation_tabular_export.py gooddata_api_client/model/automation_visual_export.py gooddata_api_client/model/available_assignees.py gooddata_api_client/model/bounded_filter.py +gooddata_api_client/model/cache_removal_interval.py +gooddata_api_client/model/cache_usage_data.py gooddata_api_client/model/change_analysis_params.py gooddata_api_client/model/change_analysis_params_filters_inner.py gooddata_api_client/model/change_analysis_request.py @@ -1275,14 +1437,23 @@ gooddata_api_client/model/column_statistics_request_from.py gooddata_api_client/model/column_statistics_response.py gooddata_api_client/model/column_warning.py gooddata_api_client/model/comparison.py +gooddata_api_client/model/comparison_condition.py +gooddata_api_client/model/comparison_condition_comparison.py gooddata_api_client/model/comparison_measure_value_filter.py gooddata_api_client/model/comparison_measure_value_filter_comparison_measure_value_filter.py gooddata_api_client/model/comparison_wrapper.py +gooddata_api_client/model/compound_measure_value_filter.py +gooddata_api_client/model/compound_measure_value_filter_compound_measure_value_filter.py gooddata_api_client/model/content_slide_template.py gooddata_api_client/model/cover_slide_template.py gooddata_api_client/model/created_visualization.py gooddata_api_client/model/created_visualization_filters_inner.py gooddata_api_client/model/created_visualizations.py +gooddata_api_client/model/csv_convert_options.py +gooddata_api_client/model/csv_convert_options_column_type.py +gooddata_api_client/model/csv_manifest_body.py +gooddata_api_client/model/csv_parse_options.py +gooddata_api_client/model/csv_read_options.py gooddata_api_client/model/custom_label.py gooddata_api_client/model/custom_metric.py gooddata_api_client/model/custom_override.py @@ -1290,7 +1461,6 @@ gooddata_api_client/model/dashboard_attribute_filter.py gooddata_api_client/model/dashboard_attribute_filter_attribute_filter.py gooddata_api_client/model/dashboard_date_filter.py gooddata_api_client/model/dashboard_date_filter_date_filter.py -gooddata_api_client/model/dashboard_date_filter_date_filter_from.py gooddata_api_client/model/dashboard_export_settings.py gooddata_api_client/model/dashboard_filter.py gooddata_api_client/model/dashboard_permissions.py @@ -1332,6 +1502,8 @@ gooddata_api_client/model/declarative_color_palette.py gooddata_api_client/model/declarative_column.py gooddata_api_client/model/declarative_csp_directive.py gooddata_api_client/model/declarative_custom_application_setting.py +gooddata_api_client/model/declarative_custom_geo_collection.py +gooddata_api_client/model/declarative_custom_geo_collections.py gooddata_api_client/model/declarative_dashboard_plugin.py gooddata_api_client/model/declarative_data_source.py gooddata_api_client/model/declarative_data_source_permission.py @@ -1400,6 +1572,7 @@ gooddata_api_client/model/declarative_workspace_permissions.py gooddata_api_client/model/declarative_workspaces.py gooddata_api_client/model/default_smtp.py gooddata_api_client/model/default_smtp_all_of.py +gooddata_api_client/model/delete_files_request.py gooddata_api_client/model/dependent_entities_graph.py gooddata_api_client/model/dependent_entities_node.py gooddata_api_client/model/dependent_entities_request.py @@ -1434,6 +1607,8 @@ gooddata_api_client/model/export_request.py gooddata_api_client/model/export_response.py gooddata_api_client/model/export_result.py gooddata_api_client/model/fact_identifier.py +gooddata_api_client/model/feature_flags_context.py +gooddata_api_client/model/features.py gooddata_api_client/model/file.py gooddata_api_client/model/filter.py gooddata_api_client/model/filter_by.py @@ -1445,9 +1620,13 @@ gooddata_api_client/model/found_objects.py gooddata_api_client/model/frequency.py gooddata_api_client/model/frequency_bucket.py gooddata_api_client/model/frequency_properties.py +gooddata_api_client/model/gd_storage_file.py gooddata_api_client/model/generate_ldm_request.py gooddata_api_client/model/geo_area_config.py -gooddata_api_client/model/geo_collection.py +gooddata_api_client/model/geo_collection_identifier.py +gooddata_api_client/model/geo_json_feature.py +gooddata_api_client/model/geo_json_feature_collection.py +gooddata_api_client/model/geo_json_geometry.py gooddata_api_client/model/get_image_export202_response_inner.py gooddata_api_client/model/get_quality_issues_response.py gooddata_api_client/model/grain_identifier.py @@ -1462,6 +1641,13 @@ gooddata_api_client/model/identifier_duplications.py gooddata_api_client/model/identifier_ref.py gooddata_api_client/model/identifier_ref_identifier.py gooddata_api_client/model/image_export_request.py +gooddata_api_client/model/import_csv_request.py +gooddata_api_client/model/import_csv_request_table.py +gooddata_api_client/model/import_csv_request_table_source.py +gooddata_api_client/model/import_csv_request_table_source_config.py +gooddata_api_client/model/import_csv_response.py +gooddata_api_client/model/import_geo_collection_request.py +gooddata_api_client/model/import_geo_collection_response.py gooddata_api_client/model/in_platform.py gooddata_api_client/model/in_platform_all_of.py gooddata_api_client/model/inline_filter_definition.py @@ -1469,6 +1655,7 @@ gooddata_api_client/model/inline_filter_definition_inline.py gooddata_api_client/model/inline_measure_definition.py gooddata_api_client/model/inline_measure_definition_inline.py gooddata_api_client/model/intro_slide_template.py +gooddata_api_client/model/invitation.py gooddata_api_client/model/json_api_aggregated_fact_linkage.py gooddata_api_client/model/json_api_aggregated_fact_out.py gooddata_api_client/model/json_api_aggregated_fact_out_attributes.py @@ -1626,6 +1813,14 @@ gooddata_api_client/model/json_api_custom_application_setting_patch_attributes.p gooddata_api_client/model/json_api_custom_application_setting_patch_document.py gooddata_api_client/model/json_api_custom_application_setting_post_optional_id.py gooddata_api_client/model/json_api_custom_application_setting_post_optional_id_document.py +gooddata_api_client/model/json_api_custom_geo_collection_in.py +gooddata_api_client/model/json_api_custom_geo_collection_in_document.py +gooddata_api_client/model/json_api_custom_geo_collection_out.py +gooddata_api_client/model/json_api_custom_geo_collection_out_document.py +gooddata_api_client/model/json_api_custom_geo_collection_out_list.py +gooddata_api_client/model/json_api_custom_geo_collection_out_with_links.py +gooddata_api_client/model/json_api_custom_geo_collection_patch.py +gooddata_api_client/model/json_api_custom_geo_collection_patch_document.py gooddata_api_client/model/json_api_dashboard_plugin_in.py gooddata_api_client/model/json_api_dashboard_plugin_in_attributes.py gooddata_api_client/model/json_api_dashboard_plugin_in_document.py @@ -1676,7 +1871,6 @@ gooddata_api_client/model/json_api_dataset_out_relationships_facts.py gooddata_api_client/model/json_api_dataset_out_relationships_workspace_data_filters.py gooddata_api_client/model/json_api_dataset_out_with_links.py gooddata_api_client/model/json_api_dataset_patch.py -gooddata_api_client/model/json_api_dataset_patch_attributes.py gooddata_api_client/model/json_api_dataset_patch_document.py gooddata_api_client/model/json_api_dataset_to_many_linkage.py gooddata_api_client/model/json_api_dataset_to_one_linkage.py @@ -1778,6 +1972,23 @@ gooddata_api_client/model/json_api_jwk_out_list.py gooddata_api_client/model/json_api_jwk_out_with_links.py gooddata_api_client/model/json_api_jwk_patch.py gooddata_api_client/model/json_api_jwk_patch_document.py +gooddata_api_client/model/json_api_knowledge_recommendation_in.py +gooddata_api_client/model/json_api_knowledge_recommendation_in_attributes.py +gooddata_api_client/model/json_api_knowledge_recommendation_in_document.py +gooddata_api_client/model/json_api_knowledge_recommendation_in_relationships.py +gooddata_api_client/model/json_api_knowledge_recommendation_in_relationships_metric.py +gooddata_api_client/model/json_api_knowledge_recommendation_out.py +gooddata_api_client/model/json_api_knowledge_recommendation_out_attributes.py +gooddata_api_client/model/json_api_knowledge_recommendation_out_document.py +gooddata_api_client/model/json_api_knowledge_recommendation_out_includes.py +gooddata_api_client/model/json_api_knowledge_recommendation_out_list.py +gooddata_api_client/model/json_api_knowledge_recommendation_out_relationships.py +gooddata_api_client/model/json_api_knowledge_recommendation_out_with_links.py +gooddata_api_client/model/json_api_knowledge_recommendation_patch.py +gooddata_api_client/model/json_api_knowledge_recommendation_patch_attributes.py +gooddata_api_client/model/json_api_knowledge_recommendation_patch_document.py +gooddata_api_client/model/json_api_knowledge_recommendation_post_optional_id.py +gooddata_api_client/model/json_api_knowledge_recommendation_post_optional_id_document.py gooddata_api_client/model/json_api_label_linkage.py gooddata_api_client/model/json_api_label_out.py gooddata_api_client/model/json_api_label_out_attributes.py @@ -1789,7 +2000,6 @@ gooddata_api_client/model/json_api_label_out_relationships.py gooddata_api_client/model/json_api_label_out_relationships_attribute.py gooddata_api_client/model/json_api_label_out_with_links.py gooddata_api_client/model/json_api_label_patch.py -gooddata_api_client/model/json_api_label_patch_attributes.py gooddata_api_client/model/json_api_label_patch_document.py gooddata_api_client/model/json_api_label_to_many_linkage.py gooddata_api_client/model/json_api_label_to_one_linkage.py @@ -1835,6 +2045,7 @@ gooddata_api_client/model/json_api_metric_patch_document.py gooddata_api_client/model/json_api_metric_post_optional_id.py gooddata_api_client/model/json_api_metric_post_optional_id_document.py gooddata_api_client/model/json_api_metric_to_many_linkage.py +gooddata_api_client/model/json_api_metric_to_one_linkage.py gooddata_api_client/model/json_api_notification_channel_identifier_out.py gooddata_api_client/model/json_api_notification_channel_identifier_out_attributes.py gooddata_api_client/model/json_api_notification_channel_identifier_out_document.py @@ -2026,9 +2237,14 @@ gooddata_api_client/model/key_drivers_result.py gooddata_api_client/model/label_identifier.py gooddata_api_client/model/list_links.py gooddata_api_client/model/list_links_all_of.py +gooddata_api_client/model/live_feature_flag_configuration.py +gooddata_api_client/model/live_features.py +gooddata_api_client/model/live_features_live.py +gooddata_api_client/model/live_features_live_all_of.py gooddata_api_client/model/local_identifier.py gooddata_api_client/model/locale_request.py gooddata_api_client/model/manage_dashboard_permissions_request_inner.py +gooddata_api_client/model/matomo_service.py gooddata_api_client/model/measure_definition.py gooddata_api_client/model/measure_execution_result_header.py gooddata_api_client/model/measure_group_headers.py @@ -2036,6 +2252,7 @@ gooddata_api_client/model/measure_header.py gooddata_api_client/model/measure_item.py gooddata_api_client/model/measure_item_definition.py gooddata_api_client/model/measure_result_header.py +gooddata_api_client/model/measure_value_condition.py gooddata_api_client/model/measure_value_filter.py gooddata_api_client/model/memory_item_created_by_users.py gooddata_api_client/model/memory_item_user.py @@ -2056,9 +2273,16 @@ gooddata_api_client/model/notifications_meta.py gooddata_api_client/model/notifications_meta_total.py gooddata_api_client/model/object_links.py gooddata_api_client/model/object_links_container.py +gooddata_api_client/model/open_telemetry_service.py gooddata_api_client/model/organization_automation_identifier.py gooddata_api_client/model/organization_automation_management_bulk_request.py +gooddata_api_client/model/organization_cache_settings.py +gooddata_api_client/model/organization_cache_usage.py +gooddata_api_client/model/organization_current_cache_usage.py gooddata_api_client/model/organization_permission_assignment.py +gooddata_api_client/model/outlier_detection_request.py +gooddata_api_client/model/outlier_detection_response.py +gooddata_api_client/model/outlier_detection_result.py gooddata_api_client/model/over.py gooddata_api_client/model/page_metadata.py gooddata_api_client/model/paging.py @@ -2082,10 +2306,15 @@ gooddata_api_client/model/pop_date_measure_definition_over_period_measure.py gooddata_api_client/model/pop_measure_definition.py gooddata_api_client/model/positive_attribute_filter.py gooddata_api_client/model/positive_attribute_filter_positive_attribute_filter.py +gooddata_api_client/model/profile.py +gooddata_api_client/model/profile_features.py +gooddata_api_client/model/profile_links.py gooddata_api_client/model/quality_issue.py gooddata_api_client/model/quality_issue_object.py gooddata_api_client/model/quality_issues_calculation_status_response.py gooddata_api_client/model/range.py +gooddata_api_client/model/range_condition.py +gooddata_api_client/model/range_condition_range.py gooddata_api_client/model/range_measure_value_filter.py gooddata_api_client/model/range_measure_value_filter_range_measure_value_filter.py gooddata_api_client/model/range_wrapper.py @@ -2096,6 +2325,11 @@ gooddata_api_client/model/raw_custom_metric.py gooddata_api_client/model/raw_custom_override.py gooddata_api_client/model/raw_export_automation_request.py gooddata_api_client/model/raw_export_request.py +gooddata_api_client/model/read_csv_file_manifests_request.py +gooddata_api_client/model/read_csv_file_manifests_request_item.py +gooddata_api_client/model/read_csv_file_manifests_response.py +gooddata_api_client/model/reasoning.py +gooddata_api_client/model/reasoning_step.py gooddata_api_client/model/reference_identifier.py gooddata_api_client/model/reference_source_column.py gooddata_api_client/model/relative.py @@ -2144,6 +2378,9 @@ gooddata_api_client/model/sort_key_value_value.py gooddata_api_client/model/sql_column.py gooddata_api_client/model/sql_query.py gooddata_api_client/model/sql_query_all_of.py +gooddata_api_client/model/static_features.py +gooddata_api_client/model/static_features_static.py +gooddata_api_client/model/static_features_static_all_of.py gooddata_api_client/model/suggestion.py gooddata_api_client/model/switch_identity_provider_request.py gooddata_api_client/model/table.py @@ -2151,6 +2388,9 @@ gooddata_api_client/model/table_all_of.py gooddata_api_client/model/table_override.py gooddata_api_client/model/table_warning.py gooddata_api_client/model/tabular_export_request.py +gooddata_api_client/model/telemetry_config.py +gooddata_api_client/model/telemetry_context.py +gooddata_api_client/model/telemetry_services.py gooddata_api_client/model/test_definition_request.py gooddata_api_client/model/test_destination_request.py gooddata_api_client/model/test_notification.py @@ -2158,12 +2398,15 @@ gooddata_api_client/model/test_notification_all_of.py gooddata_api_client/model/test_query_duration.py gooddata_api_client/model/test_request.py gooddata_api_client/model/test_response.py +gooddata_api_client/model/thought.py gooddata_api_client/model/total.py gooddata_api_client/model/total_dimension.py gooddata_api_client/model/total_execution_result_header.py gooddata_api_client/model/total_result_header.py gooddata_api_client/model/trigger_automation_request.py gooddata_api_client/model/trigger_quality_issues_calculation_response.py +gooddata_api_client/model/upload_file_response.py +gooddata_api_client/model/upload_geo_collection_file_response.py gooddata_api_client/model/user_assignee.py gooddata_api_client/model/user_context.py gooddata_api_client/model/user_group_assignee.py @@ -2195,6 +2438,9 @@ gooddata_api_client/model/webhook_recipient.py gooddata_api_client/model/widget_slides_template.py gooddata_api_client/model/workspace_automation_identifier.py gooddata_api_client/model/workspace_automation_management_bulk_request.py +gooddata_api_client/model/workspace_cache_settings.py +gooddata_api_client/model/workspace_cache_usage.py +gooddata_api_client/model/workspace_current_cache_usage.py gooddata_api_client/model/workspace_data_source.py gooddata_api_client/model/workspace_identifier.py gooddata_api_client/model/workspace_permission_assignment.py diff --git a/gooddata-api-client/README.md b/gooddata-api-client/README.md index ea6296ca2..842a670da 100644 --- a/gooddata-api-client/README.md +++ b/gooddata-api-client/README.md @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/opena This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: v0 +- API version: 90a5773 - Package version: 1.57.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen @@ -49,7 +49,10 @@ Please follow the [installation procedure](#installation--usage) and then run th import time import gooddata_api_client from pprint import pprint -from gooddata_api_client.api import ai_api +from gooddata_api_client.api import api_tokens_api +from gooddata_api_client.model.json_api_api_token_in_document import JsonApiApiTokenInDocument +from gooddata_api_client.model.json_api_api_token_out_document import JsonApiApiTokenOutDocument +from gooddata_api_client.model.json_api_api_token_out_list import JsonApiApiTokenOutList # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. configuration = gooddata_api_client.Configuration( @@ -61,14 +64,21 @@ configuration = gooddata_api_client.Configuration( # Enter a context with an instance of the API client with gooddata_api_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = ai_api.AIApi(api_client) - workspace_id = "workspaceId_example" # str | + api_instance = api_tokens_api.APITokensApi(api_client) + user_id = "userId_example" # str | + json_api_api_token_in_document = JsonApiApiTokenInDocument( + data=JsonApiApiTokenIn( + id="id1", + type="apiToken", + ), + ) # JsonApiApiTokenInDocument | try: - # (BETA) Sync Metadata to other services - api_instance.metadata_sync(workspace_id) + # Post a new API token for the user + api_response = api_instance.create_entity_api_tokens(user_id, json_api_api_token_in_document) + pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling AIApi->metadata_sync: %s\n" % e) + print("Exception when calling APITokensApi->create_entity_api_tokens: %s\n" % e) ``` ## Documentation for API Endpoints @@ -77,8 +87,6 @@ All URIs are relative to *http://localhost* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*AIApi* | [**metadata_sync**](docs/AIApi.md#metadata_sync) | **POST** /api/v1/actions/workspaces/{workspaceId}/metadataSync | (BETA) Sync Metadata to other services -*AIApi* | [**metadata_sync_organization**](docs/AIApi.md#metadata_sync_organization) | **POST** /api/v1/actions/organization/metadataSync | (BETA) Sync organization scope Metadata to other services *APITokensApi* | [**create_entity_api_tokens**](docs/APITokensApi.md#create_entity_api_tokens) | **POST** /api/v1/entities/users/{userId}/apiTokens | Post a new API token for the user *APITokensApi* | [**delete_entity_api_tokens**](docs/APITokensApi.md#delete_entity_api_tokens) | **DELETE** /api/v1/entities/users/{userId}/apiTokens/{id} | Delete an API Token for a user *APITokensApi* | [**get_all_entities_api_tokens**](docs/APITokensApi.md#get_all_entities_api_tokens) | **GET** /api/v1/entities/users/{userId}/apiTokens | List all api tokens for a user @@ -102,10 +110,12 @@ Class | Method | HTTP request | Description *AttributeHierarchiesApi* | [**get_all_entities_attribute_hierarchies**](docs/AttributeHierarchiesApi.md#get_all_entities_attribute_hierarchies) | **GET** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies | Get all Attribute Hierarchies *AttributeHierarchiesApi* | [**get_entity_attribute_hierarchies**](docs/AttributeHierarchiesApi.md#get_entity_attribute_hierarchies) | **GET** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Get an Attribute Hierarchy *AttributeHierarchiesApi* | [**patch_entity_attribute_hierarchies**](docs/AttributeHierarchiesApi.md#patch_entity_attribute_hierarchies) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Patch an Attribute Hierarchy +*AttributeHierarchiesApi* | [**search_entities_attribute_hierarchies**](docs/AttributeHierarchiesApi.md#search_entities_attribute_hierarchies) | **POST** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/search | Search request for AttributeHierarchy *AttributeHierarchiesApi* | [**update_entity_attribute_hierarchies**](docs/AttributeHierarchiesApi.md#update_entity_attribute_hierarchies) | **PUT** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Put an Attribute Hierarchy *AttributesApi* | [**get_all_entities_attributes**](docs/AttributesApi.md#get_all_entities_attributes) | **GET** /api/v1/entities/workspaces/{workspaceId}/attributes | Get all Attributes *AttributesApi* | [**get_entity_attributes**](docs/AttributesApi.md#get_entity_attributes) | **GET** /api/v1/entities/workspaces/{workspaceId}/attributes/{objectId} | Get an Attribute *AttributesApi* | [**patch_entity_attributes**](docs/AttributesApi.md#patch_entity_attributes) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/attributes/{objectId} | Patch an Attribute (beta) +*AttributesApi* | [**search_entities_attributes**](docs/AttributesApi.md#search_entities_attributes) | **POST** /api/v1/entities/workspaces/{workspaceId}/attributes/search | Search request for Attribute *AutomationsApi* | [**create_entity_automations**](docs/AutomationsApi.md#create_entity_automations) | **POST** /api/v1/entities/workspaces/{workspaceId}/automations | Post Automations *AutomationsApi* | [**delete_entity_automations**](docs/AutomationsApi.md#delete_entity_automations) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/automations/{objectId} | Delete an Automation *AutomationsApi* | [**delete_organization_automations**](docs/AutomationsApi.md#delete_organization_automations) | **POST** /api/v1/actions/organization/automations/delete | Delete selected automations across all workspaces @@ -117,6 +127,8 @@ Class | Method | HTTP request | Description *AutomationsApi* | [**patch_entity_automations**](docs/AutomationsApi.md#patch_entity_automations) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/automations/{objectId} | Patch an Automation *AutomationsApi* | [**pause_organization_automations**](docs/AutomationsApi.md#pause_organization_automations) | **POST** /api/v1/actions/organization/automations/pause | Pause selected automations across all workspaces *AutomationsApi* | [**pause_workspace_automations**](docs/AutomationsApi.md#pause_workspace_automations) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/pause | Pause selected automations in the workspace +*AutomationsApi* | [**search_entities_automation_results**](docs/AutomationsApi.md#search_entities_automation_results) | **POST** /api/v1/entities/workspaces/{workspaceId}/automationResults/search | Search request for AutomationResult +*AutomationsApi* | [**search_entities_automations**](docs/AutomationsApi.md#search_entities_automations) | **POST** /api/v1/entities/workspaces/{workspaceId}/automations/search | Search request for Automation *AutomationsApi* | [**set_automations**](docs/AutomationsApi.md#set_automations) | **PUT** /api/v1/layout/workspaces/{workspaceId}/automations | Set automations *AutomationsApi* | [**trigger_automation**](docs/AutomationsApi.md#trigger_automation) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/trigger | Trigger automation. *AutomationsApi* | [**trigger_existing_automation**](docs/AutomationsApi.md#trigger_existing_automation) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/{automationId}/trigger | Trigger existing automation. @@ -135,6 +147,8 @@ Class | Method | HTTP request | Description *CSPDirectivesApi* | [**get_entity_csp_directives**](docs/CSPDirectivesApi.md#get_entity_csp_directives) | **GET** /api/v1/entities/cspDirectives/{id} | Get CSP Directives *CSPDirectivesApi* | [**patch_entity_csp_directives**](docs/CSPDirectivesApi.md#patch_entity_csp_directives) | **PATCH** /api/v1/entities/cspDirectives/{id} | Patch CSP Directives *CSPDirectivesApi* | [**update_entity_csp_directives**](docs/CSPDirectivesApi.md#update_entity_csp_directives) | **PUT** /api/v1/entities/cspDirectives/{id} | Put CSP Directives +*CacheUsageApi* | [**collect_cache_usage**](docs/CacheUsageApi.md#collect_cache_usage) | **GET** /api/v1/actions/collectCacheUsage | Collect data about the current cache usage +*ComputationApi* | [**cancel_executions**](docs/ComputationApi.md#cancel_executions) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/cancel | Applies all the given cancel tokens. *ComputationApi* | [**change_analysis**](docs/ComputationApi.md#change_analysis) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/computeChangeAnalysis | Compute change analysis *ComputationApi* | [**change_analysis_result**](docs/ComputationApi.md#change_analysis_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/computeChangeAnalysis/result/{resultId} | Get change analysis result *ComputationApi* | [**column_statistics**](docs/ComputationApi.md#column_statistics) | **POST** /api/v1/actions/dataSources/{dataSourceId}/computeColumnStatistics | (EXPERIMENTAL) Compute column statistics @@ -145,14 +159,10 @@ Class | Method | HTTP request | Description *ComputationApi* | [**explain_afm**](docs/ComputationApi.md#explain_afm) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/explain | AFM explain resource. *ComputationApi* | [**key_driver_analysis**](docs/ComputationApi.md#key_driver_analysis) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/computeKeyDrivers | (EXPERIMENTAL) Compute key driver analysis *ComputationApi* | [**key_driver_analysis_result**](docs/ComputationApi.md#key_driver_analysis_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/computeKeyDrivers/result/{resultId} | (EXPERIMENTAL) Get key driver analysis result +*ComputationApi* | [**outlier_detection**](docs/ComputationApi.md#outlier_detection) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/detectOutliers | (BETA) Outlier Detection +*ComputationApi* | [**outlier_detection_result**](docs/ComputationApi.md#outlier_detection_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/detectOutliers/result/{resultId} | (BETA) Outlier Detection Result *ComputationApi* | [**retrieve_execution_metadata**](docs/ComputationApi.md#retrieve_execution_metadata) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute/result/{resultId}/metadata | Get a single execution result's metadata. *ComputationApi* | [**retrieve_result**](docs/ComputationApi.md#retrieve_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute/result/{resultId} | Get a single execution result -*ContextFiltersApi* | [**create_entity_filter_contexts**](docs/ContextFiltersApi.md#create_entity_filter_contexts) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Post Context Filters -*ContextFiltersApi* | [**delete_entity_filter_contexts**](docs/ContextFiltersApi.md#delete_entity_filter_contexts) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Delete a Context Filter -*ContextFiltersApi* | [**get_all_entities_filter_contexts**](docs/ContextFiltersApi.md#get_all_entities_filter_contexts) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Get all Context Filters -*ContextFiltersApi* | [**get_entity_filter_contexts**](docs/ContextFiltersApi.md#get_entity_filter_contexts) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Get a Context Filter -*ContextFiltersApi* | [**patch_entity_filter_contexts**](docs/ContextFiltersApi.md#patch_entity_filter_contexts) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Patch a Context Filter -*ContextFiltersApi* | [**update_entity_filter_contexts**](docs/ContextFiltersApi.md#update_entity_filter_contexts) | **PUT** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Put a Context Filter *CookieSecurityConfigurationApi* | [**get_entity_cookie_security_configurations**](docs/CookieSecurityConfigurationApi.md#get_entity_cookie_security_configurations) | **GET** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Get CookieSecurityConfiguration *CookieSecurityConfigurationApi* | [**patch_entity_cookie_security_configurations**](docs/CookieSecurityConfigurationApi.md#patch_entity_cookie_security_configurations) | **PATCH** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Patch CookieSecurityConfiguration *CookieSecurityConfigurationApi* | [**update_entity_cookie_security_configurations**](docs/CookieSecurityConfigurationApi.md#update_entity_cookie_security_configurations) | **PUT** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Put CookieSecurityConfiguration @@ -161,6 +171,7 @@ Class | Method | HTTP request | Description *DashboardsApi* | [**get_all_entities_analytical_dashboards**](docs/DashboardsApi.md#get_all_entities_analytical_dashboards) | **GET** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards | Get all Dashboards *DashboardsApi* | [**get_entity_analytical_dashboards**](docs/DashboardsApi.md#get_entity_analytical_dashboards) | **GET** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Get a Dashboard *DashboardsApi* | [**patch_entity_analytical_dashboards**](docs/DashboardsApi.md#patch_entity_analytical_dashboards) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Patch a Dashboard +*DashboardsApi* | [**search_entities_analytical_dashboards**](docs/DashboardsApi.md#search_entities_analytical_dashboards) | **POST** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/search | Search request for AnalyticalDashboard *DashboardsApi* | [**update_entity_analytical_dashboards**](docs/DashboardsApi.md#update_entity_analytical_dashboards) | **PUT** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Put Dashboards *DataFiltersApi* | [**create_entity_user_data_filters**](docs/DataFiltersApi.md#create_entity_user_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/userDataFilters | Post User Data Filters *DataFiltersApi* | [**create_entity_workspace_data_filter_settings**](docs/DataFiltersApi.md#create_entity_workspace_data_filter_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings | Post Settings for Workspace Data Filters @@ -178,6 +189,9 @@ Class | Method | HTTP request | Description *DataFiltersApi* | [**patch_entity_user_data_filters**](docs/DataFiltersApi.md#patch_entity_user_data_filters) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Patch a User Data Filter *DataFiltersApi* | [**patch_entity_workspace_data_filter_settings**](docs/DataFiltersApi.md#patch_entity_workspace_data_filter_settings) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/{objectId} | Patch a Settings for Workspace Data Filter *DataFiltersApi* | [**patch_entity_workspace_data_filters**](docs/DataFiltersApi.md#patch_entity_workspace_data_filters) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Patch a Workspace Data Filter +*DataFiltersApi* | [**search_entities_user_data_filters**](docs/DataFiltersApi.md#search_entities_user_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/search | Search request for UserDataFilter +*DataFiltersApi* | [**search_entities_workspace_data_filter_settings**](docs/DataFiltersApi.md#search_entities_workspace_data_filter_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/search | Search request for WorkspaceDataFilterSetting +*DataFiltersApi* | [**search_entities_workspace_data_filters**](docs/DataFiltersApi.md#search_entities_workspace_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/search | Search request for WorkspaceDataFilter *DataFiltersApi* | [**set_workspace_data_filters_layout**](docs/DataFiltersApi.md#set_workspace_data_filters_layout) | **PUT** /api/v1/layout/workspaceDataFilters | Set all workspace data filters *DataFiltersApi* | [**update_entity_user_data_filters**](docs/DataFiltersApi.md#update_entity_user_data_filters) | **PUT** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Put a User Data Filter *DataFiltersApi* | [**update_entity_workspace_data_filter_settings**](docs/DataFiltersApi.md#update_entity_workspace_data_filter_settings) | **PUT** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/{objectId} | Put a Settings for Workspace Data Filter @@ -192,9 +206,16 @@ Class | Method | HTTP request | Description *DataSourceEntityAPIsApi* | [**get_entity_data_sources**](docs/DataSourceEntityAPIsApi.md#get_entity_data_sources) | **GET** /api/v1/entities/dataSources/{id} | Get Data Source entity *DataSourceEntityAPIsApi* | [**patch_entity_data_sources**](docs/DataSourceEntityAPIsApi.md#patch_entity_data_sources) | **PATCH** /api/v1/entities/dataSources/{id} | Patch Data Source entity *DataSourceEntityAPIsApi* | [**update_entity_data_sources**](docs/DataSourceEntityAPIsApi.md#update_entity_data_sources) | **PUT** /api/v1/entities/dataSources/{id} | Put Data Source entity +*DataSourceFilesAnalysisApi* | [**analyze_csv**](docs/DataSourceFilesAnalysisApi.md#analyze_csv) | **POST** /api/v1/actions/fileStorage/staging/analyzeCsv | Analyze CSV +*DataSourceFilesDeletionApi* | [**delete_files**](docs/DataSourceFilesDeletionApi.md#delete_files) | **POST** /api/v1/actions/fileStorage/dataSources/{dataSourceId}/deleteFiles | Delete datasource files +*DataSourceFilesImportApi* | [**import_csv**](docs/DataSourceFilesImportApi.md#import_csv) | **POST** /api/v1/actions/fileStorage/dataSources/{dataSourceId}/importCsv | Import CSV +*DataSourceFilesListingApi* | [**list_files**](docs/DataSourceFilesListingApi.md#list_files) | **POST** /api/v1/actions/fileStorage/dataSources/{dataSourceId}/listFiles | List datasource files +*DataSourceFilesManifestReadApi* | [**read_csv_file_manifests**](docs/DataSourceFilesManifestReadApi.md#read_csv_file_manifests) | **POST** /api/v1/actions/fileStorage/dataSources/{dataSourceId}/readCsvFileManifests | Read CSV file manifests +*DataSourceStagingLocationApi* | [**staging_upload**](docs/DataSourceStagingLocationApi.md#staging_upload) | **POST** /api/v1/actions/fileStorage/staging/upload | Upload a file to the staging area *DatasetsApi* | [**get_all_entities_datasets**](docs/DatasetsApi.md#get_all_entities_datasets) | **GET** /api/v1/entities/workspaces/{workspaceId}/datasets | Get all Datasets *DatasetsApi* | [**get_entity_datasets**](docs/DatasetsApi.md#get_entity_datasets) | **GET** /api/v1/entities/workspaces/{workspaceId}/datasets/{objectId} | Get a Dataset *DatasetsApi* | [**patch_entity_datasets**](docs/DatasetsApi.md#patch_entity_datasets) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/datasets/{objectId} | Patch a Dataset (beta) +*DatasetsApi* | [**search_entities_datasets**](docs/DatasetsApi.md#search_entities_datasets) | **POST** /api/v1/entities/workspaces/{workspaceId}/datasets/search | Search request for Dataset *DependencyGraphApi* | [**get_dependent_entities_graph**](docs/DependencyGraphApi.md#get_dependent_entities_graph) | **GET** /api/v1/actions/workspaces/{workspaceId}/dependentEntitiesGraph | Computes the dependent entities graph *DependencyGraphApi* | [**get_dependent_entities_graph_from_entry_points**](docs/DependencyGraphApi.md#get_dependent_entities_graph_from_entry_points) | **POST** /api/v1/actions/workspaces/{workspaceId}/dependentEntitiesGraph | Computes the dependent entities graph from given entry points *EntitlementApi* | [**get_all_entities_entitlements**](docs/EntitlementApi.md#get_all_entities_entitlements) | **GET** /api/v1/entities/entitlements | Get Entitlements @@ -206,6 +227,7 @@ Class | Method | HTTP request | Description *ExportDefinitionsApi* | [**get_all_entities_export_definitions**](docs/ExportDefinitionsApi.md#get_all_entities_export_definitions) | **GET** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions | Get all Export Definitions *ExportDefinitionsApi* | [**get_entity_export_definitions**](docs/ExportDefinitionsApi.md#get_entity_export_definitions) | **GET** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId} | Get an Export Definition *ExportDefinitionsApi* | [**patch_entity_export_definitions**](docs/ExportDefinitionsApi.md#patch_entity_export_definitions) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId} | Patch an Export Definition +*ExportDefinitionsApi* | [**search_entities_export_definitions**](docs/ExportDefinitionsApi.md#search_entities_export_definitions) | **POST** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/search | Search request for ExportDefinition *ExportDefinitionsApi* | [**update_entity_export_definitions**](docs/ExportDefinitionsApi.md#update_entity_export_definitions) | **PUT** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId} | Put an Export Definition *ExportTemplatesApi* | [**create_entity_export_templates**](docs/ExportTemplatesApi.md#create_entity_export_templates) | **POST** /api/v1/entities/exportTemplates | Post Export Template entities *ExportTemplatesApi* | [**delete_entity_export_templates**](docs/ExportTemplatesApi.md#delete_entity_export_templates) | **DELETE** /api/v1/entities/exportTemplates/{id} | Delete Export Template entity @@ -213,18 +235,31 @@ Class | Method | HTTP request | Description *ExportTemplatesApi* | [**get_entity_export_templates**](docs/ExportTemplatesApi.md#get_entity_export_templates) | **GET** /api/v1/entities/exportTemplates/{id} | GET Export Template entity *ExportTemplatesApi* | [**patch_entity_export_templates**](docs/ExportTemplatesApi.md#patch_entity_export_templates) | **PATCH** /api/v1/entities/exportTemplates/{id} | Patch Export Template entity *ExportTemplatesApi* | [**update_entity_export_templates**](docs/ExportTemplatesApi.md#update_entity_export_templates) | **PUT** /api/v1/entities/exportTemplates/{id} | PUT Export Template entity +*FactsApi* | [**get_all_entities_aggregated_facts**](docs/FactsApi.md#get_all_entities_aggregated_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts | *FactsApi* | [**get_all_entities_facts**](docs/FactsApi.md#get_all_entities_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/facts | Get all Facts +*FactsApi* | [**get_entity_aggregated_facts**](docs/FactsApi.md#get_entity_aggregated_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/{objectId} | *FactsApi* | [**get_entity_facts**](docs/FactsApi.md#get_entity_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/facts/{objectId} | Get a Fact *FactsApi* | [**patch_entity_facts**](docs/FactsApi.md#patch_entity_facts) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/facts/{objectId} | Patch a Fact (beta) +*FactsApi* | [**search_entities_aggregated_facts**](docs/FactsApi.md#search_entities_aggregated_facts) | **POST** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/search | Search request for AggregatedFact +*FactsApi* | [**search_entities_facts**](docs/FactsApi.md#search_entities_facts) | **POST** /api/v1/entities/workspaces/{workspaceId}/facts/search | Search request for Fact +*FilterContextApi* | [**create_entity_filter_contexts**](docs/FilterContextApi.md#create_entity_filter_contexts) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Post Filter Context +*FilterContextApi* | [**delete_entity_filter_contexts**](docs/FilterContextApi.md#delete_entity_filter_contexts) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Delete a Filter Context +*FilterContextApi* | [**get_all_entities_filter_contexts**](docs/FilterContextApi.md#get_all_entities_filter_contexts) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Get all Filter Context +*FilterContextApi* | [**get_entity_filter_contexts**](docs/FilterContextApi.md#get_entity_filter_contexts) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Get a Filter Context +*FilterContextApi* | [**patch_entity_filter_contexts**](docs/FilterContextApi.md#patch_entity_filter_contexts) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Patch a Filter Context +*FilterContextApi* | [**search_entities_filter_contexts**](docs/FilterContextApi.md#search_entities_filter_contexts) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterContexts/search | Search request for FilterContext +*FilterContextApi* | [**update_entity_filter_contexts**](docs/FilterContextApi.md#update_entity_filter_contexts) | **PUT** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Put a Filter Context *FilterViewsApi* | [**create_entity_filter_views**](docs/FilterViewsApi.md#create_entity_filter_views) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterViews | Post Filter views *FilterViewsApi* | [**delete_entity_filter_views**](docs/FilterViewsApi.md#delete_entity_filter_views) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Delete Filter view *FilterViewsApi* | [**get_all_entities_filter_views**](docs/FilterViewsApi.md#get_all_entities_filter_views) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterViews | Get all Filter views *FilterViewsApi* | [**get_entity_filter_views**](docs/FilterViewsApi.md#get_entity_filter_views) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Get Filter view *FilterViewsApi* | [**get_filter_views**](docs/FilterViewsApi.md#get_filter_views) | **GET** /api/v1/layout/workspaces/{workspaceId}/filterViews | Get filter views *FilterViewsApi* | [**patch_entity_filter_views**](docs/FilterViewsApi.md#patch_entity_filter_views) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Patch Filter view +*FilterViewsApi* | [**search_entities_filter_views**](docs/FilterViewsApi.md#search_entities_filter_views) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterViews/search | Search request for FilterView *FilterViewsApi* | [**set_filter_views**](docs/FilterViewsApi.md#set_filter_views) | **PUT** /api/v1/layout/workspaces/{workspaceId}/filterViews | Set filter views *FilterViewsApi* | [**update_entity_filter_views**](docs/FilterViewsApi.md#update_entity_filter_views) | **PUT** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Put Filter views *GenerateLogicalDataModelApi* | [**generate_logical_model**](docs/GenerateLogicalDataModelApi.md#generate_logical_model) | **POST** /api/v1/actions/dataSources/{dataSourceId}/generateLogicalModel | Generate logical data model (LDM) from physical data model (PDM) +*GenerateLogicalDataModelApi* | [**generate_logical_model_aac**](docs/GenerateLogicalDataModelApi.md#generate_logical_model_aac) | **POST** /api/v1/actions/dataSources/{dataSourceId}/generateLogicalModelAac | Generate logical data model in AAC format from physical data model (PDM) *HierarchyApi* | [**check_entity_overrides**](docs/HierarchyApi.md#check_entity_overrides) | **POST** /api/v1/actions/workspaces/{workspaceId}/checkEntityOverrides | Finds entities with given ID in hierarchy. *HierarchyApi* | [**inherited_entity_conflicts**](docs/HierarchyApi.md#inherited_entity_conflicts) | **GET** /api/v1/actions/workspaces/{workspaceId}/inheritedEntityConflicts | Finds identifier conflicts in workspace hierarchy. *HierarchyApi* | [**inherited_entity_prefixes**](docs/HierarchyApi.md#inherited_entity_prefixes) | **GET** /api/v1/actions/workspaces/{workspaceId}/inheritedEntityPrefixes | Get used entity prefixes in hierarchy @@ -258,16 +293,16 @@ Class | Method | HTTP request | Description *LabelsApi* | [**get_all_entities_labels**](docs/LabelsApi.md#get_all_entities_labels) | **GET** /api/v1/entities/workspaces/{workspaceId}/labels | Get all Labels *LabelsApi* | [**get_entity_labels**](docs/LabelsApi.md#get_entity_labels) | **GET** /api/v1/entities/workspaces/{workspaceId}/labels/{objectId} | Get a Label *LabelsApi* | [**patch_entity_labels**](docs/LabelsApi.md#patch_entity_labels) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/labels/{objectId} | Patch a Label (beta) +*LabelsApi* | [**search_entities_labels**](docs/LabelsApi.md#search_entities_labels) | **POST** /api/v1/entities/workspaces/{workspaceId}/labels/search | Search request for Label *ManagePermissionsApi* | [**get_data_source_permissions**](docs/ManagePermissionsApi.md#get_data_source_permissions) | **GET** /api/v1/layout/dataSources/{dataSourceId}/permissions | Get permissions for the data source *ManagePermissionsApi* | [**manage_data_source_permissions**](docs/ManagePermissionsApi.md#manage_data_source_permissions) | **POST** /api/v1/actions/dataSources/{dataSourceId}/managePermissions | Manage Permissions for a Data Source *ManagePermissionsApi* | [**set_data_source_permissions**](docs/ManagePermissionsApi.md#set_data_source_permissions) | **PUT** /api/v1/layout/dataSources/{dataSourceId}/permissions | Set data source permissions. -*MetadataSyncApi* | [**metadata_sync**](docs/MetadataSyncApi.md#metadata_sync) | **POST** /api/v1/actions/workspaces/{workspaceId}/metadataSync | (BETA) Sync Metadata to other services -*MetadataSyncApi* | [**metadata_sync_organization**](docs/MetadataSyncApi.md#metadata_sync_organization) | **POST** /api/v1/actions/organization/metadataSync | (BETA) Sync organization scope Metadata to other services *MetricsApi* | [**create_entity_metrics**](docs/MetricsApi.md#create_entity_metrics) | **POST** /api/v1/entities/workspaces/{workspaceId}/metrics | Post Metrics *MetricsApi* | [**delete_entity_metrics**](docs/MetricsApi.md#delete_entity_metrics) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Delete a Metric *MetricsApi* | [**get_all_entities_metrics**](docs/MetricsApi.md#get_all_entities_metrics) | **GET** /api/v1/entities/workspaces/{workspaceId}/metrics | Get all Metrics *MetricsApi* | [**get_entity_metrics**](docs/MetricsApi.md#get_entity_metrics) | **GET** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Get a Metric *MetricsApi* | [**patch_entity_metrics**](docs/MetricsApi.md#patch_entity_metrics) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Patch a Metric +*MetricsApi* | [**search_entities_metrics**](docs/MetricsApi.md#search_entities_metrics) | **POST** /api/v1/entities/workspaces/{workspaceId}/metrics/search | Search request for Metric *MetricsApi* | [**update_entity_metrics**](docs/MetricsApi.md#update_entity_metrics) | **PUT** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Put a Metric *NotificationChannelsApi* | [**create_entity_notification_channels**](docs/NotificationChannelsApi.md#create_entity_notification_channels) | **POST** /api/v1/entities/notificationChannels | Post Notification Channel entities *NotificationChannelsApi* | [**delete_entity_notification_channels**](docs/NotificationChannelsApi.md#delete_entity_notification_channels) | **DELETE** /api/v1/entities/notificationChannels/{id} | Delete Notification Channel entity @@ -287,8 +322,9 @@ Class | Method | HTTP request | Description *NotificationChannelsApi* | [**test_notification_channel**](docs/NotificationChannelsApi.md#test_notification_channel) | **POST** /api/v1/actions/notificationChannels/test | Test notification channel. *NotificationChannelsApi* | [**update_entity_notification_channels**](docs/NotificationChannelsApi.md#update_entity_notification_channels) | **PUT** /api/v1/entities/notificationChannels/{id} | Put Notification Channel entity *OptionsApi* | [**get_all_options**](docs/OptionsApi.md#get_all_options) | **GET** /api/v1/options | Links for all configuration options -*OrganizationApi* | [**switch_active_identity_provider**](docs/OrganizationApi.md#switch_active_identity_provider) | **POST** /api/v1/actions/organization/switchActiveIdentityProvider | Switch Active Identity Provider +*OrganizationDeclarativeAPIsApi* | [**get_custom_geo_collections_layout**](docs/OrganizationDeclarativeAPIsApi.md#get_custom_geo_collections_layout) | **GET** /api/v1/layout/customGeoCollections | Get all custom geo collections layout *OrganizationDeclarativeAPIsApi* | [**get_organization_layout**](docs/OrganizationDeclarativeAPIsApi.md#get_organization_layout) | **GET** /api/v1/layout/organization | Get organization layout +*OrganizationDeclarativeAPIsApi* | [**set_custom_geo_collections**](docs/OrganizationDeclarativeAPIsApi.md#set_custom_geo_collections) | **PUT** /api/v1/layout/customGeoCollections | Set all custom geo collections *OrganizationDeclarativeAPIsApi* | [**set_organization_layout**](docs/OrganizationDeclarativeAPIsApi.md#set_organization_layout) | **PUT** /api/v1/layout/organization | Set organization layout *OrganizationEntityAPIsApi* | [**create_entity_organization_settings**](docs/OrganizationEntityAPIsApi.md#create_entity_organization_settings) | **POST** /api/v1/entities/organizationSettings | Post Organization Setting entities *OrganizationEntityAPIsApi* | [**delete_entity_organization_settings**](docs/OrganizationEntityAPIsApi.md#delete_entity_organization_settings) | **DELETE** /api/v1/entities/organizationSettings/{id} | Delete Organization entity @@ -300,6 +336,40 @@ Class | Method | HTTP request | Description *OrganizationEntityAPIsApi* | [**patch_entity_organizations**](docs/OrganizationEntityAPIsApi.md#patch_entity_organizations) | **PATCH** /api/v1/entities/admin/organizations/{id} | Patch Organization *OrganizationEntityAPIsApi* | [**update_entity_organization_settings**](docs/OrganizationEntityAPIsApi.md#update_entity_organization_settings) | **PUT** /api/v1/entities/organizationSettings/{id} | Put Organization entity *OrganizationEntityAPIsApi* | [**update_entity_organizations**](docs/OrganizationEntityAPIsApi.md#update_entity_organizations) | **PUT** /api/v1/entities/admin/organizations/{id} | Put Organization +*OtherApi* | [**create_entity_custom_geo_collections**](docs/OtherApi.md#create_entity_custom_geo_collections) | **POST** /api/v1/entities/customGeoCollections | +*OtherApi* | [**create_entity_knowledge_recommendations**](docs/OtherApi.md#create_entity_knowledge_recommendations) | **POST** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations | +*OtherApi* | [**create_entity_memory_items**](docs/OtherApi.md#create_entity_memory_items) | **POST** /api/v1/entities/workspaces/{workspaceId}/memoryItems | +*OtherApi* | [**custom_geo_collection_staging_upload**](docs/OtherApi.md#custom_geo_collection_staging_upload) | **POST** /api/v1/actions/customGeoCollection/staging/upload | Upload a geo collection file to the staging area +*OtherApi* | [**delete_entity_custom_geo_collections**](docs/OtherApi.md#delete_entity_custom_geo_collections) | **DELETE** /api/v1/entities/customGeoCollections/{id} | +*OtherApi* | [**delete_entity_knowledge_recommendations**](docs/OtherApi.md#delete_entity_knowledge_recommendations) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId} | +*OtherApi* | [**delete_entity_memory_items**](docs/OtherApi.md#delete_entity_memory_items) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | +*OtherApi* | [**get_all_entities_custom_geo_collections**](docs/OtherApi.md#get_all_entities_custom_geo_collections) | **GET** /api/v1/entities/customGeoCollections | +*OtherApi* | [**get_all_entities_knowledge_recommendations**](docs/OtherApi.md#get_all_entities_knowledge_recommendations) | **GET** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations | +*OtherApi* | [**get_all_entities_memory_items**](docs/OtherApi.md#get_all_entities_memory_items) | **GET** /api/v1/entities/workspaces/{workspaceId}/memoryItems | +*OtherApi* | [**get_analytics_model_aac**](docs/OtherApi.md#get_analytics_model_aac) | **GET** /api/v1/aac/workspaces/{workspaceId}/analyticsModel | Get analytics model in AAC format +*OtherApi* | [**get_collection_items**](docs/OtherApi.md#get_collection_items) | **GET** /api/v1/location/collections/{collectionId}/items | Get collection features +*OtherApi* | [**get_custom_collection_items**](docs/OtherApi.md#get_custom_collection_items) | **GET** /api/v1/location/custom/collections/{collectionId}/items | Get custom collection features +*OtherApi* | [**get_entity_custom_geo_collections**](docs/OtherApi.md#get_entity_custom_geo_collections) | **GET** /api/v1/entities/customGeoCollections/{id} | +*OtherApi* | [**get_entity_knowledge_recommendations**](docs/OtherApi.md#get_entity_knowledge_recommendations) | **GET** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId} | +*OtherApi* | [**get_entity_memory_items**](docs/OtherApi.md#get_entity_memory_items) | **GET** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | +*OtherApi* | [**get_logical_model_aac**](docs/OtherApi.md#get_logical_model_aac) | **GET** /api/v1/aac/workspaces/{workspaceId}/logicalModel | Get logical model in AAC format +*OtherApi* | [**get_user_data_filters**](docs/OtherApi.md#get_user_data_filters) | **GET** /api/v1/layout/workspaces/{workspaceId}/userDataFilters | Get user data filters +*OtherApi* | [**import_custom_geo_collection**](docs/OtherApi.md#import_custom_geo_collection) | **POST** /api/v1/actions/customGeoCollection/{collectionId}/import | Import custom geo collection +*OtherApi* | [**metadata_check_organization**](docs/OtherApi.md#metadata_check_organization) | **POST** /api/v1/actions/organization/metadataCheck | (BETA) Check Organization Metadata Inconsistencies +*OtherApi* | [**metadata_sync**](docs/OtherApi.md#metadata_sync) | **POST** /api/v1/actions/workspaces/{workspaceId}/metadataSync | (BETA) Sync Metadata to other services +*OtherApi* | [**metadata_sync_organization**](docs/OtherApi.md#metadata_sync_organization) | **POST** /api/v1/actions/organization/metadataSync | (BETA) Sync organization scope Metadata to other services +*OtherApi* | [**patch_entity_custom_geo_collections**](docs/OtherApi.md#patch_entity_custom_geo_collections) | **PATCH** /api/v1/entities/customGeoCollections/{id} | +*OtherApi* | [**patch_entity_knowledge_recommendations**](docs/OtherApi.md#patch_entity_knowledge_recommendations) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId} | +*OtherApi* | [**patch_entity_memory_items**](docs/OtherApi.md#patch_entity_memory_items) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | +*OtherApi* | [**search_entities_knowledge_recommendations**](docs/OtherApi.md#search_entities_knowledge_recommendations) | **POST** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/search | +*OtherApi* | [**search_entities_memory_items**](docs/OtherApi.md#search_entities_memory_items) | **POST** /api/v1/entities/workspaces/{workspaceId}/memoryItems/search | Search request for MemoryItem +*OtherApi* | [**set_analytics_model_aac**](docs/OtherApi.md#set_analytics_model_aac) | **PUT** /api/v1/aac/workspaces/{workspaceId}/analyticsModel | Set analytics model from AAC format +*OtherApi* | [**set_logical_model_aac**](docs/OtherApi.md#set_logical_model_aac) | **PUT** /api/v1/aac/workspaces/{workspaceId}/logicalModel | Set logical model from AAC format +*OtherApi* | [**set_user_data_filters**](docs/OtherApi.md#set_user_data_filters) | **PUT** /api/v1/layout/workspaces/{workspaceId}/userDataFilters | Set user data filters +*OtherApi* | [**switch_active_identity_provider**](docs/OtherApi.md#switch_active_identity_provider) | **POST** /api/v1/actions/organization/switchActiveIdentityProvider | Switch Active Identity Provider +*OtherApi* | [**update_entity_custom_geo_collections**](docs/OtherApi.md#update_entity_custom_geo_collections) | **PUT** /api/v1/entities/customGeoCollections/{id} | +*OtherApi* | [**update_entity_knowledge_recommendations**](docs/OtherApi.md#update_entity_knowledge_recommendations) | **PUT** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId} | +*OtherApi* | [**update_entity_memory_items**](docs/OtherApi.md#update_entity_memory_items) | **PUT** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | *PermissionsApi* | [**available_assignees**](docs/PermissionsApi.md#available_assignees) | **GET** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/availableAssignees | Get Available Assignees *PermissionsApi* | [**dashboard_permissions**](docs/PermissionsApi.md#dashboard_permissions) | **GET** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/permissions | Get Dashboard Permissions *PermissionsApi* | [**get_organization_permissions**](docs/PermissionsApi.md#get_organization_permissions) | **GET** /api/v1/layout/organization/permissions | Get organization permissions @@ -319,6 +389,7 @@ Class | Method | HTTP request | Description *PluginsApi* | [**get_all_entities_dashboard_plugins**](docs/PluginsApi.md#get_all_entities_dashboard_plugins) | **GET** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins | Get all Plugins *PluginsApi* | [**get_entity_dashboard_plugins**](docs/PluginsApi.md#get_entity_dashboard_plugins) | **GET** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Get a Plugin *PluginsApi* | [**patch_entity_dashboard_plugins**](docs/PluginsApi.md#patch_entity_dashboard_plugins) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Patch a Plugin +*PluginsApi* | [**search_entities_dashboard_plugins**](docs/PluginsApi.md#search_entities_dashboard_plugins) | **POST** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/search | Search request for DashboardPlugin *PluginsApi* | [**update_entity_dashboard_plugins**](docs/PluginsApi.md#update_entity_dashboard_plugins) | **PUT** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Put a Plugin *RawExportApi* | [**create_raw_export**](docs/RawExportApi.md#create_raw_export) | **POST** /api/v1/actions/workspaces/{workspaceId}/export/raw | (EXPERIMENTAL) Create raw export request *RawExportApi* | [**get_raw_export**](docs/RawExportApi.md#get_raw_export) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/raw/{exportId} | (EXPERIMENTAL) Retrieve exported files @@ -371,8 +442,13 @@ Class | Method | HTTP request | Description *UserGroupsEntityAPIsApi* | [**get_entity_user_groups**](docs/UserGroupsEntityAPIsApi.md#get_entity_user_groups) | **GET** /api/v1/entities/userGroups/{id} | Get UserGroup entity *UserGroupsEntityAPIsApi* | [**patch_entity_user_groups**](docs/UserGroupsEntityAPIsApi.md#patch_entity_user_groups) | **PATCH** /api/v1/entities/userGroups/{id} | Patch UserGroup entity *UserGroupsEntityAPIsApi* | [**update_entity_user_groups**](docs/UserGroupsEntityAPIsApi.md#update_entity_user_groups) | **PUT** /api/v1/entities/userGroups/{id} | Put UserGroup entity -*UserDataFiltersApi* | [**get_user_data_filters**](docs/UserDataFiltersApi.md#get_user_data_filters) | **GET** /api/v1/layout/workspaces/{workspaceId}/userDataFilters | Get user data filters -*UserDataFiltersApi* | [**set_user_data_filters**](docs/UserDataFiltersApi.md#set_user_data_filters) | **PUT** /api/v1/layout/workspaces/{workspaceId}/userDataFilters | Set user data filters +*UserAuthorizationApi* | [**create_user**](docs/UserAuthorizationApi.md#create_user) | **POST** /api/v1/auth/users | Create a user +*UserAuthorizationApi* | [**delete_user**](docs/UserAuthorizationApi.md#delete_user) | **DELETE** /api/v1/auth/users/{userEmail} | Delete a user +*UserAuthorizationApi* | [**get_profile**](docs/UserAuthorizationApi.md#get_profile) | **GET** /api/v1/profile | Get Profile +*UserAuthorizationApi* | [**get_user**](docs/UserAuthorizationApi.md#get_user) | **GET** /api/v1/auth/users/{userEmail} | Get a user +*UserAuthorizationApi* | [**get_users**](docs/UserAuthorizationApi.md#get_users) | **GET** /api/v1/auth/users | Get all users +*UserAuthorizationApi* | [**process_invitation**](docs/UserAuthorizationApi.md#process_invitation) | **POST** /api/v1/actions/invite | Invite User +*UserAuthorizationApi* | [**update_user**](docs/UserAuthorizationApi.md#update_user) | **PUT** /api/v1/auth/users/{userEmail} | Update a user *UserIdentifiersApi* | [**get_all_entities_user_identifiers**](docs/UserIdentifiersApi.md#get_all_entities_user_identifiers) | **GET** /api/v1/entities/userIdentifiers | Get UserIdentifier entities *UserIdentifiersApi* | [**get_entity_user_identifiers**](docs/UserIdentifiersApi.md#get_entity_user_identifiers) | **GET** /api/v1/entities/userIdentifiers/{id} | Get UserIdentifier entity *UserSettingsApi* | [**create_entity_user_settings**](docs/UserSettingsApi.md#create_entity_user_settings) | **POST** /api/v1/entities/users/{userId}/userSettings | Post new user settings for the user @@ -387,6 +463,8 @@ Class | Method | HTTP request | Description *UserManagementApi* | [**list_permissions_for_user_group**](docs/UserManagementApi.md#list_permissions_for_user_group) | **GET** /api/v1/actions/userManagement/userGroups/{userGroupId}/permissions | *UserManagementApi* | [**list_user_groups**](docs/UserManagementApi.md#list_user_groups) | **GET** /api/v1/actions/userManagement/userGroups | *UserManagementApi* | [**list_users**](docs/UserManagementApi.md#list_users) | **GET** /api/v1/actions/userManagement/users | +*UserManagementApi* | [**list_workspace_user_groups**](docs/UserManagementApi.md#list_workspace_user_groups) | **GET** /api/v1/actions/workspaces/{workspaceId}/userGroups | +*UserManagementApi* | [**list_workspace_users**](docs/UserManagementApi.md#list_workspace_users) | **GET** /api/v1/actions/workspaces/{workspaceId}/users | *UserManagementApi* | [**manage_permissions_for_user**](docs/UserManagementApi.md#manage_permissions_for_user) | **POST** /api/v1/actions/userManagement/users/{userId}/permissions | *UserManagementApi* | [**manage_permissions_for_user_group**](docs/UserManagementApi.md#manage_permissions_for_user_group) | **POST** /api/v1/actions/userManagement/userGroups/{userGroupId}/permissions | *UserManagementApi* | [**remove_group_members**](docs/UserManagementApi.md#remove_group_members) | **POST** /api/v1/actions/userManagement/userGroups/{userGroupId}/removeMembers | @@ -408,6 +486,7 @@ Class | Method | HTTP request | Description *VisualizationObjectApi* | [**get_all_entities_visualization_objects**](docs/VisualizationObjectApi.md#get_all_entities_visualization_objects) | **GET** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects | Get all Visualization Objects *VisualizationObjectApi* | [**get_entity_visualization_objects**](docs/VisualizationObjectApi.md#get_entity_visualization_objects) | **GET** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Get a Visualization Object *VisualizationObjectApi* | [**patch_entity_visualization_objects**](docs/VisualizationObjectApi.md#patch_entity_visualization_objects) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Patch a Visualization Object +*VisualizationObjectApi* | [**search_entities_visualization_objects**](docs/VisualizationObjectApi.md#search_entities_visualization_objects) | **POST** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/search | Search request for VisualizationObject *VisualizationObjectApi* | [**update_entity_visualization_objects**](docs/VisualizationObjectApi.md#update_entity_visualization_objects) | **PUT** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Put a Visualization Object *WorkspacesDeclarativeAPIsApi* | [**get_workspace_layout**](docs/WorkspacesDeclarativeAPIsApi.md#get_workspace_layout) | **GET** /api/v1/layout/workspaces/{workspaceId} | Get workspace layout *WorkspacesDeclarativeAPIsApi* | [**get_workspaces_layout**](docs/WorkspacesDeclarativeAPIsApi.md#get_workspaces_layout) | **GET** /api/v1/layout/workspaces | Get all workspaces layout @@ -429,616 +508,50 @@ Class | Method | HTTP request | Description *WorkspacesSettingsApi* | [**get_entity_workspace_settings**](docs/WorkspacesSettingsApi.md#get_entity_workspace_settings) | **GET** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Get a Setting for Workspace *WorkspacesSettingsApi* | [**patch_entity_custom_application_settings**](docs/WorkspacesSettingsApi.md#patch_entity_custom_application_settings) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Patch a Custom Application Setting *WorkspacesSettingsApi* | [**patch_entity_workspace_settings**](docs/WorkspacesSettingsApi.md#patch_entity_workspace_settings) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Patch a Setting for Workspace +*WorkspacesSettingsApi* | [**search_entities_custom_application_settings**](docs/WorkspacesSettingsApi.md#search_entities_custom_application_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/search | Search request for CustomApplicationSetting +*WorkspacesSettingsApi* | [**search_entities_workspace_settings**](docs/WorkspacesSettingsApi.md#search_entities_workspace_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/search | *WorkspacesSettingsApi* | [**update_entity_custom_application_settings**](docs/WorkspacesSettingsApi.md#update_entity_custom_application_settings) | **PUT** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Put a Custom Application Setting *WorkspacesSettingsApi* | [**update_entity_workspace_settings**](docs/WorkspacesSettingsApi.md#update_entity_workspace_settings) | **PUT** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Put a Setting for a Workspace *WorkspacesSettingsApi* | [**workspace_resolve_all_settings**](docs/WorkspacesSettingsApi.md#workspace_resolve_all_settings) | **GET** /api/v1/actions/workspaces/{workspaceId}/resolveSettings | Values for all settings. *WorkspacesSettingsApi* | [**workspace_resolve_settings**](docs/WorkspacesSettingsApi.md#workspace_resolve_settings) | **POST** /api/v1/actions/workspaces/{workspaceId}/resolveSettings | Values for selected settings. -*ActionsApi* | [**ai_chat**](docs/ActionsApi.md#ai_chat) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/chat | (BETA) Chat with AI -*ActionsApi* | [**ai_chat_history**](docs/ActionsApi.md#ai_chat_history) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/chatHistory | (BETA) Get Chat History -*ActionsApi* | [**ai_chat_stream**](docs/ActionsApi.md#ai_chat_stream) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/chatStream | (BETA) Chat with AI -*ActionsApi* | [**ai_chat_usage**](docs/ActionsApi.md#ai_chat_usage) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/chatUsage | Get Chat Usage -*ActionsApi* | [**ai_search**](docs/ActionsApi.md#ai_search) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/search | (BETA) Semantic Search in Metadata -*ActionsApi* | [**all_platform_usage**](docs/ActionsApi.md#all_platform_usage) | **GET** /api/v1/actions/collectUsage | Info about the platform usage. -*ActionsApi* | [**anomaly_detection**](docs/ActionsApi.md#anomaly_detection) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/functions/anomalyDetection/{resultId} | (EXPERIMENTAL) Smart functions - Anomaly Detection -*ActionsApi* | [**anomaly_detection_result**](docs/ActionsApi.md#anomaly_detection_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/functions/anomalyDetection/result/{resultId} | (EXPERIMENTAL) Smart functions - Anomaly Detection Result -*ActionsApi* | [**available_assignees**](docs/ActionsApi.md#available_assignees) | **GET** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/availableAssignees | Get Available Assignees -*ActionsApi* | [**cancel_executions**](docs/ActionsApi.md#cancel_executions) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/cancel | Applies all the given cancel tokens. -*ActionsApi* | [**change_analysis**](docs/ActionsApi.md#change_analysis) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/computeChangeAnalysis | Compute change analysis -*ActionsApi* | [**change_analysis_result**](docs/ActionsApi.md#change_analysis_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/computeChangeAnalysis/result/{resultId} | Get change analysis result -*ActionsApi* | [**check_entity_overrides**](docs/ActionsApi.md#check_entity_overrides) | **POST** /api/v1/actions/workspaces/{workspaceId}/checkEntityOverrides | Finds entities with given ID in hierarchy. -*ActionsApi* | [**clean_translations**](docs/ActionsApi.md#clean_translations) | **POST** /api/v1/actions/workspaces/{workspaceId}/translations/clean | Cleans up translations. -*ActionsApi* | [**clustering**](docs/ActionsApi.md#clustering) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/functions/clustering/{resultId} | (EXPERIMENTAL) Smart functions - Clustering -*ActionsApi* | [**clustering_result**](docs/ActionsApi.md#clustering_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/functions/clustering/result/{resultId} | (EXPERIMENTAL) Smart functions - Clustering Result -*ActionsApi* | [**column_statistics**](docs/ActionsApi.md#column_statistics) | **POST** /api/v1/actions/dataSources/{dataSourceId}/computeColumnStatistics | (EXPERIMENTAL) Compute column statistics -*ActionsApi* | [**compute_label_elements_post**](docs/ActionsApi.md#compute_label_elements_post) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/collectLabelElements | Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows. -*ActionsApi* | [**compute_report**](docs/ActionsApi.md#compute_report) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute | Executes analytical request and returns link to the result -*ActionsApi* | [**compute_valid_descendants**](docs/ActionsApi.md#compute_valid_descendants) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/computeValidDescendants | (BETA) Valid descendants -*ActionsApi* | [**compute_valid_objects**](docs/ActionsApi.md#compute_valid_objects) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/computeValidObjects | Valid objects -*ActionsApi* | [**create_dashboard_export_request**](docs/ActionsApi.md#create_dashboard_export_request) | **POST** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/export/tabular | (EXPERIMENTAL) Create dashboard tabular export request -*ActionsApi* | [**create_image_export**](docs/ActionsApi.md#create_image_export) | **POST** /api/v1/actions/workspaces/{workspaceId}/export/image | (EXPERIMENTAL) Create image export request -*ActionsApi* | [**create_pdf_export**](docs/ActionsApi.md#create_pdf_export) | **POST** /api/v1/actions/workspaces/{workspaceId}/export/visual | Create visual - pdf export request -*ActionsApi* | [**create_raw_export**](docs/ActionsApi.md#create_raw_export) | **POST** /api/v1/actions/workspaces/{workspaceId}/export/raw | (EXPERIMENTAL) Create raw export request -*ActionsApi* | [**create_slides_export**](docs/ActionsApi.md#create_slides_export) | **POST** /api/v1/actions/workspaces/{workspaceId}/export/slides | (EXPERIMENTAL) Create slides export request -*ActionsApi* | [**create_tabular_export**](docs/ActionsApi.md#create_tabular_export) | **POST** /api/v1/actions/workspaces/{workspaceId}/export/tabular | Create tabular export request -*ActionsApi* | [**created_by**](docs/ActionsApi.md#created_by) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/createdBy | Get Analytics Catalog CreatedBy Users -*ActionsApi* | [**dashboard_permissions**](docs/ActionsApi.md#dashboard_permissions) | **GET** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/permissions | Get Dashboard Permissions -*ActionsApi* | [**delete_organization_automations**](docs/ActionsApi.md#delete_organization_automations) | **POST** /api/v1/actions/organization/automations/delete | Delete selected automations across all workspaces -*ActionsApi* | [**delete_workspace_automations**](docs/ActionsApi.md#delete_workspace_automations) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/delete | Delete selected automations in the workspace -*ActionsApi* | [**explain_afm**](docs/ActionsApi.md#explain_afm) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/explain | AFM explain resource. -*ActionsApi* | [**forecast**](docs/ActionsApi.md#forecast) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/{resultId} | (BETA) Smart functions - Forecast -*ActionsApi* | [**forecast_result**](docs/ActionsApi.md#forecast_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/result/{resultId} | (BETA) Smart functions - Forecast Result -*ActionsApi* | [**generate_logical_model**](docs/ActionsApi.md#generate_logical_model) | **POST** /api/v1/actions/dataSources/{dataSourceId}/generateLogicalModel | Generate logical data model (LDM) from physical data model (PDM) -*ActionsApi* | [**get_data_source_schemata**](docs/ActionsApi.md#get_data_source_schemata) | **GET** /api/v1/actions/dataSources/{dataSourceId}/scanSchemata | Get a list of schema names of a database -*ActionsApi* | [**get_dependent_entities_graph**](docs/ActionsApi.md#get_dependent_entities_graph) | **GET** /api/v1/actions/workspaces/{workspaceId}/dependentEntitiesGraph | Computes the dependent entities graph -*ActionsApi* | [**get_dependent_entities_graph_from_entry_points**](docs/ActionsApi.md#get_dependent_entities_graph_from_entry_points) | **POST** /api/v1/actions/workspaces/{workspaceId}/dependentEntitiesGraph | Computes the dependent entities graph from given entry points -*ActionsApi* | [**get_exported_file**](docs/ActionsApi.md#get_exported_file) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId} | Retrieve exported files -*ActionsApi* | [**get_image_export**](docs/ActionsApi.md#get_image_export) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/image/{exportId} | (EXPERIMENTAL) Retrieve exported files -*ActionsApi* | [**get_image_export_metadata**](docs/ActionsApi.md#get_image_export_metadata) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/image/{exportId}/metadata | (EXPERIMENTAL) Retrieve metadata context -*ActionsApi* | [**get_metadata**](docs/ActionsApi.md#get_metadata) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId}/metadata | Retrieve metadata context -*ActionsApi* | [**get_notifications**](docs/ActionsApi.md#get_notifications) | **GET** /api/v1/actions/notifications | Get latest notifications. -*ActionsApi* | [**get_quality_issues**](docs/ActionsApi.md#get_quality_issues) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/issues | Get Quality Issues -*ActionsApi* | [**get_quality_issues_calculation_status**](docs/ActionsApi.md#get_quality_issues_calculation_status) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/issues/status/{processId} | Get Quality Issues Calculation Status -*ActionsApi* | [**get_raw_export**](docs/ActionsApi.md#get_raw_export) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/raw/{exportId} | (EXPERIMENTAL) Retrieve exported files -*ActionsApi* | [**get_slides_export**](docs/ActionsApi.md#get_slides_export) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/slides/{exportId} | (EXPERIMENTAL) Retrieve exported files -*ActionsApi* | [**get_slides_export_metadata**](docs/ActionsApi.md#get_slides_export_metadata) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/slides/{exportId}/metadata | (EXPERIMENTAL) Retrieve metadata context -*ActionsApi* | [**get_tabular_export**](docs/ActionsApi.md#get_tabular_export) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/tabular/{exportId} | Retrieve exported files -*ActionsApi* | [**get_translation_tags**](docs/ActionsApi.md#get_translation_tags) | **GET** /api/v1/actions/workspaces/{workspaceId}/translations | Get translation tags. -*ActionsApi* | [**inherited_entity_conflicts**](docs/ActionsApi.md#inherited_entity_conflicts) | **GET** /api/v1/actions/workspaces/{workspaceId}/inheritedEntityConflicts | Finds identifier conflicts in workspace hierarchy. -*ActionsApi* | [**inherited_entity_prefixes**](docs/ActionsApi.md#inherited_entity_prefixes) | **GET** /api/v1/actions/workspaces/{workspaceId}/inheritedEntityPrefixes | Get used entity prefixes in hierarchy -*ActionsApi* | [**key_driver_analysis**](docs/ActionsApi.md#key_driver_analysis) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/computeKeyDrivers | (EXPERIMENTAL) Compute key driver analysis -*ActionsApi* | [**key_driver_analysis_result**](docs/ActionsApi.md#key_driver_analysis_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/computeKeyDrivers/result/{resultId} | (EXPERIMENTAL) Get key driver analysis result -*ActionsApi* | [**list_workspace_user_groups**](docs/ActionsApi.md#list_workspace_user_groups) | **GET** /api/v1/actions/workspaces/{workspaceId}/userGroups | -*ActionsApi* | [**list_workspace_users**](docs/ActionsApi.md#list_workspace_users) | **GET** /api/v1/actions/workspaces/{workspaceId}/users | -*ActionsApi* | [**manage_dashboard_permissions**](docs/ActionsApi.md#manage_dashboard_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/managePermissions | Manage Permissions for a Dashboard -*ActionsApi* | [**manage_data_source_permissions**](docs/ActionsApi.md#manage_data_source_permissions) | **POST** /api/v1/actions/dataSources/{dataSourceId}/managePermissions | Manage Permissions for a Data Source -*ActionsApi* | [**manage_organization_permissions**](docs/ActionsApi.md#manage_organization_permissions) | **POST** /api/v1/actions/organization/managePermissions | Manage Permissions for a Organization -*ActionsApi* | [**manage_workspace_permissions**](docs/ActionsApi.md#manage_workspace_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/managePermissions | Manage Permissions for a Workspace -*ActionsApi* | [**mark_as_read_notification**](docs/ActionsApi.md#mark_as_read_notification) | **POST** /api/v1/actions/notifications/{notificationId}/markAsRead | Mark notification as read. -*ActionsApi* | [**mark_as_read_notification_all**](docs/ActionsApi.md#mark_as_read_notification_all) | **POST** /api/v1/actions/notifications/markAsRead | Mark all notifications as read. -*ActionsApi* | [**memory_created_by_users**](docs/ActionsApi.md#memory_created_by_users) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/memory/createdBy | Get AI Memory CreatedBy Users -*ActionsApi* | [**metadata_sync**](docs/ActionsApi.md#metadata_sync) | **POST** /api/v1/actions/workspaces/{workspaceId}/metadataSync | (BETA) Sync Metadata to other services -*ActionsApi* | [**metadata_sync_organization**](docs/ActionsApi.md#metadata_sync_organization) | **POST** /api/v1/actions/organization/metadataSync | (BETA) Sync organization scope Metadata to other services -*ActionsApi* | [**overridden_child_entities**](docs/ActionsApi.md#overridden_child_entities) | **GET** /api/v1/actions/workspaces/{workspaceId}/overriddenChildEntities | Finds identifier overrides in workspace hierarchy. -*ActionsApi* | [**particular_platform_usage**](docs/ActionsApi.md#particular_platform_usage) | **POST** /api/v1/actions/collectUsage | Info about the platform usage for particular items. -*ActionsApi* | [**pause_organization_automations**](docs/ActionsApi.md#pause_organization_automations) | **POST** /api/v1/actions/organization/automations/pause | Pause selected automations across all workspaces -*ActionsApi* | [**pause_workspace_automations**](docs/ActionsApi.md#pause_workspace_automations) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/pause | Pause selected automations in the workspace -*ActionsApi* | [**register_upload_notification**](docs/ActionsApi.md#register_upload_notification) | **POST** /api/v1/actions/dataSources/{dataSourceId}/uploadNotification | Register an upload notification -*ActionsApi* | [**resolve_all_entitlements**](docs/ActionsApi.md#resolve_all_entitlements) | **GET** /api/v1/actions/resolveEntitlements | Values for all public entitlements. -*ActionsApi* | [**resolve_all_settings_without_workspace**](docs/ActionsApi.md#resolve_all_settings_without_workspace) | **GET** /api/v1/actions/resolveSettings | Values for all settings without workspace. -*ActionsApi* | [**resolve_llm_endpoints**](docs/ActionsApi.md#resolve_llm_endpoints) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmEndpoints | Get Active LLM Endpoints for this workspace -*ActionsApi* | [**resolve_requested_entitlements**](docs/ActionsApi.md#resolve_requested_entitlements) | **POST** /api/v1/actions/resolveEntitlements | Values for requested public entitlements. -*ActionsApi* | [**resolve_settings_without_workspace**](docs/ActionsApi.md#resolve_settings_without_workspace) | **POST** /api/v1/actions/resolveSettings | Values for selected settings without workspace. -*ActionsApi* | [**retrieve_execution_metadata**](docs/ActionsApi.md#retrieve_execution_metadata) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute/result/{resultId}/metadata | Get a single execution result's metadata. -*ActionsApi* | [**retrieve_result**](docs/ActionsApi.md#retrieve_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute/result/{resultId} | Get a single execution result -*ActionsApi* | [**retrieve_translations**](docs/ActionsApi.md#retrieve_translations) | **POST** /api/v1/actions/workspaces/{workspaceId}/translations/retrieve | Retrieve translations for entities. -*ActionsApi* | [**scan_data_source**](docs/ActionsApi.md#scan_data_source) | **POST** /api/v1/actions/dataSources/{dataSourceId}/scan | Scan a database to get a physical data model (PDM) -*ActionsApi* | [**scan_sql**](docs/ActionsApi.md#scan_sql) | **POST** /api/v1/actions/dataSources/{dataSourceId}/scanSql | Collect metadata about SQL query -*ActionsApi* | [**set_translations**](docs/ActionsApi.md#set_translations) | **POST** /api/v1/actions/workspaces/{workspaceId}/translations/set | Set translations for entities. -*ActionsApi* | [**switch_active_identity_provider**](docs/ActionsApi.md#switch_active_identity_provider) | **POST** /api/v1/actions/organization/switchActiveIdentityProvider | Switch Active Identity Provider -*ActionsApi* | [**tags**](docs/ActionsApi.md#tags) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/tags | Get Analytics Catalog Tags -*ActionsApi* | [**test_data_source**](docs/ActionsApi.md#test_data_source) | **POST** /api/v1/actions/dataSources/{dataSourceId}/test | Test data source connection by data source id -*ActionsApi* | [**test_data_source_definition**](docs/ActionsApi.md#test_data_source_definition) | **POST** /api/v1/actions/dataSource/test | Test connection by data source definition -*ActionsApi* | [**test_existing_notification_channel**](docs/ActionsApi.md#test_existing_notification_channel) | **POST** /api/v1/actions/notificationChannels/{notificationChannelId}/test | Test existing notification channel. -*ActionsApi* | [**test_notification_channel**](docs/ActionsApi.md#test_notification_channel) | **POST** /api/v1/actions/notificationChannels/test | Test notification channel. -*ActionsApi* | [**trigger_automation**](docs/ActionsApi.md#trigger_automation) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/trigger | Trigger automation. -*ActionsApi* | [**trigger_existing_automation**](docs/ActionsApi.md#trigger_existing_automation) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/{automationId}/trigger | Trigger existing automation. -*ActionsApi* | [**trigger_quality_issues_calculation**](docs/ActionsApi.md#trigger_quality_issues_calculation) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/issues/triggerCheck | Trigger Quality Issues Calculation -*ActionsApi* | [**unpause_organization_automations**](docs/ActionsApi.md#unpause_organization_automations) | **POST** /api/v1/actions/organization/automations/unpause | Unpause selected automations across all workspaces -*ActionsApi* | [**unpause_workspace_automations**](docs/ActionsApi.md#unpause_workspace_automations) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/unpause | Unpause selected automations in the workspace -*ActionsApi* | [**unsubscribe_all_automations**](docs/ActionsApi.md#unsubscribe_all_automations) | **DELETE** /api/v1/actions/organization/automations/unsubscribe | Unsubscribe from all automations in all workspaces -*ActionsApi* | [**unsubscribe_automation**](docs/ActionsApi.md#unsubscribe_automation) | **DELETE** /api/v1/actions/workspaces/{workspaceId}/automations/{automationId}/unsubscribe | Unsubscribe from an automation -*ActionsApi* | [**unsubscribe_organization_automations**](docs/ActionsApi.md#unsubscribe_organization_automations) | **POST** /api/v1/actions/organization/automations/unsubscribe | Unsubscribe from selected automations across all workspaces -*ActionsApi* | [**unsubscribe_selected_workspace_automations**](docs/ActionsApi.md#unsubscribe_selected_workspace_automations) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/unsubscribe | Unsubscribe from selected automations in the workspace -*ActionsApi* | [**unsubscribe_workspace_automations**](docs/ActionsApi.md#unsubscribe_workspace_automations) | **DELETE** /api/v1/actions/workspaces/{workspaceId}/automations/unsubscribe | Unsubscribe from all automations in the workspace -*ActionsApi* | [**validate_llm_endpoint**](docs/ActionsApi.md#validate_llm_endpoint) | **POST** /api/v1/actions/ai/llmEndpoint/test | Validate LLM Endpoint -*ActionsApi* | [**validate_llm_endpoint_by_id**](docs/ActionsApi.md#validate_llm_endpoint_by_id) | **POST** /api/v1/actions/ai/llmEndpoint/{llmEndpointId}/test | Validate LLM Endpoint By Id -*ActionsApi* | [**workspace_resolve_all_settings**](docs/ActionsApi.md#workspace_resolve_all_settings) | **GET** /api/v1/actions/workspaces/{workspaceId}/resolveSettings | Values for all settings. -*ActionsApi* | [**workspace_resolve_settings**](docs/ActionsApi.md#workspace_resolve_settings) | **POST** /api/v1/actions/workspaces/{workspaceId}/resolveSettings | Values for selected settings. -*AutomationOrganizationViewControllerApi* | [**get_all_automations_workspace_automations**](docs/AutomationOrganizationViewControllerApi.md#get_all_automations_workspace_automations) | **GET** /api/v1/entities/organization/workspaceAutomations | Get all Automations across all Workspaces -*EntitiesApi* | [**create_entity_analytical_dashboards**](docs/EntitiesApi.md#create_entity_analytical_dashboards) | **POST** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards | Post Dashboards -*EntitiesApi* | [**create_entity_api_tokens**](docs/EntitiesApi.md#create_entity_api_tokens) | **POST** /api/v1/entities/users/{userId}/apiTokens | Post a new API token for the user -*EntitiesApi* | [**create_entity_attribute_hierarchies**](docs/EntitiesApi.md#create_entity_attribute_hierarchies) | **POST** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies | Post Attribute Hierarchies -*EntitiesApi* | [**create_entity_automations**](docs/EntitiesApi.md#create_entity_automations) | **POST** /api/v1/entities/workspaces/{workspaceId}/automations | Post Automations -*EntitiesApi* | [**create_entity_color_palettes**](docs/EntitiesApi.md#create_entity_color_palettes) | **POST** /api/v1/entities/colorPalettes | Post Color Pallettes -*EntitiesApi* | [**create_entity_csp_directives**](docs/EntitiesApi.md#create_entity_csp_directives) | **POST** /api/v1/entities/cspDirectives | Post CSP Directives -*EntitiesApi* | [**create_entity_custom_application_settings**](docs/EntitiesApi.md#create_entity_custom_application_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings | Post Custom Application Settings -*EntitiesApi* | [**create_entity_dashboard_plugins**](docs/EntitiesApi.md#create_entity_dashboard_plugins) | **POST** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins | Post Plugins -*EntitiesApi* | [**create_entity_data_sources**](docs/EntitiesApi.md#create_entity_data_sources) | **POST** /api/v1/entities/dataSources | Post Data Sources -*EntitiesApi* | [**create_entity_export_definitions**](docs/EntitiesApi.md#create_entity_export_definitions) | **POST** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions | Post Export Definitions -*EntitiesApi* | [**create_entity_export_templates**](docs/EntitiesApi.md#create_entity_export_templates) | **POST** /api/v1/entities/exportTemplates | Post Export Template entities -*EntitiesApi* | [**create_entity_filter_contexts**](docs/EntitiesApi.md#create_entity_filter_contexts) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Post Context Filters -*EntitiesApi* | [**create_entity_filter_views**](docs/EntitiesApi.md#create_entity_filter_views) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterViews | Post Filter views -*EntitiesApi* | [**create_entity_identity_providers**](docs/EntitiesApi.md#create_entity_identity_providers) | **POST** /api/v1/entities/identityProviders | Post Identity Providers -*EntitiesApi* | [**create_entity_jwks**](docs/EntitiesApi.md#create_entity_jwks) | **POST** /api/v1/entities/jwks | Post Jwks -*EntitiesApi* | [**create_entity_llm_endpoints**](docs/EntitiesApi.md#create_entity_llm_endpoints) | **POST** /api/v1/entities/llmEndpoints | Post LLM endpoint entities -*EntitiesApi* | [**create_entity_memory_items**](docs/EntitiesApi.md#create_entity_memory_items) | **POST** /api/v1/entities/workspaces/{workspaceId}/memoryItems | -*EntitiesApi* | [**create_entity_metrics**](docs/EntitiesApi.md#create_entity_metrics) | **POST** /api/v1/entities/workspaces/{workspaceId}/metrics | Post Metrics -*EntitiesApi* | [**create_entity_notification_channels**](docs/EntitiesApi.md#create_entity_notification_channels) | **POST** /api/v1/entities/notificationChannels | Post Notification Channel entities -*EntitiesApi* | [**create_entity_organization_settings**](docs/EntitiesApi.md#create_entity_organization_settings) | **POST** /api/v1/entities/organizationSettings | Post Organization Setting entities -*EntitiesApi* | [**create_entity_themes**](docs/EntitiesApi.md#create_entity_themes) | **POST** /api/v1/entities/themes | Post Theming -*EntitiesApi* | [**create_entity_user_data_filters**](docs/EntitiesApi.md#create_entity_user_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/userDataFilters | Post User Data Filters -*EntitiesApi* | [**create_entity_user_groups**](docs/EntitiesApi.md#create_entity_user_groups) | **POST** /api/v1/entities/userGroups | Post User Group entities -*EntitiesApi* | [**create_entity_user_settings**](docs/EntitiesApi.md#create_entity_user_settings) | **POST** /api/v1/entities/users/{userId}/userSettings | Post new user settings for the user -*EntitiesApi* | [**create_entity_users**](docs/EntitiesApi.md#create_entity_users) | **POST** /api/v1/entities/users | Post User entities -*EntitiesApi* | [**create_entity_visualization_objects**](docs/EntitiesApi.md#create_entity_visualization_objects) | **POST** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects | Post Visualization Objects -*EntitiesApi* | [**create_entity_workspace_data_filter_settings**](docs/EntitiesApi.md#create_entity_workspace_data_filter_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings | Post Settings for Workspace Data Filters -*EntitiesApi* | [**create_entity_workspace_data_filters**](docs/EntitiesApi.md#create_entity_workspace_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters | Post Workspace Data Filters -*EntitiesApi* | [**create_entity_workspace_settings**](docs/EntitiesApi.md#create_entity_workspace_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings | Post Settings for Workspaces -*EntitiesApi* | [**create_entity_workspaces**](docs/EntitiesApi.md#create_entity_workspaces) | **POST** /api/v1/entities/workspaces | Post Workspace entities -*EntitiesApi* | [**delete_entity_analytical_dashboards**](docs/EntitiesApi.md#delete_entity_analytical_dashboards) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Delete a Dashboard -*EntitiesApi* | [**delete_entity_api_tokens**](docs/EntitiesApi.md#delete_entity_api_tokens) | **DELETE** /api/v1/entities/users/{userId}/apiTokens/{id} | Delete an API Token for a user -*EntitiesApi* | [**delete_entity_attribute_hierarchies**](docs/EntitiesApi.md#delete_entity_attribute_hierarchies) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Delete an Attribute Hierarchy -*EntitiesApi* | [**delete_entity_automations**](docs/EntitiesApi.md#delete_entity_automations) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/automations/{objectId} | Delete an Automation -*EntitiesApi* | [**delete_entity_color_palettes**](docs/EntitiesApi.md#delete_entity_color_palettes) | **DELETE** /api/v1/entities/colorPalettes/{id} | Delete a Color Pallette -*EntitiesApi* | [**delete_entity_csp_directives**](docs/EntitiesApi.md#delete_entity_csp_directives) | **DELETE** /api/v1/entities/cspDirectives/{id} | Delete CSP Directives -*EntitiesApi* | [**delete_entity_custom_application_settings**](docs/EntitiesApi.md#delete_entity_custom_application_settings) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Delete a Custom Application Setting -*EntitiesApi* | [**delete_entity_dashboard_plugins**](docs/EntitiesApi.md#delete_entity_dashboard_plugins) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Delete a Plugin -*EntitiesApi* | [**delete_entity_data_sources**](docs/EntitiesApi.md#delete_entity_data_sources) | **DELETE** /api/v1/entities/dataSources/{id} | Delete Data Source entity -*EntitiesApi* | [**delete_entity_export_definitions**](docs/EntitiesApi.md#delete_entity_export_definitions) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId} | Delete an Export Definition -*EntitiesApi* | [**delete_entity_export_templates**](docs/EntitiesApi.md#delete_entity_export_templates) | **DELETE** /api/v1/entities/exportTemplates/{id} | Delete Export Template entity -*EntitiesApi* | [**delete_entity_filter_contexts**](docs/EntitiesApi.md#delete_entity_filter_contexts) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Delete a Context Filter -*EntitiesApi* | [**delete_entity_filter_views**](docs/EntitiesApi.md#delete_entity_filter_views) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Delete Filter view -*EntitiesApi* | [**delete_entity_identity_providers**](docs/EntitiesApi.md#delete_entity_identity_providers) | **DELETE** /api/v1/entities/identityProviders/{id} | Delete Identity Provider -*EntitiesApi* | [**delete_entity_jwks**](docs/EntitiesApi.md#delete_entity_jwks) | **DELETE** /api/v1/entities/jwks/{id} | Delete Jwk -*EntitiesApi* | [**delete_entity_llm_endpoints**](docs/EntitiesApi.md#delete_entity_llm_endpoints) | **DELETE** /api/v1/entities/llmEndpoints/{id} | -*EntitiesApi* | [**delete_entity_memory_items**](docs/EntitiesApi.md#delete_entity_memory_items) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | -*EntitiesApi* | [**delete_entity_metrics**](docs/EntitiesApi.md#delete_entity_metrics) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Delete a Metric -*EntitiesApi* | [**delete_entity_notification_channels**](docs/EntitiesApi.md#delete_entity_notification_channels) | **DELETE** /api/v1/entities/notificationChannels/{id} | Delete Notification Channel entity -*EntitiesApi* | [**delete_entity_organization_settings**](docs/EntitiesApi.md#delete_entity_organization_settings) | **DELETE** /api/v1/entities/organizationSettings/{id} | Delete Organization entity -*EntitiesApi* | [**delete_entity_themes**](docs/EntitiesApi.md#delete_entity_themes) | **DELETE** /api/v1/entities/themes/{id} | Delete Theming -*EntitiesApi* | [**delete_entity_user_data_filters**](docs/EntitiesApi.md#delete_entity_user_data_filters) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Delete a User Data Filter -*EntitiesApi* | [**delete_entity_user_groups**](docs/EntitiesApi.md#delete_entity_user_groups) | **DELETE** /api/v1/entities/userGroups/{id} | Delete UserGroup entity -*EntitiesApi* | [**delete_entity_user_settings**](docs/EntitiesApi.md#delete_entity_user_settings) | **DELETE** /api/v1/entities/users/{userId}/userSettings/{id} | Delete a setting for a user -*EntitiesApi* | [**delete_entity_users**](docs/EntitiesApi.md#delete_entity_users) | **DELETE** /api/v1/entities/users/{id} | Delete User entity -*EntitiesApi* | [**delete_entity_visualization_objects**](docs/EntitiesApi.md#delete_entity_visualization_objects) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Delete a Visualization Object -*EntitiesApi* | [**delete_entity_workspace_data_filter_settings**](docs/EntitiesApi.md#delete_entity_workspace_data_filter_settings) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/{objectId} | Delete a Settings for Workspace Data Filter -*EntitiesApi* | [**delete_entity_workspace_data_filters**](docs/EntitiesApi.md#delete_entity_workspace_data_filters) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Delete a Workspace Data Filter -*EntitiesApi* | [**delete_entity_workspace_settings**](docs/EntitiesApi.md#delete_entity_workspace_settings) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Delete a Setting for Workspace -*EntitiesApi* | [**delete_entity_workspaces**](docs/EntitiesApi.md#delete_entity_workspaces) | **DELETE** /api/v1/entities/workspaces/{id} | Delete Workspace entity -*EntitiesApi* | [**get_all_automations_workspace_automations**](docs/EntitiesApi.md#get_all_automations_workspace_automations) | **GET** /api/v1/entities/organization/workspaceAutomations | Get all Automations across all Workspaces -*EntitiesApi* | [**get_all_entities_aggregated_facts**](docs/EntitiesApi.md#get_all_entities_aggregated_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts | -*EntitiesApi* | [**get_all_entities_analytical_dashboards**](docs/EntitiesApi.md#get_all_entities_analytical_dashboards) | **GET** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards | Get all Dashboards -*EntitiesApi* | [**get_all_entities_api_tokens**](docs/EntitiesApi.md#get_all_entities_api_tokens) | **GET** /api/v1/entities/users/{userId}/apiTokens | List all api tokens for a user -*EntitiesApi* | [**get_all_entities_attribute_hierarchies**](docs/EntitiesApi.md#get_all_entities_attribute_hierarchies) | **GET** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies | Get all Attribute Hierarchies -*EntitiesApi* | [**get_all_entities_attributes**](docs/EntitiesApi.md#get_all_entities_attributes) | **GET** /api/v1/entities/workspaces/{workspaceId}/attributes | Get all Attributes -*EntitiesApi* | [**get_all_entities_automations**](docs/EntitiesApi.md#get_all_entities_automations) | **GET** /api/v1/entities/workspaces/{workspaceId}/automations | Get all Automations -*EntitiesApi* | [**get_all_entities_color_palettes**](docs/EntitiesApi.md#get_all_entities_color_palettes) | **GET** /api/v1/entities/colorPalettes | Get all Color Pallettes -*EntitiesApi* | [**get_all_entities_csp_directives**](docs/EntitiesApi.md#get_all_entities_csp_directives) | **GET** /api/v1/entities/cspDirectives | Get CSP Directives -*EntitiesApi* | [**get_all_entities_custom_application_settings**](docs/EntitiesApi.md#get_all_entities_custom_application_settings) | **GET** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings | Get all Custom Application Settings -*EntitiesApi* | [**get_all_entities_dashboard_plugins**](docs/EntitiesApi.md#get_all_entities_dashboard_plugins) | **GET** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins | Get all Plugins -*EntitiesApi* | [**get_all_entities_data_source_identifiers**](docs/EntitiesApi.md#get_all_entities_data_source_identifiers) | **GET** /api/v1/entities/dataSourceIdentifiers | Get all Data Source Identifiers -*EntitiesApi* | [**get_all_entities_data_sources**](docs/EntitiesApi.md#get_all_entities_data_sources) | **GET** /api/v1/entities/dataSources | Get Data Source entities -*EntitiesApi* | [**get_all_entities_datasets**](docs/EntitiesApi.md#get_all_entities_datasets) | **GET** /api/v1/entities/workspaces/{workspaceId}/datasets | Get all Datasets -*EntitiesApi* | [**get_all_entities_entitlements**](docs/EntitiesApi.md#get_all_entities_entitlements) | **GET** /api/v1/entities/entitlements | Get Entitlements -*EntitiesApi* | [**get_all_entities_export_definitions**](docs/EntitiesApi.md#get_all_entities_export_definitions) | **GET** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions | Get all Export Definitions -*EntitiesApi* | [**get_all_entities_export_templates**](docs/EntitiesApi.md#get_all_entities_export_templates) | **GET** /api/v1/entities/exportTemplates | GET all Export Template entities -*EntitiesApi* | [**get_all_entities_facts**](docs/EntitiesApi.md#get_all_entities_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/facts | Get all Facts -*EntitiesApi* | [**get_all_entities_filter_contexts**](docs/EntitiesApi.md#get_all_entities_filter_contexts) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Get all Context Filters -*EntitiesApi* | [**get_all_entities_filter_views**](docs/EntitiesApi.md#get_all_entities_filter_views) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterViews | Get all Filter views -*EntitiesApi* | [**get_all_entities_identity_providers**](docs/EntitiesApi.md#get_all_entities_identity_providers) | **GET** /api/v1/entities/identityProviders | Get all Identity Providers -*EntitiesApi* | [**get_all_entities_jwks**](docs/EntitiesApi.md#get_all_entities_jwks) | **GET** /api/v1/entities/jwks | Get all Jwks -*EntitiesApi* | [**get_all_entities_labels**](docs/EntitiesApi.md#get_all_entities_labels) | **GET** /api/v1/entities/workspaces/{workspaceId}/labels | Get all Labels -*EntitiesApi* | [**get_all_entities_llm_endpoints**](docs/EntitiesApi.md#get_all_entities_llm_endpoints) | **GET** /api/v1/entities/llmEndpoints | Get all LLM endpoint entities -*EntitiesApi* | [**get_all_entities_memory_items**](docs/EntitiesApi.md#get_all_entities_memory_items) | **GET** /api/v1/entities/workspaces/{workspaceId}/memoryItems | -*EntitiesApi* | [**get_all_entities_metrics**](docs/EntitiesApi.md#get_all_entities_metrics) | **GET** /api/v1/entities/workspaces/{workspaceId}/metrics | Get all Metrics -*EntitiesApi* | [**get_all_entities_notification_channel_identifiers**](docs/EntitiesApi.md#get_all_entities_notification_channel_identifiers) | **GET** /api/v1/entities/notificationChannelIdentifiers | -*EntitiesApi* | [**get_all_entities_notification_channels**](docs/EntitiesApi.md#get_all_entities_notification_channels) | **GET** /api/v1/entities/notificationChannels | Get all Notification Channel entities -*EntitiesApi* | [**get_all_entities_organization_settings**](docs/EntitiesApi.md#get_all_entities_organization_settings) | **GET** /api/v1/entities/organizationSettings | Get Organization entities -*EntitiesApi* | [**get_all_entities_themes**](docs/EntitiesApi.md#get_all_entities_themes) | **GET** /api/v1/entities/themes | Get all Theming entities -*EntitiesApi* | [**get_all_entities_user_data_filters**](docs/EntitiesApi.md#get_all_entities_user_data_filters) | **GET** /api/v1/entities/workspaces/{workspaceId}/userDataFilters | Get all User Data Filters -*EntitiesApi* | [**get_all_entities_user_groups**](docs/EntitiesApi.md#get_all_entities_user_groups) | **GET** /api/v1/entities/userGroups | Get UserGroup entities -*EntitiesApi* | [**get_all_entities_user_identifiers**](docs/EntitiesApi.md#get_all_entities_user_identifiers) | **GET** /api/v1/entities/userIdentifiers | Get UserIdentifier entities -*EntitiesApi* | [**get_all_entities_user_settings**](docs/EntitiesApi.md#get_all_entities_user_settings) | **GET** /api/v1/entities/users/{userId}/userSettings | List all settings for a user -*EntitiesApi* | [**get_all_entities_users**](docs/EntitiesApi.md#get_all_entities_users) | **GET** /api/v1/entities/users | Get User entities -*EntitiesApi* | [**get_all_entities_visualization_objects**](docs/EntitiesApi.md#get_all_entities_visualization_objects) | **GET** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects | Get all Visualization Objects -*EntitiesApi* | [**get_all_entities_workspace_data_filter_settings**](docs/EntitiesApi.md#get_all_entities_workspace_data_filter_settings) | **GET** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings | Get all Settings for Workspace Data Filters -*EntitiesApi* | [**get_all_entities_workspace_data_filters**](docs/EntitiesApi.md#get_all_entities_workspace_data_filters) | **GET** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters | Get all Workspace Data Filters -*EntitiesApi* | [**get_all_entities_workspace_settings**](docs/EntitiesApi.md#get_all_entities_workspace_settings) | **GET** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings | Get all Setting for Workspaces -*EntitiesApi* | [**get_all_entities_workspaces**](docs/EntitiesApi.md#get_all_entities_workspaces) | **GET** /api/v1/entities/workspaces | Get Workspace entities -*EntitiesApi* | [**get_all_options**](docs/EntitiesApi.md#get_all_options) | **GET** /api/v1/options | Links for all configuration options -*EntitiesApi* | [**get_data_source_drivers**](docs/EntitiesApi.md#get_data_source_drivers) | **GET** /api/v1/options/availableDrivers | Get all available data source drivers -*EntitiesApi* | [**get_entity_aggregated_facts**](docs/EntitiesApi.md#get_entity_aggregated_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/{objectId} | -*EntitiesApi* | [**get_entity_analytical_dashboards**](docs/EntitiesApi.md#get_entity_analytical_dashboards) | **GET** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Get a Dashboard -*EntitiesApi* | [**get_entity_api_tokens**](docs/EntitiesApi.md#get_entity_api_tokens) | **GET** /api/v1/entities/users/{userId}/apiTokens/{id} | Get an API Token for a user -*EntitiesApi* | [**get_entity_attribute_hierarchies**](docs/EntitiesApi.md#get_entity_attribute_hierarchies) | **GET** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Get an Attribute Hierarchy -*EntitiesApi* | [**get_entity_attributes**](docs/EntitiesApi.md#get_entity_attributes) | **GET** /api/v1/entities/workspaces/{workspaceId}/attributes/{objectId} | Get an Attribute -*EntitiesApi* | [**get_entity_automations**](docs/EntitiesApi.md#get_entity_automations) | **GET** /api/v1/entities/workspaces/{workspaceId}/automations/{objectId} | Get an Automation -*EntitiesApi* | [**get_entity_color_palettes**](docs/EntitiesApi.md#get_entity_color_palettes) | **GET** /api/v1/entities/colorPalettes/{id} | Get Color Pallette -*EntitiesApi* | [**get_entity_cookie_security_configurations**](docs/EntitiesApi.md#get_entity_cookie_security_configurations) | **GET** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Get CookieSecurityConfiguration -*EntitiesApi* | [**get_entity_csp_directives**](docs/EntitiesApi.md#get_entity_csp_directives) | **GET** /api/v1/entities/cspDirectives/{id} | Get CSP Directives -*EntitiesApi* | [**get_entity_custom_application_settings**](docs/EntitiesApi.md#get_entity_custom_application_settings) | **GET** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Get a Custom Application Setting -*EntitiesApi* | [**get_entity_dashboard_plugins**](docs/EntitiesApi.md#get_entity_dashboard_plugins) | **GET** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Get a Plugin -*EntitiesApi* | [**get_entity_data_source_identifiers**](docs/EntitiesApi.md#get_entity_data_source_identifiers) | **GET** /api/v1/entities/dataSourceIdentifiers/{id} | Get Data Source Identifier -*EntitiesApi* | [**get_entity_data_sources**](docs/EntitiesApi.md#get_entity_data_sources) | **GET** /api/v1/entities/dataSources/{id} | Get Data Source entity -*EntitiesApi* | [**get_entity_datasets**](docs/EntitiesApi.md#get_entity_datasets) | **GET** /api/v1/entities/workspaces/{workspaceId}/datasets/{objectId} | Get a Dataset -*EntitiesApi* | [**get_entity_entitlements**](docs/EntitiesApi.md#get_entity_entitlements) | **GET** /api/v1/entities/entitlements/{id} | Get Entitlement -*EntitiesApi* | [**get_entity_export_definitions**](docs/EntitiesApi.md#get_entity_export_definitions) | **GET** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId} | Get an Export Definition -*EntitiesApi* | [**get_entity_export_templates**](docs/EntitiesApi.md#get_entity_export_templates) | **GET** /api/v1/entities/exportTemplates/{id} | GET Export Template entity -*EntitiesApi* | [**get_entity_facts**](docs/EntitiesApi.md#get_entity_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/facts/{objectId} | Get a Fact -*EntitiesApi* | [**get_entity_filter_contexts**](docs/EntitiesApi.md#get_entity_filter_contexts) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Get a Context Filter -*EntitiesApi* | [**get_entity_filter_views**](docs/EntitiesApi.md#get_entity_filter_views) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Get Filter view -*EntitiesApi* | [**get_entity_identity_providers**](docs/EntitiesApi.md#get_entity_identity_providers) | **GET** /api/v1/entities/identityProviders/{id} | Get Identity Provider -*EntitiesApi* | [**get_entity_jwks**](docs/EntitiesApi.md#get_entity_jwks) | **GET** /api/v1/entities/jwks/{id} | Get Jwk -*EntitiesApi* | [**get_entity_labels**](docs/EntitiesApi.md#get_entity_labels) | **GET** /api/v1/entities/workspaces/{workspaceId}/labels/{objectId} | Get a Label -*EntitiesApi* | [**get_entity_llm_endpoints**](docs/EntitiesApi.md#get_entity_llm_endpoints) | **GET** /api/v1/entities/llmEndpoints/{id} | Get LLM endpoint entity -*EntitiesApi* | [**get_entity_memory_items**](docs/EntitiesApi.md#get_entity_memory_items) | **GET** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | -*EntitiesApi* | [**get_entity_metrics**](docs/EntitiesApi.md#get_entity_metrics) | **GET** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Get a Metric -*EntitiesApi* | [**get_entity_notification_channel_identifiers**](docs/EntitiesApi.md#get_entity_notification_channel_identifiers) | **GET** /api/v1/entities/notificationChannelIdentifiers/{id} | -*EntitiesApi* | [**get_entity_notification_channels**](docs/EntitiesApi.md#get_entity_notification_channels) | **GET** /api/v1/entities/notificationChannels/{id} | Get Notification Channel entity -*EntitiesApi* | [**get_entity_organization_settings**](docs/EntitiesApi.md#get_entity_organization_settings) | **GET** /api/v1/entities/organizationSettings/{id} | Get Organization entity -*EntitiesApi* | [**get_entity_organizations**](docs/EntitiesApi.md#get_entity_organizations) | **GET** /api/v1/entities/admin/organizations/{id} | Get Organizations -*EntitiesApi* | [**get_entity_themes**](docs/EntitiesApi.md#get_entity_themes) | **GET** /api/v1/entities/themes/{id} | Get Theming -*EntitiesApi* | [**get_entity_user_data_filters**](docs/EntitiesApi.md#get_entity_user_data_filters) | **GET** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Get a User Data Filter -*EntitiesApi* | [**get_entity_user_groups**](docs/EntitiesApi.md#get_entity_user_groups) | **GET** /api/v1/entities/userGroups/{id} | Get UserGroup entity -*EntitiesApi* | [**get_entity_user_identifiers**](docs/EntitiesApi.md#get_entity_user_identifiers) | **GET** /api/v1/entities/userIdentifiers/{id} | Get UserIdentifier entity -*EntitiesApi* | [**get_entity_user_settings**](docs/EntitiesApi.md#get_entity_user_settings) | **GET** /api/v1/entities/users/{userId}/userSettings/{id} | Get a setting for a user -*EntitiesApi* | [**get_entity_users**](docs/EntitiesApi.md#get_entity_users) | **GET** /api/v1/entities/users/{id} | Get User entity -*EntitiesApi* | [**get_entity_visualization_objects**](docs/EntitiesApi.md#get_entity_visualization_objects) | **GET** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Get a Visualization Object -*EntitiesApi* | [**get_entity_workspace_data_filter_settings**](docs/EntitiesApi.md#get_entity_workspace_data_filter_settings) | **GET** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/{objectId} | Get a Setting for Workspace Data Filter -*EntitiesApi* | [**get_entity_workspace_data_filters**](docs/EntitiesApi.md#get_entity_workspace_data_filters) | **GET** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Get a Workspace Data Filter -*EntitiesApi* | [**get_entity_workspace_settings**](docs/EntitiesApi.md#get_entity_workspace_settings) | **GET** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Get a Setting for Workspace -*EntitiesApi* | [**get_entity_workspaces**](docs/EntitiesApi.md#get_entity_workspaces) | **GET** /api/v1/entities/workspaces/{id} | Get Workspace entity -*EntitiesApi* | [**get_organization**](docs/EntitiesApi.md#get_organization) | **GET** /api/v1/entities/organization | Get current organization info -*EntitiesApi* | [**patch_entity_analytical_dashboards**](docs/EntitiesApi.md#patch_entity_analytical_dashboards) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Patch a Dashboard -*EntitiesApi* | [**patch_entity_attribute_hierarchies**](docs/EntitiesApi.md#patch_entity_attribute_hierarchies) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Patch an Attribute Hierarchy -*EntitiesApi* | [**patch_entity_attributes**](docs/EntitiesApi.md#patch_entity_attributes) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/attributes/{objectId} | Patch an Attribute (beta) -*EntitiesApi* | [**patch_entity_automations**](docs/EntitiesApi.md#patch_entity_automations) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/automations/{objectId} | Patch an Automation -*EntitiesApi* | [**patch_entity_color_palettes**](docs/EntitiesApi.md#patch_entity_color_palettes) | **PATCH** /api/v1/entities/colorPalettes/{id} | Patch Color Pallette -*EntitiesApi* | [**patch_entity_cookie_security_configurations**](docs/EntitiesApi.md#patch_entity_cookie_security_configurations) | **PATCH** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Patch CookieSecurityConfiguration -*EntitiesApi* | [**patch_entity_csp_directives**](docs/EntitiesApi.md#patch_entity_csp_directives) | **PATCH** /api/v1/entities/cspDirectives/{id} | Patch CSP Directives -*EntitiesApi* | [**patch_entity_custom_application_settings**](docs/EntitiesApi.md#patch_entity_custom_application_settings) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Patch a Custom Application Setting -*EntitiesApi* | [**patch_entity_dashboard_plugins**](docs/EntitiesApi.md#patch_entity_dashboard_plugins) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Patch a Plugin -*EntitiesApi* | [**patch_entity_data_sources**](docs/EntitiesApi.md#patch_entity_data_sources) | **PATCH** /api/v1/entities/dataSources/{id} | Patch Data Source entity -*EntitiesApi* | [**patch_entity_datasets**](docs/EntitiesApi.md#patch_entity_datasets) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/datasets/{objectId} | Patch a Dataset (beta) -*EntitiesApi* | [**patch_entity_export_definitions**](docs/EntitiesApi.md#patch_entity_export_definitions) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId} | Patch an Export Definition -*EntitiesApi* | [**patch_entity_export_templates**](docs/EntitiesApi.md#patch_entity_export_templates) | **PATCH** /api/v1/entities/exportTemplates/{id} | Patch Export Template entity -*EntitiesApi* | [**patch_entity_facts**](docs/EntitiesApi.md#patch_entity_facts) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/facts/{objectId} | Patch a Fact (beta) -*EntitiesApi* | [**patch_entity_filter_contexts**](docs/EntitiesApi.md#patch_entity_filter_contexts) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Patch a Context Filter -*EntitiesApi* | [**patch_entity_filter_views**](docs/EntitiesApi.md#patch_entity_filter_views) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Patch Filter view -*EntitiesApi* | [**patch_entity_identity_providers**](docs/EntitiesApi.md#patch_entity_identity_providers) | **PATCH** /api/v1/entities/identityProviders/{id} | Patch Identity Provider -*EntitiesApi* | [**patch_entity_jwks**](docs/EntitiesApi.md#patch_entity_jwks) | **PATCH** /api/v1/entities/jwks/{id} | Patch Jwk -*EntitiesApi* | [**patch_entity_labels**](docs/EntitiesApi.md#patch_entity_labels) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/labels/{objectId} | Patch a Label (beta) -*EntitiesApi* | [**patch_entity_llm_endpoints**](docs/EntitiesApi.md#patch_entity_llm_endpoints) | **PATCH** /api/v1/entities/llmEndpoints/{id} | Patch LLM endpoint entity -*EntitiesApi* | [**patch_entity_memory_items**](docs/EntitiesApi.md#patch_entity_memory_items) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | -*EntitiesApi* | [**patch_entity_metrics**](docs/EntitiesApi.md#patch_entity_metrics) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Patch a Metric -*EntitiesApi* | [**patch_entity_notification_channels**](docs/EntitiesApi.md#patch_entity_notification_channels) | **PATCH** /api/v1/entities/notificationChannels/{id} | Patch Notification Channel entity -*EntitiesApi* | [**patch_entity_organization_settings**](docs/EntitiesApi.md#patch_entity_organization_settings) | **PATCH** /api/v1/entities/organizationSettings/{id} | Patch Organization entity -*EntitiesApi* | [**patch_entity_organizations**](docs/EntitiesApi.md#patch_entity_organizations) | **PATCH** /api/v1/entities/admin/organizations/{id} | Patch Organization -*EntitiesApi* | [**patch_entity_themes**](docs/EntitiesApi.md#patch_entity_themes) | **PATCH** /api/v1/entities/themes/{id} | Patch Theming -*EntitiesApi* | [**patch_entity_user_data_filters**](docs/EntitiesApi.md#patch_entity_user_data_filters) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Patch a User Data Filter -*EntitiesApi* | [**patch_entity_user_groups**](docs/EntitiesApi.md#patch_entity_user_groups) | **PATCH** /api/v1/entities/userGroups/{id} | Patch UserGroup entity -*EntitiesApi* | [**patch_entity_users**](docs/EntitiesApi.md#patch_entity_users) | **PATCH** /api/v1/entities/users/{id} | Patch User entity -*EntitiesApi* | [**patch_entity_visualization_objects**](docs/EntitiesApi.md#patch_entity_visualization_objects) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Patch a Visualization Object -*EntitiesApi* | [**patch_entity_workspace_data_filter_settings**](docs/EntitiesApi.md#patch_entity_workspace_data_filter_settings) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/{objectId} | Patch a Settings for Workspace Data Filter -*EntitiesApi* | [**patch_entity_workspace_data_filters**](docs/EntitiesApi.md#patch_entity_workspace_data_filters) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Patch a Workspace Data Filter -*EntitiesApi* | [**patch_entity_workspace_settings**](docs/EntitiesApi.md#patch_entity_workspace_settings) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Patch a Setting for Workspace -*EntitiesApi* | [**patch_entity_workspaces**](docs/EntitiesApi.md#patch_entity_workspaces) | **PATCH** /api/v1/entities/workspaces/{id} | Patch Workspace entity -*EntitiesApi* | [**search_entities_aggregated_facts**](docs/EntitiesApi.md#search_entities_aggregated_facts) | **POST** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/search | Search request for AggregatedFact -*EntitiesApi* | [**search_entities_analytical_dashboards**](docs/EntitiesApi.md#search_entities_analytical_dashboards) | **POST** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/search | Search request for AnalyticalDashboard -*EntitiesApi* | [**search_entities_attribute_hierarchies**](docs/EntitiesApi.md#search_entities_attribute_hierarchies) | **POST** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/search | Search request for AttributeHierarchy -*EntitiesApi* | [**search_entities_attributes**](docs/EntitiesApi.md#search_entities_attributes) | **POST** /api/v1/entities/workspaces/{workspaceId}/attributes/search | Search request for Attribute -*EntitiesApi* | [**search_entities_automation_results**](docs/EntitiesApi.md#search_entities_automation_results) | **POST** /api/v1/entities/workspaces/{workspaceId}/automationResults/search | Search request for AutomationResult -*EntitiesApi* | [**search_entities_automations**](docs/EntitiesApi.md#search_entities_automations) | **POST** /api/v1/entities/workspaces/{workspaceId}/automations/search | Search request for Automation -*EntitiesApi* | [**search_entities_custom_application_settings**](docs/EntitiesApi.md#search_entities_custom_application_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/search | Search request for CustomApplicationSetting -*EntitiesApi* | [**search_entities_dashboard_plugins**](docs/EntitiesApi.md#search_entities_dashboard_plugins) | **POST** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/search | Search request for DashboardPlugin -*EntitiesApi* | [**search_entities_datasets**](docs/EntitiesApi.md#search_entities_datasets) | **POST** /api/v1/entities/workspaces/{workspaceId}/datasets/search | Search request for Dataset -*EntitiesApi* | [**search_entities_export_definitions**](docs/EntitiesApi.md#search_entities_export_definitions) | **POST** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/search | Search request for ExportDefinition -*EntitiesApi* | [**search_entities_facts**](docs/EntitiesApi.md#search_entities_facts) | **POST** /api/v1/entities/workspaces/{workspaceId}/facts/search | Search request for Fact -*EntitiesApi* | [**search_entities_filter_contexts**](docs/EntitiesApi.md#search_entities_filter_contexts) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterContexts/search | Search request for FilterContext -*EntitiesApi* | [**search_entities_filter_views**](docs/EntitiesApi.md#search_entities_filter_views) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterViews/search | Search request for FilterView -*EntitiesApi* | [**search_entities_labels**](docs/EntitiesApi.md#search_entities_labels) | **POST** /api/v1/entities/workspaces/{workspaceId}/labels/search | Search request for Label -*EntitiesApi* | [**search_entities_memory_items**](docs/EntitiesApi.md#search_entities_memory_items) | **POST** /api/v1/entities/workspaces/{workspaceId}/memoryItems/search | Search request for MemoryItem -*EntitiesApi* | [**search_entities_metrics**](docs/EntitiesApi.md#search_entities_metrics) | **POST** /api/v1/entities/workspaces/{workspaceId}/metrics/search | Search request for Metric -*EntitiesApi* | [**search_entities_user_data_filters**](docs/EntitiesApi.md#search_entities_user_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/search | Search request for UserDataFilter -*EntitiesApi* | [**search_entities_visualization_objects**](docs/EntitiesApi.md#search_entities_visualization_objects) | **POST** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/search | Search request for VisualizationObject -*EntitiesApi* | [**search_entities_workspace_data_filter_settings**](docs/EntitiesApi.md#search_entities_workspace_data_filter_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/search | Search request for WorkspaceDataFilterSetting -*EntitiesApi* | [**search_entities_workspace_data_filters**](docs/EntitiesApi.md#search_entities_workspace_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/search | Search request for WorkspaceDataFilter -*EntitiesApi* | [**search_entities_workspace_settings**](docs/EntitiesApi.md#search_entities_workspace_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/search | -*EntitiesApi* | [**update_entity_analytical_dashboards**](docs/EntitiesApi.md#update_entity_analytical_dashboards) | **PUT** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Put Dashboards -*EntitiesApi* | [**update_entity_attribute_hierarchies**](docs/EntitiesApi.md#update_entity_attribute_hierarchies) | **PUT** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Put an Attribute Hierarchy -*EntitiesApi* | [**update_entity_automations**](docs/EntitiesApi.md#update_entity_automations) | **PUT** /api/v1/entities/workspaces/{workspaceId}/automations/{objectId} | Put an Automation -*EntitiesApi* | [**update_entity_color_palettes**](docs/EntitiesApi.md#update_entity_color_palettes) | **PUT** /api/v1/entities/colorPalettes/{id} | Put Color Pallette -*EntitiesApi* | [**update_entity_cookie_security_configurations**](docs/EntitiesApi.md#update_entity_cookie_security_configurations) | **PUT** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Put CookieSecurityConfiguration -*EntitiesApi* | [**update_entity_csp_directives**](docs/EntitiesApi.md#update_entity_csp_directives) | **PUT** /api/v1/entities/cspDirectives/{id} | Put CSP Directives -*EntitiesApi* | [**update_entity_custom_application_settings**](docs/EntitiesApi.md#update_entity_custom_application_settings) | **PUT** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Put a Custom Application Setting -*EntitiesApi* | [**update_entity_dashboard_plugins**](docs/EntitiesApi.md#update_entity_dashboard_plugins) | **PUT** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Put a Plugin -*EntitiesApi* | [**update_entity_data_sources**](docs/EntitiesApi.md#update_entity_data_sources) | **PUT** /api/v1/entities/dataSources/{id} | Put Data Source entity -*EntitiesApi* | [**update_entity_export_definitions**](docs/EntitiesApi.md#update_entity_export_definitions) | **PUT** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId} | Put an Export Definition -*EntitiesApi* | [**update_entity_export_templates**](docs/EntitiesApi.md#update_entity_export_templates) | **PUT** /api/v1/entities/exportTemplates/{id} | PUT Export Template entity -*EntitiesApi* | [**update_entity_filter_contexts**](docs/EntitiesApi.md#update_entity_filter_contexts) | **PUT** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Put a Context Filter -*EntitiesApi* | [**update_entity_filter_views**](docs/EntitiesApi.md#update_entity_filter_views) | **PUT** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Put Filter views -*EntitiesApi* | [**update_entity_identity_providers**](docs/EntitiesApi.md#update_entity_identity_providers) | **PUT** /api/v1/entities/identityProviders/{id} | Put Identity Provider -*EntitiesApi* | [**update_entity_jwks**](docs/EntitiesApi.md#update_entity_jwks) | **PUT** /api/v1/entities/jwks/{id} | Put Jwk -*EntitiesApi* | [**update_entity_llm_endpoints**](docs/EntitiesApi.md#update_entity_llm_endpoints) | **PUT** /api/v1/entities/llmEndpoints/{id} | PUT LLM endpoint entity -*EntitiesApi* | [**update_entity_memory_items**](docs/EntitiesApi.md#update_entity_memory_items) | **PUT** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | -*EntitiesApi* | [**update_entity_metrics**](docs/EntitiesApi.md#update_entity_metrics) | **PUT** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Put a Metric -*EntitiesApi* | [**update_entity_notification_channels**](docs/EntitiesApi.md#update_entity_notification_channels) | **PUT** /api/v1/entities/notificationChannels/{id} | Put Notification Channel entity -*EntitiesApi* | [**update_entity_organization_settings**](docs/EntitiesApi.md#update_entity_organization_settings) | **PUT** /api/v1/entities/organizationSettings/{id} | Put Organization entity -*EntitiesApi* | [**update_entity_organizations**](docs/EntitiesApi.md#update_entity_organizations) | **PUT** /api/v1/entities/admin/organizations/{id} | Put Organization -*EntitiesApi* | [**update_entity_themes**](docs/EntitiesApi.md#update_entity_themes) | **PUT** /api/v1/entities/themes/{id} | Put Theming -*EntitiesApi* | [**update_entity_user_data_filters**](docs/EntitiesApi.md#update_entity_user_data_filters) | **PUT** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Put a User Data Filter -*EntitiesApi* | [**update_entity_user_groups**](docs/EntitiesApi.md#update_entity_user_groups) | **PUT** /api/v1/entities/userGroups/{id} | Put UserGroup entity -*EntitiesApi* | [**update_entity_user_settings**](docs/EntitiesApi.md#update_entity_user_settings) | **PUT** /api/v1/entities/users/{userId}/userSettings/{id} | Put new user settings for the user -*EntitiesApi* | [**update_entity_users**](docs/EntitiesApi.md#update_entity_users) | **PUT** /api/v1/entities/users/{id} | Put User entity -*EntitiesApi* | [**update_entity_visualization_objects**](docs/EntitiesApi.md#update_entity_visualization_objects) | **PUT** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Put a Visualization Object -*EntitiesApi* | [**update_entity_workspace_data_filter_settings**](docs/EntitiesApi.md#update_entity_workspace_data_filter_settings) | **PUT** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/{objectId} | Put a Settings for Workspace Data Filter -*EntitiesApi* | [**update_entity_workspace_data_filters**](docs/EntitiesApi.md#update_entity_workspace_data_filters) | **PUT** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Put a Workspace Data Filter -*EntitiesApi* | [**update_entity_workspace_settings**](docs/EntitiesApi.md#update_entity_workspace_settings) | **PUT** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Put a Setting for a Workspace -*EntitiesApi* | [**update_entity_workspaces**](docs/EntitiesApi.md#update_entity_workspaces) | **PUT** /api/v1/entities/workspaces/{id} | Put Workspace entity -*LayoutApi* | [**get_analytics_model**](docs/LayoutApi.md#get_analytics_model) | **GET** /api/v1/layout/workspaces/{workspaceId}/analyticsModel | Get analytics model -*LayoutApi* | [**get_automations**](docs/LayoutApi.md#get_automations) | **GET** /api/v1/layout/workspaces/{workspaceId}/automations | Get automations -*LayoutApi* | [**get_data_source_permissions**](docs/LayoutApi.md#get_data_source_permissions) | **GET** /api/v1/layout/dataSources/{dataSourceId}/permissions | Get permissions for the data source -*LayoutApi* | [**get_data_sources_layout**](docs/LayoutApi.md#get_data_sources_layout) | **GET** /api/v1/layout/dataSources | Get all data sources -*LayoutApi* | [**get_export_templates_layout**](docs/LayoutApi.md#get_export_templates_layout) | **GET** /api/v1/layout/exportTemplates | Get all export templates layout -*LayoutApi* | [**get_filter_views**](docs/LayoutApi.md#get_filter_views) | **GET** /api/v1/layout/workspaces/{workspaceId}/filterViews | Get filter views -*LayoutApi* | [**get_identity_providers_layout**](docs/LayoutApi.md#get_identity_providers_layout) | **GET** /api/v1/layout/identityProviders | Get all identity providers layout -*LayoutApi* | [**get_logical_model**](docs/LayoutApi.md#get_logical_model) | **GET** /api/v1/layout/workspaces/{workspaceId}/logicalModel | Get logical model -*LayoutApi* | [**get_notification_channels_layout**](docs/LayoutApi.md#get_notification_channels_layout) | **GET** /api/v1/layout/notificationChannels | Get all notification channels layout -*LayoutApi* | [**get_organization_layout**](docs/LayoutApi.md#get_organization_layout) | **GET** /api/v1/layout/organization | Get organization layout -*LayoutApi* | [**get_organization_permissions**](docs/LayoutApi.md#get_organization_permissions) | **GET** /api/v1/layout/organization/permissions | Get organization permissions -*LayoutApi* | [**get_user_data_filters**](docs/LayoutApi.md#get_user_data_filters) | **GET** /api/v1/layout/workspaces/{workspaceId}/userDataFilters | Get user data filters -*LayoutApi* | [**get_user_group_permissions**](docs/LayoutApi.md#get_user_group_permissions) | **GET** /api/v1/layout/userGroups/{userGroupId}/permissions | Get permissions for the user-group -*LayoutApi* | [**get_user_groups_layout**](docs/LayoutApi.md#get_user_groups_layout) | **GET** /api/v1/layout/userGroups | Get all user groups -*LayoutApi* | [**get_user_permissions**](docs/LayoutApi.md#get_user_permissions) | **GET** /api/v1/layout/users/{userId}/permissions | Get permissions for the user -*LayoutApi* | [**get_users_layout**](docs/LayoutApi.md#get_users_layout) | **GET** /api/v1/layout/users | Get all users -*LayoutApi* | [**get_users_user_groups_layout**](docs/LayoutApi.md#get_users_user_groups_layout) | **GET** /api/v1/layout/usersAndUserGroups | Get all users and user groups -*LayoutApi* | [**get_workspace_data_filters_layout**](docs/LayoutApi.md#get_workspace_data_filters_layout) | **GET** /api/v1/layout/workspaceDataFilters | Get workspace data filters for all workspaces -*LayoutApi* | [**get_workspace_layout**](docs/LayoutApi.md#get_workspace_layout) | **GET** /api/v1/layout/workspaces/{workspaceId} | Get workspace layout -*LayoutApi* | [**get_workspace_permissions**](docs/LayoutApi.md#get_workspace_permissions) | **GET** /api/v1/layout/workspaces/{workspaceId}/permissions | Get permissions for the workspace -*LayoutApi* | [**get_workspaces_layout**](docs/LayoutApi.md#get_workspaces_layout) | **GET** /api/v1/layout/workspaces | Get all workspaces layout -*LayoutApi* | [**put_data_sources_layout**](docs/LayoutApi.md#put_data_sources_layout) | **PUT** /api/v1/layout/dataSources | Put all data sources -*LayoutApi* | [**put_user_groups_layout**](docs/LayoutApi.md#put_user_groups_layout) | **PUT** /api/v1/layout/userGroups | Put all user groups -*LayoutApi* | [**put_users_layout**](docs/LayoutApi.md#put_users_layout) | **PUT** /api/v1/layout/users | Put all users -*LayoutApi* | [**put_users_user_groups_layout**](docs/LayoutApi.md#put_users_user_groups_layout) | **PUT** /api/v1/layout/usersAndUserGroups | Put all users and user groups -*LayoutApi* | [**put_workspace_layout**](docs/LayoutApi.md#put_workspace_layout) | **PUT** /api/v1/layout/workspaces/{workspaceId} | Set workspace layout -*LayoutApi* | [**set_analytics_model**](docs/LayoutApi.md#set_analytics_model) | **PUT** /api/v1/layout/workspaces/{workspaceId}/analyticsModel | Set analytics model -*LayoutApi* | [**set_automations**](docs/LayoutApi.md#set_automations) | **PUT** /api/v1/layout/workspaces/{workspaceId}/automations | Set automations -*LayoutApi* | [**set_data_source_permissions**](docs/LayoutApi.md#set_data_source_permissions) | **PUT** /api/v1/layout/dataSources/{dataSourceId}/permissions | Set data source permissions. -*LayoutApi* | [**set_export_templates**](docs/LayoutApi.md#set_export_templates) | **PUT** /api/v1/layout/exportTemplates | Set all export templates -*LayoutApi* | [**set_filter_views**](docs/LayoutApi.md#set_filter_views) | **PUT** /api/v1/layout/workspaces/{workspaceId}/filterViews | Set filter views -*LayoutApi* | [**set_identity_providers**](docs/LayoutApi.md#set_identity_providers) | **PUT** /api/v1/layout/identityProviders | Set all identity providers -*LayoutApi* | [**set_logical_model**](docs/LayoutApi.md#set_logical_model) | **PUT** /api/v1/layout/workspaces/{workspaceId}/logicalModel | Set logical model -*LayoutApi* | [**set_notification_channels**](docs/LayoutApi.md#set_notification_channels) | **PUT** /api/v1/layout/notificationChannels | Set all notification channels -*LayoutApi* | [**set_organization_layout**](docs/LayoutApi.md#set_organization_layout) | **PUT** /api/v1/layout/organization | Set organization layout -*LayoutApi* | [**set_organization_permissions**](docs/LayoutApi.md#set_organization_permissions) | **PUT** /api/v1/layout/organization/permissions | Set organization permissions -*LayoutApi* | [**set_user_data_filters**](docs/LayoutApi.md#set_user_data_filters) | **PUT** /api/v1/layout/workspaces/{workspaceId}/userDataFilters | Set user data filters -*LayoutApi* | [**set_user_group_permissions**](docs/LayoutApi.md#set_user_group_permissions) | **PUT** /api/v1/layout/userGroups/{userGroupId}/permissions | Set permissions for the user-group -*LayoutApi* | [**set_user_permissions**](docs/LayoutApi.md#set_user_permissions) | **PUT** /api/v1/layout/users/{userId}/permissions | Set permissions for the user -*LayoutApi* | [**set_workspace_data_filters_layout**](docs/LayoutApi.md#set_workspace_data_filters_layout) | **PUT** /api/v1/layout/workspaceDataFilters | Set all workspace data filters -*LayoutApi* | [**set_workspace_permissions**](docs/LayoutApi.md#set_workspace_permissions) | **PUT** /api/v1/layout/workspaces/{workspaceId}/permissions | Set permissions for the workspace -*LayoutApi* | [**set_workspaces_layout**](docs/LayoutApi.md#set_workspaces_layout) | **PUT** /api/v1/layout/workspaces | Set all workspaces layout -*OrganizationControllerApi* | [**get_entity_cookie_security_configurations**](docs/OrganizationControllerApi.md#get_entity_cookie_security_configurations) | **GET** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Get CookieSecurityConfiguration -*OrganizationControllerApi* | [**get_entity_organizations**](docs/OrganizationControllerApi.md#get_entity_organizations) | **GET** /api/v1/entities/admin/organizations/{id} | Get Organizations -*OrganizationControllerApi* | [**patch_entity_cookie_security_configurations**](docs/OrganizationControllerApi.md#patch_entity_cookie_security_configurations) | **PATCH** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Patch CookieSecurityConfiguration -*OrganizationControllerApi* | [**patch_entity_organizations**](docs/OrganizationControllerApi.md#patch_entity_organizations) | **PATCH** /api/v1/entities/admin/organizations/{id} | Patch Organization -*OrganizationControllerApi* | [**update_entity_cookie_security_configurations**](docs/OrganizationControllerApi.md#update_entity_cookie_security_configurations) | **PUT** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Put CookieSecurityConfiguration -*OrganizationControllerApi* | [**update_entity_organizations**](docs/OrganizationControllerApi.md#update_entity_organizations) | **PUT** /api/v1/entities/admin/organizations/{id} | Put Organization -*OrganizationModelControllerApi* | [**create_entity_color_palettes**](docs/OrganizationModelControllerApi.md#create_entity_color_palettes) | **POST** /api/v1/entities/colorPalettes | Post Color Pallettes -*OrganizationModelControllerApi* | [**create_entity_csp_directives**](docs/OrganizationModelControllerApi.md#create_entity_csp_directives) | **POST** /api/v1/entities/cspDirectives | Post CSP Directives -*OrganizationModelControllerApi* | [**create_entity_data_sources**](docs/OrganizationModelControllerApi.md#create_entity_data_sources) | **POST** /api/v1/entities/dataSources | Post Data Sources -*OrganizationModelControllerApi* | [**create_entity_export_templates**](docs/OrganizationModelControllerApi.md#create_entity_export_templates) | **POST** /api/v1/entities/exportTemplates | Post Export Template entities -*OrganizationModelControllerApi* | [**create_entity_identity_providers**](docs/OrganizationModelControllerApi.md#create_entity_identity_providers) | **POST** /api/v1/entities/identityProviders | Post Identity Providers -*OrganizationModelControllerApi* | [**create_entity_jwks**](docs/OrganizationModelControllerApi.md#create_entity_jwks) | **POST** /api/v1/entities/jwks | Post Jwks -*OrganizationModelControllerApi* | [**create_entity_llm_endpoints**](docs/OrganizationModelControllerApi.md#create_entity_llm_endpoints) | **POST** /api/v1/entities/llmEndpoints | Post LLM endpoint entities -*OrganizationModelControllerApi* | [**create_entity_notification_channels**](docs/OrganizationModelControllerApi.md#create_entity_notification_channels) | **POST** /api/v1/entities/notificationChannels | Post Notification Channel entities -*OrganizationModelControllerApi* | [**create_entity_organization_settings**](docs/OrganizationModelControllerApi.md#create_entity_organization_settings) | **POST** /api/v1/entities/organizationSettings | Post Organization Setting entities -*OrganizationModelControllerApi* | [**create_entity_themes**](docs/OrganizationModelControllerApi.md#create_entity_themes) | **POST** /api/v1/entities/themes | Post Theming -*OrganizationModelControllerApi* | [**create_entity_user_groups**](docs/OrganizationModelControllerApi.md#create_entity_user_groups) | **POST** /api/v1/entities/userGroups | Post User Group entities -*OrganizationModelControllerApi* | [**create_entity_users**](docs/OrganizationModelControllerApi.md#create_entity_users) | **POST** /api/v1/entities/users | Post User entities -*OrganizationModelControllerApi* | [**create_entity_workspaces**](docs/OrganizationModelControllerApi.md#create_entity_workspaces) | **POST** /api/v1/entities/workspaces | Post Workspace entities -*OrganizationModelControllerApi* | [**delete_entity_color_palettes**](docs/OrganizationModelControllerApi.md#delete_entity_color_palettes) | **DELETE** /api/v1/entities/colorPalettes/{id} | Delete a Color Pallette -*OrganizationModelControllerApi* | [**delete_entity_csp_directives**](docs/OrganizationModelControllerApi.md#delete_entity_csp_directives) | **DELETE** /api/v1/entities/cspDirectives/{id} | Delete CSP Directives -*OrganizationModelControllerApi* | [**delete_entity_data_sources**](docs/OrganizationModelControllerApi.md#delete_entity_data_sources) | **DELETE** /api/v1/entities/dataSources/{id} | Delete Data Source entity -*OrganizationModelControllerApi* | [**delete_entity_export_templates**](docs/OrganizationModelControllerApi.md#delete_entity_export_templates) | **DELETE** /api/v1/entities/exportTemplates/{id} | Delete Export Template entity -*OrganizationModelControllerApi* | [**delete_entity_identity_providers**](docs/OrganizationModelControllerApi.md#delete_entity_identity_providers) | **DELETE** /api/v1/entities/identityProviders/{id} | Delete Identity Provider -*OrganizationModelControllerApi* | [**delete_entity_jwks**](docs/OrganizationModelControllerApi.md#delete_entity_jwks) | **DELETE** /api/v1/entities/jwks/{id} | Delete Jwk -*OrganizationModelControllerApi* | [**delete_entity_llm_endpoints**](docs/OrganizationModelControllerApi.md#delete_entity_llm_endpoints) | **DELETE** /api/v1/entities/llmEndpoints/{id} | -*OrganizationModelControllerApi* | [**delete_entity_notification_channels**](docs/OrganizationModelControllerApi.md#delete_entity_notification_channels) | **DELETE** /api/v1/entities/notificationChannels/{id} | Delete Notification Channel entity -*OrganizationModelControllerApi* | [**delete_entity_organization_settings**](docs/OrganizationModelControllerApi.md#delete_entity_organization_settings) | **DELETE** /api/v1/entities/organizationSettings/{id} | Delete Organization entity -*OrganizationModelControllerApi* | [**delete_entity_themes**](docs/OrganizationModelControllerApi.md#delete_entity_themes) | **DELETE** /api/v1/entities/themes/{id} | Delete Theming -*OrganizationModelControllerApi* | [**delete_entity_user_groups**](docs/OrganizationModelControllerApi.md#delete_entity_user_groups) | **DELETE** /api/v1/entities/userGroups/{id} | Delete UserGroup entity -*OrganizationModelControllerApi* | [**delete_entity_users**](docs/OrganizationModelControllerApi.md#delete_entity_users) | **DELETE** /api/v1/entities/users/{id} | Delete User entity -*OrganizationModelControllerApi* | [**delete_entity_workspaces**](docs/OrganizationModelControllerApi.md#delete_entity_workspaces) | **DELETE** /api/v1/entities/workspaces/{id} | Delete Workspace entity -*OrganizationModelControllerApi* | [**get_all_entities_color_palettes**](docs/OrganizationModelControllerApi.md#get_all_entities_color_palettes) | **GET** /api/v1/entities/colorPalettes | Get all Color Pallettes -*OrganizationModelControllerApi* | [**get_all_entities_csp_directives**](docs/OrganizationModelControllerApi.md#get_all_entities_csp_directives) | **GET** /api/v1/entities/cspDirectives | Get CSP Directives -*OrganizationModelControllerApi* | [**get_all_entities_data_source_identifiers**](docs/OrganizationModelControllerApi.md#get_all_entities_data_source_identifiers) | **GET** /api/v1/entities/dataSourceIdentifiers | Get all Data Source Identifiers -*OrganizationModelControllerApi* | [**get_all_entities_data_sources**](docs/OrganizationModelControllerApi.md#get_all_entities_data_sources) | **GET** /api/v1/entities/dataSources | Get Data Source entities -*OrganizationModelControllerApi* | [**get_all_entities_entitlements**](docs/OrganizationModelControllerApi.md#get_all_entities_entitlements) | **GET** /api/v1/entities/entitlements | Get Entitlements -*OrganizationModelControllerApi* | [**get_all_entities_export_templates**](docs/OrganizationModelControllerApi.md#get_all_entities_export_templates) | **GET** /api/v1/entities/exportTemplates | GET all Export Template entities -*OrganizationModelControllerApi* | [**get_all_entities_identity_providers**](docs/OrganizationModelControllerApi.md#get_all_entities_identity_providers) | **GET** /api/v1/entities/identityProviders | Get all Identity Providers -*OrganizationModelControllerApi* | [**get_all_entities_jwks**](docs/OrganizationModelControllerApi.md#get_all_entities_jwks) | **GET** /api/v1/entities/jwks | Get all Jwks -*OrganizationModelControllerApi* | [**get_all_entities_llm_endpoints**](docs/OrganizationModelControllerApi.md#get_all_entities_llm_endpoints) | **GET** /api/v1/entities/llmEndpoints | Get all LLM endpoint entities -*OrganizationModelControllerApi* | [**get_all_entities_notification_channel_identifiers**](docs/OrganizationModelControllerApi.md#get_all_entities_notification_channel_identifiers) | **GET** /api/v1/entities/notificationChannelIdentifiers | -*OrganizationModelControllerApi* | [**get_all_entities_notification_channels**](docs/OrganizationModelControllerApi.md#get_all_entities_notification_channels) | **GET** /api/v1/entities/notificationChannels | Get all Notification Channel entities -*OrganizationModelControllerApi* | [**get_all_entities_organization_settings**](docs/OrganizationModelControllerApi.md#get_all_entities_organization_settings) | **GET** /api/v1/entities/organizationSettings | Get Organization entities -*OrganizationModelControllerApi* | [**get_all_entities_themes**](docs/OrganizationModelControllerApi.md#get_all_entities_themes) | **GET** /api/v1/entities/themes | Get all Theming entities -*OrganizationModelControllerApi* | [**get_all_entities_user_groups**](docs/OrganizationModelControllerApi.md#get_all_entities_user_groups) | **GET** /api/v1/entities/userGroups | Get UserGroup entities -*OrganizationModelControllerApi* | [**get_all_entities_user_identifiers**](docs/OrganizationModelControllerApi.md#get_all_entities_user_identifiers) | **GET** /api/v1/entities/userIdentifiers | Get UserIdentifier entities -*OrganizationModelControllerApi* | [**get_all_entities_users**](docs/OrganizationModelControllerApi.md#get_all_entities_users) | **GET** /api/v1/entities/users | Get User entities -*OrganizationModelControllerApi* | [**get_all_entities_workspaces**](docs/OrganizationModelControllerApi.md#get_all_entities_workspaces) | **GET** /api/v1/entities/workspaces | Get Workspace entities -*OrganizationModelControllerApi* | [**get_entity_color_palettes**](docs/OrganizationModelControllerApi.md#get_entity_color_palettes) | **GET** /api/v1/entities/colorPalettes/{id} | Get Color Pallette -*OrganizationModelControllerApi* | [**get_entity_csp_directives**](docs/OrganizationModelControllerApi.md#get_entity_csp_directives) | **GET** /api/v1/entities/cspDirectives/{id} | Get CSP Directives -*OrganizationModelControllerApi* | [**get_entity_data_source_identifiers**](docs/OrganizationModelControllerApi.md#get_entity_data_source_identifiers) | **GET** /api/v1/entities/dataSourceIdentifiers/{id} | Get Data Source Identifier -*OrganizationModelControllerApi* | [**get_entity_data_sources**](docs/OrganizationModelControllerApi.md#get_entity_data_sources) | **GET** /api/v1/entities/dataSources/{id} | Get Data Source entity -*OrganizationModelControllerApi* | [**get_entity_entitlements**](docs/OrganizationModelControllerApi.md#get_entity_entitlements) | **GET** /api/v1/entities/entitlements/{id} | Get Entitlement -*OrganizationModelControllerApi* | [**get_entity_export_templates**](docs/OrganizationModelControllerApi.md#get_entity_export_templates) | **GET** /api/v1/entities/exportTemplates/{id} | GET Export Template entity -*OrganizationModelControllerApi* | [**get_entity_identity_providers**](docs/OrganizationModelControllerApi.md#get_entity_identity_providers) | **GET** /api/v1/entities/identityProviders/{id} | Get Identity Provider -*OrganizationModelControllerApi* | [**get_entity_jwks**](docs/OrganizationModelControllerApi.md#get_entity_jwks) | **GET** /api/v1/entities/jwks/{id} | Get Jwk -*OrganizationModelControllerApi* | [**get_entity_llm_endpoints**](docs/OrganizationModelControllerApi.md#get_entity_llm_endpoints) | **GET** /api/v1/entities/llmEndpoints/{id} | Get LLM endpoint entity -*OrganizationModelControllerApi* | [**get_entity_notification_channel_identifiers**](docs/OrganizationModelControllerApi.md#get_entity_notification_channel_identifiers) | **GET** /api/v1/entities/notificationChannelIdentifiers/{id} | -*OrganizationModelControllerApi* | [**get_entity_notification_channels**](docs/OrganizationModelControllerApi.md#get_entity_notification_channels) | **GET** /api/v1/entities/notificationChannels/{id} | Get Notification Channel entity -*OrganizationModelControllerApi* | [**get_entity_organization_settings**](docs/OrganizationModelControllerApi.md#get_entity_organization_settings) | **GET** /api/v1/entities/organizationSettings/{id} | Get Organization entity -*OrganizationModelControllerApi* | [**get_entity_themes**](docs/OrganizationModelControllerApi.md#get_entity_themes) | **GET** /api/v1/entities/themes/{id} | Get Theming -*OrganizationModelControllerApi* | [**get_entity_user_groups**](docs/OrganizationModelControllerApi.md#get_entity_user_groups) | **GET** /api/v1/entities/userGroups/{id} | Get UserGroup entity -*OrganizationModelControllerApi* | [**get_entity_user_identifiers**](docs/OrganizationModelControllerApi.md#get_entity_user_identifiers) | **GET** /api/v1/entities/userIdentifiers/{id} | Get UserIdentifier entity -*OrganizationModelControllerApi* | [**get_entity_users**](docs/OrganizationModelControllerApi.md#get_entity_users) | **GET** /api/v1/entities/users/{id} | Get User entity -*OrganizationModelControllerApi* | [**get_entity_workspaces**](docs/OrganizationModelControllerApi.md#get_entity_workspaces) | **GET** /api/v1/entities/workspaces/{id} | Get Workspace entity -*OrganizationModelControllerApi* | [**patch_entity_color_palettes**](docs/OrganizationModelControllerApi.md#patch_entity_color_palettes) | **PATCH** /api/v1/entities/colorPalettes/{id} | Patch Color Pallette -*OrganizationModelControllerApi* | [**patch_entity_csp_directives**](docs/OrganizationModelControllerApi.md#patch_entity_csp_directives) | **PATCH** /api/v1/entities/cspDirectives/{id} | Patch CSP Directives -*OrganizationModelControllerApi* | [**patch_entity_data_sources**](docs/OrganizationModelControllerApi.md#patch_entity_data_sources) | **PATCH** /api/v1/entities/dataSources/{id} | Patch Data Source entity -*OrganizationModelControllerApi* | [**patch_entity_export_templates**](docs/OrganizationModelControllerApi.md#patch_entity_export_templates) | **PATCH** /api/v1/entities/exportTemplates/{id} | Patch Export Template entity -*OrganizationModelControllerApi* | [**patch_entity_identity_providers**](docs/OrganizationModelControllerApi.md#patch_entity_identity_providers) | **PATCH** /api/v1/entities/identityProviders/{id} | Patch Identity Provider -*OrganizationModelControllerApi* | [**patch_entity_jwks**](docs/OrganizationModelControllerApi.md#patch_entity_jwks) | **PATCH** /api/v1/entities/jwks/{id} | Patch Jwk -*OrganizationModelControllerApi* | [**patch_entity_llm_endpoints**](docs/OrganizationModelControllerApi.md#patch_entity_llm_endpoints) | **PATCH** /api/v1/entities/llmEndpoints/{id} | Patch LLM endpoint entity -*OrganizationModelControllerApi* | [**patch_entity_notification_channels**](docs/OrganizationModelControllerApi.md#patch_entity_notification_channels) | **PATCH** /api/v1/entities/notificationChannels/{id} | Patch Notification Channel entity -*OrganizationModelControllerApi* | [**patch_entity_organization_settings**](docs/OrganizationModelControllerApi.md#patch_entity_organization_settings) | **PATCH** /api/v1/entities/organizationSettings/{id} | Patch Organization entity -*OrganizationModelControllerApi* | [**patch_entity_themes**](docs/OrganizationModelControllerApi.md#patch_entity_themes) | **PATCH** /api/v1/entities/themes/{id} | Patch Theming -*OrganizationModelControllerApi* | [**patch_entity_user_groups**](docs/OrganizationModelControllerApi.md#patch_entity_user_groups) | **PATCH** /api/v1/entities/userGroups/{id} | Patch UserGroup entity -*OrganizationModelControllerApi* | [**patch_entity_users**](docs/OrganizationModelControllerApi.md#patch_entity_users) | **PATCH** /api/v1/entities/users/{id} | Patch User entity -*OrganizationModelControllerApi* | [**patch_entity_workspaces**](docs/OrganizationModelControllerApi.md#patch_entity_workspaces) | **PATCH** /api/v1/entities/workspaces/{id} | Patch Workspace entity -*OrganizationModelControllerApi* | [**update_entity_color_palettes**](docs/OrganizationModelControllerApi.md#update_entity_color_palettes) | **PUT** /api/v1/entities/colorPalettes/{id} | Put Color Pallette -*OrganizationModelControllerApi* | [**update_entity_csp_directives**](docs/OrganizationModelControllerApi.md#update_entity_csp_directives) | **PUT** /api/v1/entities/cspDirectives/{id} | Put CSP Directives -*OrganizationModelControllerApi* | [**update_entity_data_sources**](docs/OrganizationModelControllerApi.md#update_entity_data_sources) | **PUT** /api/v1/entities/dataSources/{id} | Put Data Source entity -*OrganizationModelControllerApi* | [**update_entity_export_templates**](docs/OrganizationModelControllerApi.md#update_entity_export_templates) | **PUT** /api/v1/entities/exportTemplates/{id} | PUT Export Template entity -*OrganizationModelControllerApi* | [**update_entity_identity_providers**](docs/OrganizationModelControllerApi.md#update_entity_identity_providers) | **PUT** /api/v1/entities/identityProviders/{id} | Put Identity Provider -*OrganizationModelControllerApi* | [**update_entity_jwks**](docs/OrganizationModelControllerApi.md#update_entity_jwks) | **PUT** /api/v1/entities/jwks/{id} | Put Jwk -*OrganizationModelControllerApi* | [**update_entity_llm_endpoints**](docs/OrganizationModelControllerApi.md#update_entity_llm_endpoints) | **PUT** /api/v1/entities/llmEndpoints/{id} | PUT LLM endpoint entity -*OrganizationModelControllerApi* | [**update_entity_notification_channels**](docs/OrganizationModelControllerApi.md#update_entity_notification_channels) | **PUT** /api/v1/entities/notificationChannels/{id} | Put Notification Channel entity -*OrganizationModelControllerApi* | [**update_entity_organization_settings**](docs/OrganizationModelControllerApi.md#update_entity_organization_settings) | **PUT** /api/v1/entities/organizationSettings/{id} | Put Organization entity -*OrganizationModelControllerApi* | [**update_entity_themes**](docs/OrganizationModelControllerApi.md#update_entity_themes) | **PUT** /api/v1/entities/themes/{id} | Put Theming -*OrganizationModelControllerApi* | [**update_entity_user_groups**](docs/OrganizationModelControllerApi.md#update_entity_user_groups) | **PUT** /api/v1/entities/userGroups/{id} | Put UserGroup entity -*OrganizationModelControllerApi* | [**update_entity_users**](docs/OrganizationModelControllerApi.md#update_entity_users) | **PUT** /api/v1/entities/users/{id} | Put User entity -*OrganizationModelControllerApi* | [**update_entity_workspaces**](docs/OrganizationModelControllerApi.md#update_entity_workspaces) | **PUT** /api/v1/entities/workspaces/{id} | Put Workspace entity -*UserModelControllerApi* | [**create_entity_api_tokens**](docs/UserModelControllerApi.md#create_entity_api_tokens) | **POST** /api/v1/entities/users/{userId}/apiTokens | Post a new API token for the user -*UserModelControllerApi* | [**create_entity_user_settings**](docs/UserModelControllerApi.md#create_entity_user_settings) | **POST** /api/v1/entities/users/{userId}/userSettings | Post new user settings for the user -*UserModelControllerApi* | [**delete_entity_api_tokens**](docs/UserModelControllerApi.md#delete_entity_api_tokens) | **DELETE** /api/v1/entities/users/{userId}/apiTokens/{id} | Delete an API Token for a user -*UserModelControllerApi* | [**delete_entity_user_settings**](docs/UserModelControllerApi.md#delete_entity_user_settings) | **DELETE** /api/v1/entities/users/{userId}/userSettings/{id} | Delete a setting for a user -*UserModelControllerApi* | [**get_all_entities_api_tokens**](docs/UserModelControllerApi.md#get_all_entities_api_tokens) | **GET** /api/v1/entities/users/{userId}/apiTokens | List all api tokens for a user -*UserModelControllerApi* | [**get_all_entities_user_settings**](docs/UserModelControllerApi.md#get_all_entities_user_settings) | **GET** /api/v1/entities/users/{userId}/userSettings | List all settings for a user -*UserModelControllerApi* | [**get_entity_api_tokens**](docs/UserModelControllerApi.md#get_entity_api_tokens) | **GET** /api/v1/entities/users/{userId}/apiTokens/{id} | Get an API Token for a user -*UserModelControllerApi* | [**get_entity_user_settings**](docs/UserModelControllerApi.md#get_entity_user_settings) | **GET** /api/v1/entities/users/{userId}/userSettings/{id} | Get a setting for a user -*UserModelControllerApi* | [**update_entity_user_settings**](docs/UserModelControllerApi.md#update_entity_user_settings) | **PUT** /api/v1/entities/users/{userId}/userSettings/{id} | Put new user settings for the user -*WorkspaceObjectControllerApi* | [**create_entity_analytical_dashboards**](docs/WorkspaceObjectControllerApi.md#create_entity_analytical_dashboards) | **POST** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards | Post Dashboards -*WorkspaceObjectControllerApi* | [**create_entity_attribute_hierarchies**](docs/WorkspaceObjectControllerApi.md#create_entity_attribute_hierarchies) | **POST** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies | Post Attribute Hierarchies -*WorkspaceObjectControllerApi* | [**create_entity_automations**](docs/WorkspaceObjectControllerApi.md#create_entity_automations) | **POST** /api/v1/entities/workspaces/{workspaceId}/automations | Post Automations -*WorkspaceObjectControllerApi* | [**create_entity_custom_application_settings**](docs/WorkspaceObjectControllerApi.md#create_entity_custom_application_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings | Post Custom Application Settings -*WorkspaceObjectControllerApi* | [**create_entity_dashboard_plugins**](docs/WorkspaceObjectControllerApi.md#create_entity_dashboard_plugins) | **POST** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins | Post Plugins -*WorkspaceObjectControllerApi* | [**create_entity_export_definitions**](docs/WorkspaceObjectControllerApi.md#create_entity_export_definitions) | **POST** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions | Post Export Definitions -*WorkspaceObjectControllerApi* | [**create_entity_filter_contexts**](docs/WorkspaceObjectControllerApi.md#create_entity_filter_contexts) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Post Context Filters -*WorkspaceObjectControllerApi* | [**create_entity_filter_views**](docs/WorkspaceObjectControllerApi.md#create_entity_filter_views) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterViews | Post Filter views -*WorkspaceObjectControllerApi* | [**create_entity_memory_items**](docs/WorkspaceObjectControllerApi.md#create_entity_memory_items) | **POST** /api/v1/entities/workspaces/{workspaceId}/memoryItems | -*WorkspaceObjectControllerApi* | [**create_entity_metrics**](docs/WorkspaceObjectControllerApi.md#create_entity_metrics) | **POST** /api/v1/entities/workspaces/{workspaceId}/metrics | Post Metrics -*WorkspaceObjectControllerApi* | [**create_entity_user_data_filters**](docs/WorkspaceObjectControllerApi.md#create_entity_user_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/userDataFilters | Post User Data Filters -*WorkspaceObjectControllerApi* | [**create_entity_visualization_objects**](docs/WorkspaceObjectControllerApi.md#create_entity_visualization_objects) | **POST** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects | Post Visualization Objects -*WorkspaceObjectControllerApi* | [**create_entity_workspace_data_filter_settings**](docs/WorkspaceObjectControllerApi.md#create_entity_workspace_data_filter_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings | Post Settings for Workspace Data Filters -*WorkspaceObjectControllerApi* | [**create_entity_workspace_data_filters**](docs/WorkspaceObjectControllerApi.md#create_entity_workspace_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters | Post Workspace Data Filters -*WorkspaceObjectControllerApi* | [**create_entity_workspace_settings**](docs/WorkspaceObjectControllerApi.md#create_entity_workspace_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings | Post Settings for Workspaces -*WorkspaceObjectControllerApi* | [**delete_entity_analytical_dashboards**](docs/WorkspaceObjectControllerApi.md#delete_entity_analytical_dashboards) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Delete a Dashboard -*WorkspaceObjectControllerApi* | [**delete_entity_attribute_hierarchies**](docs/WorkspaceObjectControllerApi.md#delete_entity_attribute_hierarchies) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Delete an Attribute Hierarchy -*WorkspaceObjectControllerApi* | [**delete_entity_automations**](docs/WorkspaceObjectControllerApi.md#delete_entity_automations) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/automations/{objectId} | Delete an Automation -*WorkspaceObjectControllerApi* | [**delete_entity_custom_application_settings**](docs/WorkspaceObjectControllerApi.md#delete_entity_custom_application_settings) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Delete a Custom Application Setting -*WorkspaceObjectControllerApi* | [**delete_entity_dashboard_plugins**](docs/WorkspaceObjectControllerApi.md#delete_entity_dashboard_plugins) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Delete a Plugin -*WorkspaceObjectControllerApi* | [**delete_entity_export_definitions**](docs/WorkspaceObjectControllerApi.md#delete_entity_export_definitions) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId} | Delete an Export Definition -*WorkspaceObjectControllerApi* | [**delete_entity_filter_contexts**](docs/WorkspaceObjectControllerApi.md#delete_entity_filter_contexts) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Delete a Context Filter -*WorkspaceObjectControllerApi* | [**delete_entity_filter_views**](docs/WorkspaceObjectControllerApi.md#delete_entity_filter_views) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Delete Filter view -*WorkspaceObjectControllerApi* | [**delete_entity_memory_items**](docs/WorkspaceObjectControllerApi.md#delete_entity_memory_items) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | -*WorkspaceObjectControllerApi* | [**delete_entity_metrics**](docs/WorkspaceObjectControllerApi.md#delete_entity_metrics) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Delete a Metric -*WorkspaceObjectControllerApi* | [**delete_entity_user_data_filters**](docs/WorkspaceObjectControllerApi.md#delete_entity_user_data_filters) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Delete a User Data Filter -*WorkspaceObjectControllerApi* | [**delete_entity_visualization_objects**](docs/WorkspaceObjectControllerApi.md#delete_entity_visualization_objects) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Delete a Visualization Object -*WorkspaceObjectControllerApi* | [**delete_entity_workspace_data_filter_settings**](docs/WorkspaceObjectControllerApi.md#delete_entity_workspace_data_filter_settings) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/{objectId} | Delete a Settings for Workspace Data Filter -*WorkspaceObjectControllerApi* | [**delete_entity_workspace_data_filters**](docs/WorkspaceObjectControllerApi.md#delete_entity_workspace_data_filters) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Delete a Workspace Data Filter -*WorkspaceObjectControllerApi* | [**delete_entity_workspace_settings**](docs/WorkspaceObjectControllerApi.md#delete_entity_workspace_settings) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Delete a Setting for Workspace -*WorkspaceObjectControllerApi* | [**get_all_entities_aggregated_facts**](docs/WorkspaceObjectControllerApi.md#get_all_entities_aggregated_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts | -*WorkspaceObjectControllerApi* | [**get_all_entities_analytical_dashboards**](docs/WorkspaceObjectControllerApi.md#get_all_entities_analytical_dashboards) | **GET** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards | Get all Dashboards -*WorkspaceObjectControllerApi* | [**get_all_entities_attribute_hierarchies**](docs/WorkspaceObjectControllerApi.md#get_all_entities_attribute_hierarchies) | **GET** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies | Get all Attribute Hierarchies -*WorkspaceObjectControllerApi* | [**get_all_entities_attributes**](docs/WorkspaceObjectControllerApi.md#get_all_entities_attributes) | **GET** /api/v1/entities/workspaces/{workspaceId}/attributes | Get all Attributes -*WorkspaceObjectControllerApi* | [**get_all_entities_automations**](docs/WorkspaceObjectControllerApi.md#get_all_entities_automations) | **GET** /api/v1/entities/workspaces/{workspaceId}/automations | Get all Automations -*WorkspaceObjectControllerApi* | [**get_all_entities_custom_application_settings**](docs/WorkspaceObjectControllerApi.md#get_all_entities_custom_application_settings) | **GET** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings | Get all Custom Application Settings -*WorkspaceObjectControllerApi* | [**get_all_entities_dashboard_plugins**](docs/WorkspaceObjectControllerApi.md#get_all_entities_dashboard_plugins) | **GET** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins | Get all Plugins -*WorkspaceObjectControllerApi* | [**get_all_entities_datasets**](docs/WorkspaceObjectControllerApi.md#get_all_entities_datasets) | **GET** /api/v1/entities/workspaces/{workspaceId}/datasets | Get all Datasets -*WorkspaceObjectControllerApi* | [**get_all_entities_export_definitions**](docs/WorkspaceObjectControllerApi.md#get_all_entities_export_definitions) | **GET** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions | Get all Export Definitions -*WorkspaceObjectControllerApi* | [**get_all_entities_facts**](docs/WorkspaceObjectControllerApi.md#get_all_entities_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/facts | Get all Facts -*WorkspaceObjectControllerApi* | [**get_all_entities_filter_contexts**](docs/WorkspaceObjectControllerApi.md#get_all_entities_filter_contexts) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Get all Context Filters -*WorkspaceObjectControllerApi* | [**get_all_entities_filter_views**](docs/WorkspaceObjectControllerApi.md#get_all_entities_filter_views) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterViews | Get all Filter views -*WorkspaceObjectControllerApi* | [**get_all_entities_labels**](docs/WorkspaceObjectControllerApi.md#get_all_entities_labels) | **GET** /api/v1/entities/workspaces/{workspaceId}/labels | Get all Labels -*WorkspaceObjectControllerApi* | [**get_all_entities_memory_items**](docs/WorkspaceObjectControllerApi.md#get_all_entities_memory_items) | **GET** /api/v1/entities/workspaces/{workspaceId}/memoryItems | -*WorkspaceObjectControllerApi* | [**get_all_entities_metrics**](docs/WorkspaceObjectControllerApi.md#get_all_entities_metrics) | **GET** /api/v1/entities/workspaces/{workspaceId}/metrics | Get all Metrics -*WorkspaceObjectControllerApi* | [**get_all_entities_user_data_filters**](docs/WorkspaceObjectControllerApi.md#get_all_entities_user_data_filters) | **GET** /api/v1/entities/workspaces/{workspaceId}/userDataFilters | Get all User Data Filters -*WorkspaceObjectControllerApi* | [**get_all_entities_visualization_objects**](docs/WorkspaceObjectControllerApi.md#get_all_entities_visualization_objects) | **GET** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects | Get all Visualization Objects -*WorkspaceObjectControllerApi* | [**get_all_entities_workspace_data_filter_settings**](docs/WorkspaceObjectControllerApi.md#get_all_entities_workspace_data_filter_settings) | **GET** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings | Get all Settings for Workspace Data Filters -*WorkspaceObjectControllerApi* | [**get_all_entities_workspace_data_filters**](docs/WorkspaceObjectControllerApi.md#get_all_entities_workspace_data_filters) | **GET** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters | Get all Workspace Data Filters -*WorkspaceObjectControllerApi* | [**get_all_entities_workspace_settings**](docs/WorkspaceObjectControllerApi.md#get_all_entities_workspace_settings) | **GET** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings | Get all Setting for Workspaces -*WorkspaceObjectControllerApi* | [**get_entity_aggregated_facts**](docs/WorkspaceObjectControllerApi.md#get_entity_aggregated_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/{objectId} | -*WorkspaceObjectControllerApi* | [**get_entity_analytical_dashboards**](docs/WorkspaceObjectControllerApi.md#get_entity_analytical_dashboards) | **GET** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Get a Dashboard -*WorkspaceObjectControllerApi* | [**get_entity_attribute_hierarchies**](docs/WorkspaceObjectControllerApi.md#get_entity_attribute_hierarchies) | **GET** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Get an Attribute Hierarchy -*WorkspaceObjectControllerApi* | [**get_entity_attributes**](docs/WorkspaceObjectControllerApi.md#get_entity_attributes) | **GET** /api/v1/entities/workspaces/{workspaceId}/attributes/{objectId} | Get an Attribute -*WorkspaceObjectControllerApi* | [**get_entity_automations**](docs/WorkspaceObjectControllerApi.md#get_entity_automations) | **GET** /api/v1/entities/workspaces/{workspaceId}/automations/{objectId} | Get an Automation -*WorkspaceObjectControllerApi* | [**get_entity_custom_application_settings**](docs/WorkspaceObjectControllerApi.md#get_entity_custom_application_settings) | **GET** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Get a Custom Application Setting -*WorkspaceObjectControllerApi* | [**get_entity_dashboard_plugins**](docs/WorkspaceObjectControllerApi.md#get_entity_dashboard_plugins) | **GET** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Get a Plugin -*WorkspaceObjectControllerApi* | [**get_entity_datasets**](docs/WorkspaceObjectControllerApi.md#get_entity_datasets) | **GET** /api/v1/entities/workspaces/{workspaceId}/datasets/{objectId} | Get a Dataset -*WorkspaceObjectControllerApi* | [**get_entity_export_definitions**](docs/WorkspaceObjectControllerApi.md#get_entity_export_definitions) | **GET** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId} | Get an Export Definition -*WorkspaceObjectControllerApi* | [**get_entity_facts**](docs/WorkspaceObjectControllerApi.md#get_entity_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/facts/{objectId} | Get a Fact -*WorkspaceObjectControllerApi* | [**get_entity_filter_contexts**](docs/WorkspaceObjectControllerApi.md#get_entity_filter_contexts) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Get a Context Filter -*WorkspaceObjectControllerApi* | [**get_entity_filter_views**](docs/WorkspaceObjectControllerApi.md#get_entity_filter_views) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Get Filter view -*WorkspaceObjectControllerApi* | [**get_entity_labels**](docs/WorkspaceObjectControllerApi.md#get_entity_labels) | **GET** /api/v1/entities/workspaces/{workspaceId}/labels/{objectId} | Get a Label -*WorkspaceObjectControllerApi* | [**get_entity_memory_items**](docs/WorkspaceObjectControllerApi.md#get_entity_memory_items) | **GET** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | -*WorkspaceObjectControllerApi* | [**get_entity_metrics**](docs/WorkspaceObjectControllerApi.md#get_entity_metrics) | **GET** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Get a Metric -*WorkspaceObjectControllerApi* | [**get_entity_user_data_filters**](docs/WorkspaceObjectControllerApi.md#get_entity_user_data_filters) | **GET** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Get a User Data Filter -*WorkspaceObjectControllerApi* | [**get_entity_visualization_objects**](docs/WorkspaceObjectControllerApi.md#get_entity_visualization_objects) | **GET** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Get a Visualization Object -*WorkspaceObjectControllerApi* | [**get_entity_workspace_data_filter_settings**](docs/WorkspaceObjectControllerApi.md#get_entity_workspace_data_filter_settings) | **GET** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/{objectId} | Get a Setting for Workspace Data Filter -*WorkspaceObjectControllerApi* | [**get_entity_workspace_data_filters**](docs/WorkspaceObjectControllerApi.md#get_entity_workspace_data_filters) | **GET** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Get a Workspace Data Filter -*WorkspaceObjectControllerApi* | [**get_entity_workspace_settings**](docs/WorkspaceObjectControllerApi.md#get_entity_workspace_settings) | **GET** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Get a Setting for Workspace -*WorkspaceObjectControllerApi* | [**patch_entity_analytical_dashboards**](docs/WorkspaceObjectControllerApi.md#patch_entity_analytical_dashboards) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Patch a Dashboard -*WorkspaceObjectControllerApi* | [**patch_entity_attribute_hierarchies**](docs/WorkspaceObjectControllerApi.md#patch_entity_attribute_hierarchies) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Patch an Attribute Hierarchy -*WorkspaceObjectControllerApi* | [**patch_entity_attributes**](docs/WorkspaceObjectControllerApi.md#patch_entity_attributes) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/attributes/{objectId} | Patch an Attribute (beta) -*WorkspaceObjectControllerApi* | [**patch_entity_automations**](docs/WorkspaceObjectControllerApi.md#patch_entity_automations) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/automations/{objectId} | Patch an Automation -*WorkspaceObjectControllerApi* | [**patch_entity_custom_application_settings**](docs/WorkspaceObjectControllerApi.md#patch_entity_custom_application_settings) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Patch a Custom Application Setting -*WorkspaceObjectControllerApi* | [**patch_entity_dashboard_plugins**](docs/WorkspaceObjectControllerApi.md#patch_entity_dashboard_plugins) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Patch a Plugin -*WorkspaceObjectControllerApi* | [**patch_entity_datasets**](docs/WorkspaceObjectControllerApi.md#patch_entity_datasets) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/datasets/{objectId} | Patch a Dataset (beta) -*WorkspaceObjectControllerApi* | [**patch_entity_export_definitions**](docs/WorkspaceObjectControllerApi.md#patch_entity_export_definitions) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId} | Patch an Export Definition -*WorkspaceObjectControllerApi* | [**patch_entity_facts**](docs/WorkspaceObjectControllerApi.md#patch_entity_facts) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/facts/{objectId} | Patch a Fact (beta) -*WorkspaceObjectControllerApi* | [**patch_entity_filter_contexts**](docs/WorkspaceObjectControllerApi.md#patch_entity_filter_contexts) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Patch a Context Filter -*WorkspaceObjectControllerApi* | [**patch_entity_filter_views**](docs/WorkspaceObjectControllerApi.md#patch_entity_filter_views) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Patch Filter view -*WorkspaceObjectControllerApi* | [**patch_entity_labels**](docs/WorkspaceObjectControllerApi.md#patch_entity_labels) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/labels/{objectId} | Patch a Label (beta) -*WorkspaceObjectControllerApi* | [**patch_entity_memory_items**](docs/WorkspaceObjectControllerApi.md#patch_entity_memory_items) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | -*WorkspaceObjectControllerApi* | [**patch_entity_metrics**](docs/WorkspaceObjectControllerApi.md#patch_entity_metrics) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Patch a Metric -*WorkspaceObjectControllerApi* | [**patch_entity_user_data_filters**](docs/WorkspaceObjectControllerApi.md#patch_entity_user_data_filters) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Patch a User Data Filter -*WorkspaceObjectControllerApi* | [**patch_entity_visualization_objects**](docs/WorkspaceObjectControllerApi.md#patch_entity_visualization_objects) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Patch a Visualization Object -*WorkspaceObjectControllerApi* | [**patch_entity_workspace_data_filter_settings**](docs/WorkspaceObjectControllerApi.md#patch_entity_workspace_data_filter_settings) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/{objectId} | Patch a Settings for Workspace Data Filter -*WorkspaceObjectControllerApi* | [**patch_entity_workspace_data_filters**](docs/WorkspaceObjectControllerApi.md#patch_entity_workspace_data_filters) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Patch a Workspace Data Filter -*WorkspaceObjectControllerApi* | [**patch_entity_workspace_settings**](docs/WorkspaceObjectControllerApi.md#patch_entity_workspace_settings) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Patch a Setting for Workspace -*WorkspaceObjectControllerApi* | [**search_entities_aggregated_facts**](docs/WorkspaceObjectControllerApi.md#search_entities_aggregated_facts) | **POST** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/search | Search request for AggregatedFact -*WorkspaceObjectControllerApi* | [**search_entities_analytical_dashboards**](docs/WorkspaceObjectControllerApi.md#search_entities_analytical_dashboards) | **POST** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/search | Search request for AnalyticalDashboard -*WorkspaceObjectControllerApi* | [**search_entities_attribute_hierarchies**](docs/WorkspaceObjectControllerApi.md#search_entities_attribute_hierarchies) | **POST** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/search | Search request for AttributeHierarchy -*WorkspaceObjectControllerApi* | [**search_entities_attributes**](docs/WorkspaceObjectControllerApi.md#search_entities_attributes) | **POST** /api/v1/entities/workspaces/{workspaceId}/attributes/search | Search request for Attribute -*WorkspaceObjectControllerApi* | [**search_entities_automation_results**](docs/WorkspaceObjectControllerApi.md#search_entities_automation_results) | **POST** /api/v1/entities/workspaces/{workspaceId}/automationResults/search | Search request for AutomationResult -*WorkspaceObjectControllerApi* | [**search_entities_automations**](docs/WorkspaceObjectControllerApi.md#search_entities_automations) | **POST** /api/v1/entities/workspaces/{workspaceId}/automations/search | Search request for Automation -*WorkspaceObjectControllerApi* | [**search_entities_custom_application_settings**](docs/WorkspaceObjectControllerApi.md#search_entities_custom_application_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/search | Search request for CustomApplicationSetting -*WorkspaceObjectControllerApi* | [**search_entities_dashboard_plugins**](docs/WorkspaceObjectControllerApi.md#search_entities_dashboard_plugins) | **POST** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/search | Search request for DashboardPlugin -*WorkspaceObjectControllerApi* | [**search_entities_datasets**](docs/WorkspaceObjectControllerApi.md#search_entities_datasets) | **POST** /api/v1/entities/workspaces/{workspaceId}/datasets/search | Search request for Dataset -*WorkspaceObjectControllerApi* | [**search_entities_export_definitions**](docs/WorkspaceObjectControllerApi.md#search_entities_export_definitions) | **POST** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/search | Search request for ExportDefinition -*WorkspaceObjectControllerApi* | [**search_entities_facts**](docs/WorkspaceObjectControllerApi.md#search_entities_facts) | **POST** /api/v1/entities/workspaces/{workspaceId}/facts/search | Search request for Fact -*WorkspaceObjectControllerApi* | [**search_entities_filter_contexts**](docs/WorkspaceObjectControllerApi.md#search_entities_filter_contexts) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterContexts/search | Search request for FilterContext -*WorkspaceObjectControllerApi* | [**search_entities_filter_views**](docs/WorkspaceObjectControllerApi.md#search_entities_filter_views) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterViews/search | Search request for FilterView -*WorkspaceObjectControllerApi* | [**search_entities_labels**](docs/WorkspaceObjectControllerApi.md#search_entities_labels) | **POST** /api/v1/entities/workspaces/{workspaceId}/labels/search | Search request for Label -*WorkspaceObjectControllerApi* | [**search_entities_memory_items**](docs/WorkspaceObjectControllerApi.md#search_entities_memory_items) | **POST** /api/v1/entities/workspaces/{workspaceId}/memoryItems/search | Search request for MemoryItem -*WorkspaceObjectControllerApi* | [**search_entities_metrics**](docs/WorkspaceObjectControllerApi.md#search_entities_metrics) | **POST** /api/v1/entities/workspaces/{workspaceId}/metrics/search | Search request for Metric -*WorkspaceObjectControllerApi* | [**search_entities_user_data_filters**](docs/WorkspaceObjectControllerApi.md#search_entities_user_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/search | Search request for UserDataFilter -*WorkspaceObjectControllerApi* | [**search_entities_visualization_objects**](docs/WorkspaceObjectControllerApi.md#search_entities_visualization_objects) | **POST** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/search | Search request for VisualizationObject -*WorkspaceObjectControllerApi* | [**search_entities_workspace_data_filter_settings**](docs/WorkspaceObjectControllerApi.md#search_entities_workspace_data_filter_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/search | Search request for WorkspaceDataFilterSetting -*WorkspaceObjectControllerApi* | [**search_entities_workspace_data_filters**](docs/WorkspaceObjectControllerApi.md#search_entities_workspace_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/search | Search request for WorkspaceDataFilter -*WorkspaceObjectControllerApi* | [**search_entities_workspace_settings**](docs/WorkspaceObjectControllerApi.md#search_entities_workspace_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/search | -*WorkspaceObjectControllerApi* | [**update_entity_analytical_dashboards**](docs/WorkspaceObjectControllerApi.md#update_entity_analytical_dashboards) | **PUT** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Put Dashboards -*WorkspaceObjectControllerApi* | [**update_entity_attribute_hierarchies**](docs/WorkspaceObjectControllerApi.md#update_entity_attribute_hierarchies) | **PUT** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Put an Attribute Hierarchy -*WorkspaceObjectControllerApi* | [**update_entity_automations**](docs/WorkspaceObjectControllerApi.md#update_entity_automations) | **PUT** /api/v1/entities/workspaces/{workspaceId}/automations/{objectId} | Put an Automation -*WorkspaceObjectControllerApi* | [**update_entity_custom_application_settings**](docs/WorkspaceObjectControllerApi.md#update_entity_custom_application_settings) | **PUT** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Put a Custom Application Setting -*WorkspaceObjectControllerApi* | [**update_entity_dashboard_plugins**](docs/WorkspaceObjectControllerApi.md#update_entity_dashboard_plugins) | **PUT** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Put a Plugin -*WorkspaceObjectControllerApi* | [**update_entity_export_definitions**](docs/WorkspaceObjectControllerApi.md#update_entity_export_definitions) | **PUT** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId} | Put an Export Definition -*WorkspaceObjectControllerApi* | [**update_entity_filter_contexts**](docs/WorkspaceObjectControllerApi.md#update_entity_filter_contexts) | **PUT** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Put a Context Filter -*WorkspaceObjectControllerApi* | [**update_entity_filter_views**](docs/WorkspaceObjectControllerApi.md#update_entity_filter_views) | **PUT** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Put Filter views -*WorkspaceObjectControllerApi* | [**update_entity_memory_items**](docs/WorkspaceObjectControllerApi.md#update_entity_memory_items) | **PUT** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | -*WorkspaceObjectControllerApi* | [**update_entity_metrics**](docs/WorkspaceObjectControllerApi.md#update_entity_metrics) | **PUT** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Put a Metric -*WorkspaceObjectControllerApi* | [**update_entity_user_data_filters**](docs/WorkspaceObjectControllerApi.md#update_entity_user_data_filters) | **PUT** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Put a User Data Filter -*WorkspaceObjectControllerApi* | [**update_entity_visualization_objects**](docs/WorkspaceObjectControllerApi.md#update_entity_visualization_objects) | **PUT** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Put a Visualization Object -*WorkspaceObjectControllerApi* | [**update_entity_workspace_data_filter_settings**](docs/WorkspaceObjectControllerApi.md#update_entity_workspace_data_filter_settings) | **PUT** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/{objectId} | Put a Settings for Workspace Data Filter -*WorkspaceObjectControllerApi* | [**update_entity_workspace_data_filters**](docs/WorkspaceObjectControllerApi.md#update_entity_workspace_data_filters) | **PUT** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Put a Workspace Data Filter -*WorkspaceObjectControllerApi* | [**update_entity_workspace_settings**](docs/WorkspaceObjectControllerApi.md#update_entity_workspace_settings) | **PUT** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Put a Setting for a Workspace ## Documentation For Models - [AFM](docs/AFM.md) - [AFMFiltersInner](docs/AFMFiltersInner.md) + - [AacAnalyticsModel](docs/AacAnalyticsModel.md) + - [AacAttributeHierarchy](docs/AacAttributeHierarchy.md) + - [AacDashboard](docs/AacDashboard.md) + - [AacDashboardFilter](docs/AacDashboardFilter.md) + - [AacDashboardFilterFrom](docs/AacDashboardFilterFrom.md) + - [AacDashboardPermissions](docs/AacDashboardPermissions.md) + - [AacDashboardPluginLink](docs/AacDashboardPluginLink.md) + - [AacDataset](docs/AacDataset.md) + - [AacDatasetPrimaryKey](docs/AacDatasetPrimaryKey.md) + - [AacDateDataset](docs/AacDateDataset.md) + - [AacField](docs/AacField.md) + - [AacFilterState](docs/AacFilterState.md) + - [AacGeoAreaConfig](docs/AacGeoAreaConfig.md) + - [AacGeoCollectionIdentifier](docs/AacGeoCollectionIdentifier.md) + - [AacLabel](docs/AacLabel.md) + - [AacLabelTranslation](docs/AacLabelTranslation.md) + - [AacLogicalModel](docs/AacLogicalModel.md) + - [AacMetric](docs/AacMetric.md) + - [AacPermission](docs/AacPermission.md) + - [AacPlugin](docs/AacPlugin.md) + - [AacQuery](docs/AacQuery.md) + - [AacQueryFieldsValue](docs/AacQueryFieldsValue.md) + - [AacQueryFilter](docs/AacQueryFilter.md) + - [AacReference](docs/AacReference.md) + - [AacReferenceSource](docs/AacReferenceSource.md) + - [AacSection](docs/AacSection.md) + - [AacTab](docs/AacTab.md) + - [AacVisualization](docs/AacVisualization.md) + - [AacWidget](docs/AacWidget.md) + - [AacWidgetDescription](docs/AacWidgetDescription.md) + - [AacWidgetSize](docs/AacWidgetSize.md) + - [AacWorkspaceDataFilter](docs/AacWorkspaceDataFilter.md) - [AbsoluteDateFilter](docs/AbsoluteDateFilter.md) - [AbsoluteDateFilterAbsoluteDateFilter](docs/AbsoluteDateFilterAbsoluteDateFilter.md) - [AbstractMeasureValueFilter](docs/AbstractMeasureValueFilter.md) @@ -1068,9 +581,16 @@ Class | Method | HTTP request | Description - [AlertConditionOperand](docs/AlertConditionOperand.md) - [AlertDescription](docs/AlertDescription.md) - [AlertEvaluationRow](docs/AlertEvaluationRow.md) + - [AmplitudeService](docs/AmplitudeService.md) - [AnalyticsCatalogCreatedBy](docs/AnalyticsCatalogCreatedBy.md) - [AnalyticsCatalogTags](docs/AnalyticsCatalogTags.md) - [AnalyticsCatalogUser](docs/AnalyticsCatalogUser.md) + - [AnalyzeCsvRequest](docs/AnalyzeCsvRequest.md) + - [AnalyzeCsvRequestItem](docs/AnalyzeCsvRequestItem.md) + - [AnalyzeCsvRequestItemConfig](docs/AnalyzeCsvRequestItemConfig.md) + - [AnalyzeCsvResponse](docs/AnalyzeCsvResponse.md) + - [AnalyzeCsvResponseColumn](docs/AnalyzeCsvResponseColumn.md) + - [AnalyzeCsvResponseConfig](docs/AnalyzeCsvResponseConfig.md) - [AnomalyDetection](docs/AnomalyDetection.md) - [AnomalyDetectionRequest](docs/AnomalyDetectionRequest.md) - [AnomalyDetectionResult](docs/AnomalyDetectionResult.md) @@ -1098,6 +618,7 @@ Class | Method | HTTP request | Description - [AttributePositiveFilter](docs/AttributePositiveFilter.md) - [AttributePositiveFilterAllOf](docs/AttributePositiveFilterAllOf.md) - [AttributeResultHeader](docs/AttributeResultHeader.md) + - [AuthUser](docs/AuthUser.md) - [AutomationAlert](docs/AutomationAlert.md) - [AutomationAlertCondition](docs/AutomationAlertCondition.md) - [AutomationDashboardTabularExport](docs/AutomationDashboardTabularExport.md) @@ -1113,6 +634,8 @@ Class | Method | HTTP request | Description - [AutomationVisualExport](docs/AutomationVisualExport.md) - [AvailableAssignees](docs/AvailableAssignees.md) - [BoundedFilter](docs/BoundedFilter.md) + - [CacheRemovalInterval](docs/CacheRemovalInterval.md) + - [CacheUsageData](docs/CacheUsageData.md) - [ChangeAnalysisParams](docs/ChangeAnalysisParams.md) - [ChangeAnalysisParamsFiltersInner](docs/ChangeAnalysisParamsFiltersInner.md) - [ChangeAnalysisRequest](docs/ChangeAnalysisRequest.md) @@ -1135,14 +658,23 @@ Class | Method | HTTP request | Description - [ColumnStatisticsResponse](docs/ColumnStatisticsResponse.md) - [ColumnWarning](docs/ColumnWarning.md) - [Comparison](docs/Comparison.md) + - [ComparisonCondition](docs/ComparisonCondition.md) + - [ComparisonConditionComparison](docs/ComparisonConditionComparison.md) - [ComparisonMeasureValueFilter](docs/ComparisonMeasureValueFilter.md) - [ComparisonMeasureValueFilterComparisonMeasureValueFilter](docs/ComparisonMeasureValueFilterComparisonMeasureValueFilter.md) - [ComparisonWrapper](docs/ComparisonWrapper.md) + - [CompoundMeasureValueFilter](docs/CompoundMeasureValueFilter.md) + - [CompoundMeasureValueFilterCompoundMeasureValueFilter](docs/CompoundMeasureValueFilterCompoundMeasureValueFilter.md) - [ContentSlideTemplate](docs/ContentSlideTemplate.md) - [CoverSlideTemplate](docs/CoverSlideTemplate.md) - [CreatedVisualization](docs/CreatedVisualization.md) - [CreatedVisualizationFiltersInner](docs/CreatedVisualizationFiltersInner.md) - [CreatedVisualizations](docs/CreatedVisualizations.md) + - [CsvConvertOptions](docs/CsvConvertOptions.md) + - [CsvConvertOptionsColumnType](docs/CsvConvertOptionsColumnType.md) + - [CsvManifestBody](docs/CsvManifestBody.md) + - [CsvParseOptions](docs/CsvParseOptions.md) + - [CsvReadOptions](docs/CsvReadOptions.md) - [CustomLabel](docs/CustomLabel.md) - [CustomMetric](docs/CustomMetric.md) - [CustomOverride](docs/CustomOverride.md) @@ -1150,7 +682,6 @@ Class | Method | HTTP request | Description - [DashboardAttributeFilterAttributeFilter](docs/DashboardAttributeFilterAttributeFilter.md) - [DashboardDateFilter](docs/DashboardDateFilter.md) - [DashboardDateFilterDateFilter](docs/DashboardDateFilterDateFilter.md) - - [DashboardDateFilterDateFilterFrom](docs/DashboardDateFilterDateFilterFrom.md) - [DashboardExportSettings](docs/DashboardExportSettings.md) - [DashboardFilter](docs/DashboardFilter.md) - [DashboardPermissions](docs/DashboardPermissions.md) @@ -1192,6 +723,8 @@ Class | Method | HTTP request | Description - [DeclarativeColumn](docs/DeclarativeColumn.md) - [DeclarativeCspDirective](docs/DeclarativeCspDirective.md) - [DeclarativeCustomApplicationSetting](docs/DeclarativeCustomApplicationSetting.md) + - [DeclarativeCustomGeoCollection](docs/DeclarativeCustomGeoCollection.md) + - [DeclarativeCustomGeoCollections](docs/DeclarativeCustomGeoCollections.md) - [DeclarativeDashboardPlugin](docs/DeclarativeDashboardPlugin.md) - [DeclarativeDataSource](docs/DeclarativeDataSource.md) - [DeclarativeDataSourcePermission](docs/DeclarativeDataSourcePermission.md) @@ -1260,6 +793,7 @@ Class | Method | HTTP request | Description - [DeclarativeWorkspaces](docs/DeclarativeWorkspaces.md) - [DefaultSmtp](docs/DefaultSmtp.md) - [DefaultSmtpAllOf](docs/DefaultSmtpAllOf.md) + - [DeleteFilesRequest](docs/DeleteFilesRequest.md) - [DependentEntitiesGraph](docs/DependentEntitiesGraph.md) - [DependentEntitiesNode](docs/DependentEntitiesNode.md) - [DependentEntitiesRequest](docs/DependentEntitiesRequest.md) @@ -1294,6 +828,8 @@ Class | Method | HTTP request | Description - [ExportResponse](docs/ExportResponse.md) - [ExportResult](docs/ExportResult.md) - [FactIdentifier](docs/FactIdentifier.md) + - [FeatureFlagsContext](docs/FeatureFlagsContext.md) + - [Features](docs/Features.md) - [File](docs/File.md) - [Filter](docs/Filter.md) - [FilterBy](docs/FilterBy.md) @@ -1305,9 +841,13 @@ Class | Method | HTTP request | Description - [Frequency](docs/Frequency.md) - [FrequencyBucket](docs/FrequencyBucket.md) - [FrequencyProperties](docs/FrequencyProperties.md) + - [GdStorageFile](docs/GdStorageFile.md) - [GenerateLdmRequest](docs/GenerateLdmRequest.md) - [GeoAreaConfig](docs/GeoAreaConfig.md) - - [GeoCollection](docs/GeoCollection.md) + - [GeoCollectionIdentifier](docs/GeoCollectionIdentifier.md) + - [GeoJsonFeature](docs/GeoJsonFeature.md) + - [GeoJsonFeatureCollection](docs/GeoJsonFeatureCollection.md) + - [GeoJsonGeometry](docs/GeoJsonGeometry.md) - [GetImageExport202ResponseInner](docs/GetImageExport202ResponseInner.md) - [GetQualityIssuesResponse](docs/GetQualityIssuesResponse.md) - [GrainIdentifier](docs/GrainIdentifier.md) @@ -1322,6 +862,13 @@ Class | Method | HTTP request | Description - [IdentifierRef](docs/IdentifierRef.md) - [IdentifierRefIdentifier](docs/IdentifierRefIdentifier.md) - [ImageExportRequest](docs/ImageExportRequest.md) + - [ImportCsvRequest](docs/ImportCsvRequest.md) + - [ImportCsvRequestTable](docs/ImportCsvRequestTable.md) + - [ImportCsvRequestTableSource](docs/ImportCsvRequestTableSource.md) + - [ImportCsvRequestTableSourceConfig](docs/ImportCsvRequestTableSourceConfig.md) + - [ImportCsvResponse](docs/ImportCsvResponse.md) + - [ImportGeoCollectionRequest](docs/ImportGeoCollectionRequest.md) + - [ImportGeoCollectionResponse](docs/ImportGeoCollectionResponse.md) - [InPlatform](docs/InPlatform.md) - [InPlatformAllOf](docs/InPlatformAllOf.md) - [InlineFilterDefinition](docs/InlineFilterDefinition.md) @@ -1329,6 +876,7 @@ Class | Method | HTTP request | Description - [InlineMeasureDefinition](docs/InlineMeasureDefinition.md) - [InlineMeasureDefinitionInline](docs/InlineMeasureDefinitionInline.md) - [IntroSlideTemplate](docs/IntroSlideTemplate.md) + - [Invitation](docs/Invitation.md) - [JsonApiAggregatedFactLinkage](docs/JsonApiAggregatedFactLinkage.md) - [JsonApiAggregatedFactOut](docs/JsonApiAggregatedFactOut.md) - [JsonApiAggregatedFactOutAttributes](docs/JsonApiAggregatedFactOutAttributes.md) @@ -1486,6 +1034,14 @@ Class | Method | HTTP request | Description - [JsonApiCustomApplicationSettingPatchDocument](docs/JsonApiCustomApplicationSettingPatchDocument.md) - [JsonApiCustomApplicationSettingPostOptionalId](docs/JsonApiCustomApplicationSettingPostOptionalId.md) - [JsonApiCustomApplicationSettingPostOptionalIdDocument](docs/JsonApiCustomApplicationSettingPostOptionalIdDocument.md) + - [JsonApiCustomGeoCollectionIn](docs/JsonApiCustomGeoCollectionIn.md) + - [JsonApiCustomGeoCollectionInDocument](docs/JsonApiCustomGeoCollectionInDocument.md) + - [JsonApiCustomGeoCollectionOut](docs/JsonApiCustomGeoCollectionOut.md) + - [JsonApiCustomGeoCollectionOutDocument](docs/JsonApiCustomGeoCollectionOutDocument.md) + - [JsonApiCustomGeoCollectionOutList](docs/JsonApiCustomGeoCollectionOutList.md) + - [JsonApiCustomGeoCollectionOutWithLinks](docs/JsonApiCustomGeoCollectionOutWithLinks.md) + - [JsonApiCustomGeoCollectionPatch](docs/JsonApiCustomGeoCollectionPatch.md) + - [JsonApiCustomGeoCollectionPatchDocument](docs/JsonApiCustomGeoCollectionPatchDocument.md) - [JsonApiDashboardPluginIn](docs/JsonApiDashboardPluginIn.md) - [JsonApiDashboardPluginInAttributes](docs/JsonApiDashboardPluginInAttributes.md) - [JsonApiDashboardPluginInDocument](docs/JsonApiDashboardPluginInDocument.md) @@ -1536,7 +1092,6 @@ Class | Method | HTTP request | Description - [JsonApiDatasetOutRelationshipsWorkspaceDataFilters](docs/JsonApiDatasetOutRelationshipsWorkspaceDataFilters.md) - [JsonApiDatasetOutWithLinks](docs/JsonApiDatasetOutWithLinks.md) - [JsonApiDatasetPatch](docs/JsonApiDatasetPatch.md) - - [JsonApiDatasetPatchAttributes](docs/JsonApiDatasetPatchAttributes.md) - [JsonApiDatasetPatchDocument](docs/JsonApiDatasetPatchDocument.md) - [JsonApiDatasetToManyLinkage](docs/JsonApiDatasetToManyLinkage.md) - [JsonApiDatasetToOneLinkage](docs/JsonApiDatasetToOneLinkage.md) @@ -1638,6 +1193,23 @@ Class | Method | HTTP request | Description - [JsonApiJwkOutWithLinks](docs/JsonApiJwkOutWithLinks.md) - [JsonApiJwkPatch](docs/JsonApiJwkPatch.md) - [JsonApiJwkPatchDocument](docs/JsonApiJwkPatchDocument.md) + - [JsonApiKnowledgeRecommendationIn](docs/JsonApiKnowledgeRecommendationIn.md) + - [JsonApiKnowledgeRecommendationInAttributes](docs/JsonApiKnowledgeRecommendationInAttributes.md) + - [JsonApiKnowledgeRecommendationInDocument](docs/JsonApiKnowledgeRecommendationInDocument.md) + - [JsonApiKnowledgeRecommendationInRelationships](docs/JsonApiKnowledgeRecommendationInRelationships.md) + - [JsonApiKnowledgeRecommendationInRelationshipsMetric](docs/JsonApiKnowledgeRecommendationInRelationshipsMetric.md) + - [JsonApiKnowledgeRecommendationOut](docs/JsonApiKnowledgeRecommendationOut.md) + - [JsonApiKnowledgeRecommendationOutAttributes](docs/JsonApiKnowledgeRecommendationOutAttributes.md) + - [JsonApiKnowledgeRecommendationOutDocument](docs/JsonApiKnowledgeRecommendationOutDocument.md) + - [JsonApiKnowledgeRecommendationOutIncludes](docs/JsonApiKnowledgeRecommendationOutIncludes.md) + - [JsonApiKnowledgeRecommendationOutList](docs/JsonApiKnowledgeRecommendationOutList.md) + - [JsonApiKnowledgeRecommendationOutRelationships](docs/JsonApiKnowledgeRecommendationOutRelationships.md) + - [JsonApiKnowledgeRecommendationOutWithLinks](docs/JsonApiKnowledgeRecommendationOutWithLinks.md) + - [JsonApiKnowledgeRecommendationPatch](docs/JsonApiKnowledgeRecommendationPatch.md) + - [JsonApiKnowledgeRecommendationPatchAttributes](docs/JsonApiKnowledgeRecommendationPatchAttributes.md) + - [JsonApiKnowledgeRecommendationPatchDocument](docs/JsonApiKnowledgeRecommendationPatchDocument.md) + - [JsonApiKnowledgeRecommendationPostOptionalId](docs/JsonApiKnowledgeRecommendationPostOptionalId.md) + - [JsonApiKnowledgeRecommendationPostOptionalIdDocument](docs/JsonApiKnowledgeRecommendationPostOptionalIdDocument.md) - [JsonApiLabelLinkage](docs/JsonApiLabelLinkage.md) - [JsonApiLabelOut](docs/JsonApiLabelOut.md) - [JsonApiLabelOutAttributes](docs/JsonApiLabelOutAttributes.md) @@ -1649,7 +1221,6 @@ Class | Method | HTTP request | Description - [JsonApiLabelOutRelationshipsAttribute](docs/JsonApiLabelOutRelationshipsAttribute.md) - [JsonApiLabelOutWithLinks](docs/JsonApiLabelOutWithLinks.md) - [JsonApiLabelPatch](docs/JsonApiLabelPatch.md) - - [JsonApiLabelPatchAttributes](docs/JsonApiLabelPatchAttributes.md) - [JsonApiLabelPatchDocument](docs/JsonApiLabelPatchDocument.md) - [JsonApiLabelToManyLinkage](docs/JsonApiLabelToManyLinkage.md) - [JsonApiLabelToOneLinkage](docs/JsonApiLabelToOneLinkage.md) @@ -1695,6 +1266,7 @@ Class | Method | HTTP request | Description - [JsonApiMetricPostOptionalId](docs/JsonApiMetricPostOptionalId.md) - [JsonApiMetricPostOptionalIdDocument](docs/JsonApiMetricPostOptionalIdDocument.md) - [JsonApiMetricToManyLinkage](docs/JsonApiMetricToManyLinkage.md) + - [JsonApiMetricToOneLinkage](docs/JsonApiMetricToOneLinkage.md) - [JsonApiNotificationChannelIdentifierOut](docs/JsonApiNotificationChannelIdentifierOut.md) - [JsonApiNotificationChannelIdentifierOutAttributes](docs/JsonApiNotificationChannelIdentifierOutAttributes.md) - [JsonApiNotificationChannelIdentifierOutDocument](docs/JsonApiNotificationChannelIdentifierOutDocument.md) @@ -1886,9 +1458,14 @@ Class | Method | HTTP request | Description - [LabelIdentifier](docs/LabelIdentifier.md) - [ListLinks](docs/ListLinks.md) - [ListLinksAllOf](docs/ListLinksAllOf.md) + - [LiveFeatureFlagConfiguration](docs/LiveFeatureFlagConfiguration.md) + - [LiveFeatures](docs/LiveFeatures.md) + - [LiveFeaturesLive](docs/LiveFeaturesLive.md) + - [LiveFeaturesLiveAllOf](docs/LiveFeaturesLiveAllOf.md) - [LocalIdentifier](docs/LocalIdentifier.md) - [LocaleRequest](docs/LocaleRequest.md) - [ManageDashboardPermissionsRequestInner](docs/ManageDashboardPermissionsRequestInner.md) + - [MatomoService](docs/MatomoService.md) - [MeasureDefinition](docs/MeasureDefinition.md) - [MeasureExecutionResultHeader](docs/MeasureExecutionResultHeader.md) - [MeasureGroupHeaders](docs/MeasureGroupHeaders.md) @@ -1896,6 +1473,7 @@ Class | Method | HTTP request | Description - [MeasureItem](docs/MeasureItem.md) - [MeasureItemDefinition](docs/MeasureItemDefinition.md) - [MeasureResultHeader](docs/MeasureResultHeader.md) + - [MeasureValueCondition](docs/MeasureValueCondition.md) - [MeasureValueFilter](docs/MeasureValueFilter.md) - [MemoryItemCreatedByUsers](docs/MemoryItemCreatedByUsers.md) - [MemoryItemUser](docs/MemoryItemUser.md) @@ -1916,9 +1494,16 @@ Class | Method | HTTP request | Description - [NotificationsMetaTotal](docs/NotificationsMetaTotal.md) - [ObjectLinks](docs/ObjectLinks.md) - [ObjectLinksContainer](docs/ObjectLinksContainer.md) + - [OpenTelemetryService](docs/OpenTelemetryService.md) - [OrganizationAutomationIdentifier](docs/OrganizationAutomationIdentifier.md) - [OrganizationAutomationManagementBulkRequest](docs/OrganizationAutomationManagementBulkRequest.md) + - [OrganizationCacheSettings](docs/OrganizationCacheSettings.md) + - [OrganizationCacheUsage](docs/OrganizationCacheUsage.md) + - [OrganizationCurrentCacheUsage](docs/OrganizationCurrentCacheUsage.md) - [OrganizationPermissionAssignment](docs/OrganizationPermissionAssignment.md) + - [OutlierDetectionRequest](docs/OutlierDetectionRequest.md) + - [OutlierDetectionResponse](docs/OutlierDetectionResponse.md) + - [OutlierDetectionResult](docs/OutlierDetectionResult.md) - [Over](docs/Over.md) - [PageMetadata](docs/PageMetadata.md) - [Paging](docs/Paging.md) @@ -1942,10 +1527,15 @@ Class | Method | HTTP request | Description - [PopMeasureDefinition](docs/PopMeasureDefinition.md) - [PositiveAttributeFilter](docs/PositiveAttributeFilter.md) - [PositiveAttributeFilterPositiveAttributeFilter](docs/PositiveAttributeFilterPositiveAttributeFilter.md) + - [Profile](docs/Profile.md) + - [ProfileFeatures](docs/ProfileFeatures.md) + - [ProfileLinks](docs/ProfileLinks.md) - [QualityIssue](docs/QualityIssue.md) - [QualityIssueObject](docs/QualityIssueObject.md) - [QualityIssuesCalculationStatusResponse](docs/QualityIssuesCalculationStatusResponse.md) - [Range](docs/Range.md) + - [RangeCondition](docs/RangeCondition.md) + - [RangeConditionRange](docs/RangeConditionRange.md) - [RangeMeasureValueFilter](docs/RangeMeasureValueFilter.md) - [RangeMeasureValueFilterRangeMeasureValueFilter](docs/RangeMeasureValueFilterRangeMeasureValueFilter.md) - [RangeWrapper](docs/RangeWrapper.md) @@ -1956,6 +1546,11 @@ Class | Method | HTTP request | Description - [RawCustomOverride](docs/RawCustomOverride.md) - [RawExportAutomationRequest](docs/RawExportAutomationRequest.md) - [RawExportRequest](docs/RawExportRequest.md) + - [ReadCsvFileManifestsRequest](docs/ReadCsvFileManifestsRequest.md) + - [ReadCsvFileManifestsRequestItem](docs/ReadCsvFileManifestsRequestItem.md) + - [ReadCsvFileManifestsResponse](docs/ReadCsvFileManifestsResponse.md) + - [Reasoning](docs/Reasoning.md) + - [ReasoningStep](docs/ReasoningStep.md) - [ReferenceIdentifier](docs/ReferenceIdentifier.md) - [ReferenceSourceColumn](docs/ReferenceSourceColumn.md) - [Relative](docs/Relative.md) @@ -2004,6 +1599,9 @@ Class | Method | HTTP request | Description - [SqlColumn](docs/SqlColumn.md) - [SqlQuery](docs/SqlQuery.md) - [SqlQueryAllOf](docs/SqlQueryAllOf.md) + - [StaticFeatures](docs/StaticFeatures.md) + - [StaticFeaturesStatic](docs/StaticFeaturesStatic.md) + - [StaticFeaturesStaticAllOf](docs/StaticFeaturesStaticAllOf.md) - [Suggestion](docs/Suggestion.md) - [SwitchIdentityProviderRequest](docs/SwitchIdentityProviderRequest.md) - [Table](docs/Table.md) @@ -2011,6 +1609,9 @@ Class | Method | HTTP request | Description - [TableOverride](docs/TableOverride.md) - [TableWarning](docs/TableWarning.md) - [TabularExportRequest](docs/TabularExportRequest.md) + - [TelemetryConfig](docs/TelemetryConfig.md) + - [TelemetryContext](docs/TelemetryContext.md) + - [TelemetryServices](docs/TelemetryServices.md) - [TestDefinitionRequest](docs/TestDefinitionRequest.md) - [TestDestinationRequest](docs/TestDestinationRequest.md) - [TestNotification](docs/TestNotification.md) @@ -2018,12 +1619,15 @@ Class | Method | HTTP request | Description - [TestQueryDuration](docs/TestQueryDuration.md) - [TestRequest](docs/TestRequest.md) - [TestResponse](docs/TestResponse.md) + - [Thought](docs/Thought.md) - [Total](docs/Total.md) - [TotalDimension](docs/TotalDimension.md) - [TotalExecutionResultHeader](docs/TotalExecutionResultHeader.md) - [TotalResultHeader](docs/TotalResultHeader.md) - [TriggerAutomationRequest](docs/TriggerAutomationRequest.md) - [TriggerQualityIssuesCalculationResponse](docs/TriggerQualityIssuesCalculationResponse.md) + - [UploadFileResponse](docs/UploadFileResponse.md) + - [UploadGeoCollectionFileResponse](docs/UploadGeoCollectionFileResponse.md) - [UserAssignee](docs/UserAssignee.md) - [UserContext](docs/UserContext.md) - [UserGroupAssignee](docs/UserGroupAssignee.md) @@ -2055,6 +1659,9 @@ Class | Method | HTTP request | Description - [WidgetSlidesTemplate](docs/WidgetSlidesTemplate.md) - [WorkspaceAutomationIdentifier](docs/WorkspaceAutomationIdentifier.md) - [WorkspaceAutomationManagementBulkRequest](docs/WorkspaceAutomationManagementBulkRequest.md) + - [WorkspaceCacheSettings](docs/WorkspaceCacheSettings.md) + - [WorkspaceCacheUsage](docs/WorkspaceCacheUsage.md) + - [WorkspaceCurrentCacheUsage](docs/WorkspaceCurrentCacheUsage.md) - [WorkspaceDataSource](docs/WorkspaceDataSource.md) - [WorkspaceIdentifier](docs/WorkspaceIdentifier.md) - [WorkspacePermissionAssignment](docs/WorkspacePermissionAssignment.md) diff --git a/gooddata-api-client/docs/AFMFiltersInner.md b/gooddata-api-client/docs/AFMFiltersInner.md index dbac5d910..cf075740f 100644 --- a/gooddata-api-client/docs/AFMFiltersInner.md +++ b/gooddata-api-client/docs/AFMFiltersInner.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **comparison_measure_value_filter** | [**ComparisonMeasureValueFilterComparisonMeasureValueFilter**](ComparisonMeasureValueFilterComparisonMeasureValueFilter.md) | | [optional] **range_measure_value_filter** | [**RangeMeasureValueFilterRangeMeasureValueFilter**](RangeMeasureValueFilterRangeMeasureValueFilter.md) | | [optional] +**compound_measure_value_filter** | [**CompoundMeasureValueFilterCompoundMeasureValueFilter**](CompoundMeasureValueFilterCompoundMeasureValueFilter.md) | | [optional] **ranking_filter** | [**RankingFilterRankingFilter**](RankingFilterRankingFilter.md) | | [optional] **absolute_date_filter** | [**AbsoluteDateFilterAbsoluteDateFilter**](AbsoluteDateFilterAbsoluteDateFilter.md) | | [optional] **relative_date_filter** | [**RelativeDateFilterRelativeDateFilter**](RelativeDateFilterRelativeDateFilter.md) | | [optional] diff --git a/gooddata-api-client/docs/APITokensApi.md b/gooddata-api-client/docs/APITokensApi.md index 8250932ad..db1091142 100644 --- a/gooddata-api-client/docs/APITokensApi.md +++ b/gooddata-api-client/docs/APITokensApi.md @@ -71,8 +71,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -235,7 +235,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -313,7 +313,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/AacAnalyticsModel.md b/gooddata-api-client/docs/AacAnalyticsModel.md new file mode 100644 index 000000000..46f635496 --- /dev/null +++ b/gooddata-api-client/docs/AacAnalyticsModel.md @@ -0,0 +1,17 @@ +# AacAnalyticsModel + +AAC analytics model representation compatible with Analytics-as-Code YAML format. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attribute_hierarchies** | [**[AacAttributeHierarchy]**](AacAttributeHierarchy.md) | An array of attribute hierarchies. | [optional] +**dashboards** | [**[AacDashboard]**](AacDashboard.md) | An array of dashboards. | [optional] +**metrics** | [**[AacMetric]**](AacMetric.md) | An array of metrics. | [optional] +**plugins** | [**[AacPlugin]**](AacPlugin.md) | An array of dashboard plugins. | [optional] +**visualizations** | [**[AacVisualization]**](AacVisualization.md) | An array of visualizations. | [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/AacAttributeHierarchy.md b/gooddata-api-client/docs/AacAttributeHierarchy.md new file mode 100644 index 000000000..4bd40f492 --- /dev/null +++ b/gooddata-api-client/docs/AacAttributeHierarchy.md @@ -0,0 +1,18 @@ +# AacAttributeHierarchy + +AAC attribute hierarchy definition. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | **[str]** | Ordered list of attribute identifiers (first is top level). | +**id** | **str** | Unique identifier of the attribute hierarchy. | +**type** | **str** | Attribute hierarchy type discriminator. | +**description** | **str** | Attribute hierarchy description. | [optional] +**tags** | **[str]** | Metadata tags. | [optional] +**title** | **str** | Human readable title. | [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/AacDashboard.md b/gooddata-api-client/docs/AacDashboard.md new file mode 100644 index 000000000..d4cd37611 --- /dev/null +++ b/gooddata-api-client/docs/AacDashboard.md @@ -0,0 +1,28 @@ +# AacDashboard + +AAC dashboard definition. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Unique identifier of the dashboard. | +**type** | **str** | Dashboard type discriminator. | +**active_tab_id** | **str** | Active tab ID for tabbed dashboards. | [optional] +**cross_filtering** | **bool** | Whether cross filtering is enabled. | [optional] +**description** | **str** | Dashboard description. | [optional] +**enable_section_headers** | **bool** | Whether section headers are enabled. | [optional] +**filter_views** | **bool** | Whether filter views are enabled. | [optional] +**filters** | [**{str: (AacDashboardFilter,)}**](AacDashboardFilter.md) | Dashboard filters. | [optional] +**permissions** | [**AacDashboardPermissions**](AacDashboardPermissions.md) | | [optional] +**plugins** | [**[AacDashboardPluginLink]**](AacDashboardPluginLink.md) | Dashboard plugins. | [optional] +**sections** | [**[AacSection]**](AacSection.md) | Dashboard sections (for non-tabbed dashboards). | [optional] +**tabs** | [**[AacTab]**](AacTab.md) | Dashboard tabs (for tabbed dashboards). | [optional] +**tags** | **[str]** | Metadata tags. | [optional] +**title** | **str** | Human readable title. | [optional] +**user_filters_reset** | **bool** | Whether user can reset custom filters. | [optional] +**user_filters_save** | **bool** | Whether user filter settings are stored. | [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/AacDashboardFilter.md b/gooddata-api-client/docs/AacDashboardFilter.md new file mode 100644 index 000000000..2fe694b84 --- /dev/null +++ b/gooddata-api-client/docs/AacDashboardFilter.md @@ -0,0 +1,25 @@ +# AacDashboardFilter + +Tab-specific filters. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | Filter type. | +**date** | **str** | Date dataset reference. | [optional] +**display_as** | **str** | Display as label. | [optional] +**_from** | [**AacDashboardFilterFrom**](AacDashboardFilterFrom.md) | | [optional] +**granularity** | **str** | Date granularity. | [optional] +**metric_filters** | **[str]** | Metric filters for validation. | [optional] +**mode** | **str** | Filter mode. | [optional] +**multiselect** | **bool** | Whether multiselect is enabled. | [optional] +**parents** | [**[JsonNode]**](JsonNode.md) | Parent filter references. | [optional] +**state** | [**AacFilterState**](AacFilterState.md) | | [optional] +**title** | **str** | Filter title. | [optional] +**to** | [**AacDashboardFilterFrom**](AacDashboardFilterFrom.md) | | [optional] +**using** | **str** | Attribute or label to filter by. | [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/AacDashboardFilterFrom.md b/gooddata-api-client/docs/AacDashboardFilterFrom.md new file mode 100644 index 000000000..5165693f2 --- /dev/null +++ b/gooddata-api-client/docs/AacDashboardFilterFrom.md @@ -0,0 +1,11 @@ +# AacDashboardFilterFrom + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**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/AacDashboardPermissions.md b/gooddata-api-client/docs/AacDashboardPermissions.md new file mode 100644 index 000000000..9bc8e992b --- /dev/null +++ b/gooddata-api-client/docs/AacDashboardPermissions.md @@ -0,0 +1,15 @@ +# AacDashboardPermissions + +Dashboard permissions. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**edit** | [**AacPermission**](AacPermission.md) | | [optional] +**share** | [**AacPermission**](AacPermission.md) | | [optional] +**view** | [**AacPermission**](AacPermission.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/AacDashboardPluginLink.md b/gooddata-api-client/docs/AacDashboardPluginLink.md new file mode 100644 index 000000000..d90982aeb --- /dev/null +++ b/gooddata-api-client/docs/AacDashboardPluginLink.md @@ -0,0 +1,14 @@ +# AacDashboardPluginLink + +Dashboard plugins. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Plugin ID. | +**parameters** | [**JsonNode**](JsonNode.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/AacDataset.md b/gooddata-api-client/docs/AacDataset.md new file mode 100644 index 000000000..bfe5cc987 --- /dev/null +++ b/gooddata-api-client/docs/AacDataset.md @@ -0,0 +1,25 @@ +# AacDataset + +AAC dataset definition. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Unique identifier of the dataset. | +**type** | **str** | Dataset type discriminator. | +**data_source** | **str** | Data source ID. | [optional] +**description** | **str** | Dataset description. | [optional] +**fields** | [**{str: (AacField,)}**](AacField.md) | Dataset fields (attributes, facts, aggregated facts). | [optional] +**precedence** | **int** | Precedence value for aggregate awareness. | [optional] +**primary_key** | [**AacDatasetPrimaryKey**](AacDatasetPrimaryKey.md) | | [optional] +**references** | [**[AacReference]**](AacReference.md) | References to other datasets. | [optional] +**sql** | **str** | SQL statement defining this dataset. | [optional] +**table_path** | **str** | Table path in the data source. | [optional] +**tags** | **[str]** | Metadata tags. | [optional] +**title** | **str** | Human readable title. | [optional] +**workspace_data_filters** | [**[AacWorkspaceDataFilter]**](AacWorkspaceDataFilter.md) | Workspace data filters. | [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/AacDatasetPrimaryKey.md b/gooddata-api-client/docs/AacDatasetPrimaryKey.md new file mode 100644 index 000000000..cabaaf4d1 --- /dev/null +++ b/gooddata-api-client/docs/AacDatasetPrimaryKey.md @@ -0,0 +1,12 @@ +# AacDatasetPrimaryKey + +Primary key column(s). Accepts either a single string or an array of strings. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**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/AacDateDataset.md b/gooddata-api-client/docs/AacDateDataset.md new file mode 100644 index 000000000..8f670d77e --- /dev/null +++ b/gooddata-api-client/docs/AacDateDataset.md @@ -0,0 +1,20 @@ +# AacDateDataset + +AAC date dataset definition. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Unique identifier of the date dataset. | +**type** | **str** | Dataset type discriminator. | +**description** | **str** | Date dataset description. | [optional] +**granularities** | **[str]** | List of granularities. | [optional] +**tags** | **[str]** | Metadata tags. | [optional] +**title** | **str** | Human readable title. | [optional] +**title_base** | **str** | Title base for formatting. | [optional] +**title_pattern** | **str** | Title pattern for formatting. | [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/AacField.md b/gooddata-api-client/docs/AacField.md new file mode 100644 index 000000000..778eb192f --- /dev/null +++ b/gooddata-api-client/docs/AacField.md @@ -0,0 +1,27 @@ +# AacField + +AAC field definition (attribute, fact, or aggregated_fact). + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | Field type. | +**aggregated_as** | **str** | Aggregation method. | [optional] +**assigned_to** | **str** | Source fact ID for aggregated fact. | [optional] +**data_type** | **str** | Data type of the column. | [optional] +**default_view** | **str** | Default view label ID. | [optional] +**description** | **str** | Field description. | [optional] +**is_hidden** | **bool** | Deprecated. Use showInAiResults instead. | [optional] +**labels** | [**{str: (AacLabel,)}**](AacLabel.md) | Attribute labels. | [optional] +**locale** | **str** | Locale for sorting. | [optional] +**show_in_ai_results** | **bool** | Whether to show in AI results. | [optional] +**sort_column** | **str** | Sort column name. | [optional] +**sort_direction** | **str** | Sort direction. | [optional] +**source_column** | **str** | Source column in the physical database. | [optional] +**tags** | **[str]** | Metadata tags. | [optional] +**title** | **str** | Human readable title. | [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/AacFilterState.md b/gooddata-api-client/docs/AacFilterState.md new file mode 100644 index 000000000..3b0b917dc --- /dev/null +++ b/gooddata-api-client/docs/AacFilterState.md @@ -0,0 +1,14 @@ +# AacFilterState + +Filter state. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**exclude** | **[str]** | Excluded values. | [optional] +**include** | **[str]** | Included values. | [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/AacGeoAreaConfig.md b/gooddata-api-client/docs/AacGeoAreaConfig.md new file mode 100644 index 000000000..2e9ea6453 --- /dev/null +++ b/gooddata-api-client/docs/AacGeoAreaConfig.md @@ -0,0 +1,13 @@ +# AacGeoAreaConfig + +GEO area configuration. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**collection** | [**AacGeoCollectionIdentifier**](AacGeoCollectionIdentifier.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/AacGeoCollectionIdentifier.md b/gooddata-api-client/docs/AacGeoCollectionIdentifier.md new file mode 100644 index 000000000..1f11d9e47 --- /dev/null +++ b/gooddata-api-client/docs/AacGeoCollectionIdentifier.md @@ -0,0 +1,14 @@ +# AacGeoCollectionIdentifier + +GEO collection configuration. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Collection identifier. | +**kind** | **str** | Type of geo collection. | [optional] if omitted the server will use the default value of "STATIC" +**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/AacLabel.md b/gooddata-api-client/docs/AacLabel.md new file mode 100644 index 000000000..b316ae101 --- /dev/null +++ b/gooddata-api-client/docs/AacLabel.md @@ -0,0 +1,23 @@ +# AacLabel + +AAC label definition. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data_type** | **str** | Data type of the column. | [optional] +**description** | **str** | Label description. | [optional] +**geo_area_config** | [**AacGeoAreaConfig**](AacGeoAreaConfig.md) | | [optional] +**is_hidden** | **bool** | Deprecated. Use showInAiResults instead. | [optional] +**locale** | **str** | Locale for sorting. | [optional] +**show_in_ai_results** | **bool** | Whether to show in AI results. | [optional] +**source_column** | **str** | Source column name. | [optional] +**tags** | **[str]** | Metadata tags. | [optional] +**title** | **str** | Human readable title. | [optional] +**translations** | [**[AacLabelTranslation]**](AacLabelTranslation.md) | Localized source columns. | [optional] +**value_type** | **str** | Value type. | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/AacLabelTranslation.md b/gooddata-api-client/docs/AacLabelTranslation.md new file mode 100644 index 000000000..2676607d1 --- /dev/null +++ b/gooddata-api-client/docs/AacLabelTranslation.md @@ -0,0 +1,14 @@ +# AacLabelTranslation + +Localized source columns. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**locale** | **str** | Locale identifier. | +**source_column** | **str** | Source column for translation. | +**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/AacLogicalModel.md b/gooddata-api-client/docs/AacLogicalModel.md new file mode 100644 index 000000000..7666c4ebc --- /dev/null +++ b/gooddata-api-client/docs/AacLogicalModel.md @@ -0,0 +1,14 @@ +# AacLogicalModel + +AAC logical data model representation compatible with Analytics-as-Code YAML format. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**datasets** | [**[AacDataset]**](AacDataset.md) | An array of datasets. | [optional] +**date_datasets** | [**[AacDateDataset]**](AacDateDataset.md) | An array of date datasets. | [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/AacMetric.md b/gooddata-api-client/docs/AacMetric.md new file mode 100644 index 000000000..53e2bdbf7 --- /dev/null +++ b/gooddata-api-client/docs/AacMetric.md @@ -0,0 +1,21 @@ +# AacMetric + +AAC metric definition. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Unique identifier of the metric. | +**maql** | **str** | MAQL expression defining the metric. | +**type** | **str** | Metric type discriminator. | +**description** | **str** | Metric description. | [optional] +**format** | **str** | Default format for metric values. | [optional] +**is_hidden** | **bool** | Deprecated. Use showInAiResults instead. | [optional] +**show_in_ai_results** | **bool** | Whether to show in AI results. | [optional] +**tags** | **[str]** | Metadata tags. | [optional] +**title** | **str** | Human readable title. | [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/AacPermission.md b/gooddata-api-client/docs/AacPermission.md new file mode 100644 index 000000000..666773216 --- /dev/null +++ b/gooddata-api-client/docs/AacPermission.md @@ -0,0 +1,15 @@ +# AacPermission + +SHARE permission. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**all** | **bool** | Grant to all users. | [optional] +**user_groups** | **[str]** | List of user group IDs. | [optional] +**users** | **[str]** | List of user IDs. | [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/AacPlugin.md b/gooddata-api-client/docs/AacPlugin.md new file mode 100644 index 000000000..f1ee35692 --- /dev/null +++ b/gooddata-api-client/docs/AacPlugin.md @@ -0,0 +1,18 @@ +# AacPlugin + +AAC dashboard plugin definition. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Unique identifier of the plugin. | +**type** | **str** | Plugin type discriminator. | +**url** | **str** | URL of the plugin. | +**description** | **str** | Plugin description. | [optional] +**tags** | **[str]** | Metadata tags. | [optional] +**title** | **str** | Human readable title. | [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/AacQuery.md b/gooddata-api-client/docs/AacQuery.md new file mode 100644 index 000000000..d51459161 --- /dev/null +++ b/gooddata-api-client/docs/AacQuery.md @@ -0,0 +1,15 @@ +# AacQuery + +Query definition. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fields** | [**{str: (AacQueryFieldsValue,)}**](AacQueryFieldsValue.md) | Query fields map: localId -> field definition (identifier string or structured object). | +**filter_by** | [**{str: (AacQueryFilter,)}**](AacQueryFilter.md) | Query filters map: localId -> filter definition. | [optional] +**sort_by** | [**[JsonNode]**](JsonNode.md) | Sorting definitions. | [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/AacQueryFieldsValue.md b/gooddata-api-client/docs/AacQueryFieldsValue.md new file mode 100644 index 000000000..a0851c984 --- /dev/null +++ b/gooddata-api-client/docs/AacQueryFieldsValue.md @@ -0,0 +1,11 @@ +# AacQueryFieldsValue + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**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/AacQueryFilter.md b/gooddata-api-client/docs/AacQueryFilter.md new file mode 100644 index 000000000..ecff0a36e --- /dev/null +++ b/gooddata-api-client/docs/AacQueryFilter.md @@ -0,0 +1,24 @@ +# AacQueryFilter + +Query filters map: localId -> filter definition. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | Filter type. | +**additional_properties** | [**{str: (JsonNode,)}**](JsonNode.md) | | [optional] +**attribute** | **str** | Attribute for ranking filter (identifier or localId). | [optional] +**bottom** | **int** | Bottom N for ranking filter. | [optional] +**condition** | **str** | Condition for metric value filter. | [optional] +**_from** | [**AacDashboardFilterFrom**](AacDashboardFilterFrom.md) | | [optional] +**granularity** | **str** | Date granularity (date filter). | [optional] +**state** | [**AacFilterState**](AacFilterState.md) | | [optional] +**to** | [**AacDashboardFilterFrom**](AacDashboardFilterFrom.md) | | [optional] +**top** | **int** | Top N for ranking filter. | [optional] +**using** | **str** | Reference to attribute/label/date/metric/fact (type-prefixed id). | [optional] +**value** | **float** | Value for metric value filter. | [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/AacReference.md b/gooddata-api-client/docs/AacReference.md new file mode 100644 index 000000000..f03ff3de1 --- /dev/null +++ b/gooddata-api-client/docs/AacReference.md @@ -0,0 +1,15 @@ +# AacReference + +AAC reference to another dataset. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dataset** | **str** | Target dataset ID. | +**sources** | [**[AacReferenceSource]**](AacReferenceSource.md) | Source columns for the reference. | +**multi_directional** | **bool** | Whether the reference is multi-directional. | [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/AacReferenceSource.md b/gooddata-api-client/docs/AacReferenceSource.md new file mode 100644 index 000000000..19c32344e --- /dev/null +++ b/gooddata-api-client/docs/AacReferenceSource.md @@ -0,0 +1,15 @@ +# AacReferenceSource + +Source columns for the reference. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**source_column** | **str** | Source column name. | +**data_type** | **str** | Data type of the column. | [optional] +**target** | **str** | Target in the referenced dataset. | [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/AacSection.md b/gooddata-api-client/docs/AacSection.md new file mode 100644 index 000000000..a85e91627 --- /dev/null +++ b/gooddata-api-client/docs/AacSection.md @@ -0,0 +1,16 @@ +# AacSection + +Sections within the tab. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **str** | Section description. | [optional] +**header** | **bool** | Whether section header is visible. | [optional] +**title** | **str** | Section title. | [optional] +**widgets** | [**[AacWidget]**](AacWidget.md) | Widgets in the section. | [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/AacTab.md b/gooddata-api-client/docs/AacTab.md new file mode 100644 index 000000000..0256dd7ab --- /dev/null +++ b/gooddata-api-client/docs/AacTab.md @@ -0,0 +1,16 @@ +# AacTab + +Dashboard tabs (for tabbed dashboards). + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Unique identifier of the tab. | +**title** | **str** | Display title for the tab. | +**filters** | [**{str: (AacDashboardFilter,)}**](AacDashboardFilter.md) | Tab-specific filters. | [optional] +**sections** | [**[AacSection]**](AacSection.md) | Sections within the tab. | [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/AacVisualization.md b/gooddata-api-client/docs/AacVisualization.md new file mode 100644 index 000000000..11f0dd320 --- /dev/null +++ b/gooddata-api-client/docs/AacVisualization.md @@ -0,0 +1,35 @@ +# AacVisualization + +AAC visualization definition. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Unique identifier of the visualization. | +**query** | [**AacQuery**](AacQuery.md) | | +**type** | **str** | Visualization type. | +**additional_properties** | [**{str: (JsonNode,)}**](JsonNode.md) | | [optional] +**attribute** | [**[AacQueryFieldsValue]**](AacQueryFieldsValue.md) | Attribute bucket (for repeater). | [optional] +**color** | [**[AacQueryFieldsValue]**](AacQueryFieldsValue.md) | Color bucket. | [optional] +**columns** | [**[AacQueryFieldsValue]**](AacQueryFieldsValue.md) | Columns bucket (for tables). | [optional] +**config** | [**JsonNode**](JsonNode.md) | | [optional] +**description** | **str** | Visualization description. | [optional] +**is_hidden** | **bool** | Deprecated. Use showInAiResults instead. | [optional] +**location** | [**[AacQueryFieldsValue]**](AacQueryFieldsValue.md) | Location bucket (for geo charts). | [optional] +**metrics** | [**[AacQueryFieldsValue]**](AacQueryFieldsValue.md) | Metrics bucket. | [optional] +**primary_measures** | [**[AacQueryFieldsValue]**](AacQueryFieldsValue.md) | Primary measures bucket. | [optional] +**rows** | [**[AacQueryFieldsValue]**](AacQueryFieldsValue.md) | Rows bucket (for tables). | [optional] +**secondary_measures** | [**[AacQueryFieldsValue]**](AacQueryFieldsValue.md) | Secondary measures bucket. | [optional] +**segment_by** | [**[AacQueryFieldsValue]**](AacQueryFieldsValue.md) | Segment by attributes bucket. | [optional] +**show_in_ai_results** | **bool** | Whether to show in AI results. | [optional] +**size** | [**[AacQueryFieldsValue]**](AacQueryFieldsValue.md) | Size bucket. | [optional] +**stack** | [**[AacQueryFieldsValue]**](AacQueryFieldsValue.md) | Stack bucket. | [optional] +**tags** | **[str]** | Metadata tags. | [optional] +**title** | **str** | Human readable title. | [optional] +**trend** | [**[AacQueryFieldsValue]**](AacQueryFieldsValue.md) | Trend bucket. | [optional] +**view_by** | [**[AacQueryFieldsValue]**](AacQueryFieldsValue.md) | View by attributes bucket. | [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/AacWidget.md b/gooddata-api-client/docs/AacWidget.md new file mode 100644 index 000000000..52e3082ca --- /dev/null +++ b/gooddata-api-client/docs/AacWidget.md @@ -0,0 +1,29 @@ +# AacWidget + +Widgets in the section. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**additional_properties** | [**{str: (JsonNode,)}**](JsonNode.md) | | [optional] +**columns** | **int** | Widget width in grid columns (GAAC). | [optional] +**content** | **str** | Rich text content. | [optional] +**date** | **str** | Date dataset for filtering. | [optional] +**description** | [**AacWidgetDescription**](AacWidgetDescription.md) | | [optional] +**drill_down** | [**JsonNode**](JsonNode.md) | | [optional] +**ignore_dashboard_filters** | **[str]** | Deprecated. Use ignoredFilters instead. | [optional] +**ignored_filters** | **[str]** | A list of dashboard filters to be ignored for this widget (GAAC). | [optional] +**interactions** | [**[JsonNode]**](JsonNode.md) | Widget interactions (GAAC). | [optional] +**metric** | **str** | Inline metric reference. | [optional] +**rows** | **int** | Widget height in grid rows (GAAC). | [optional] +**sections** | [**[AacSection]**](AacSection.md) | Nested sections for layout widgets. | [optional] +**size** | [**AacWidgetSize**](AacWidgetSize.md) | | [optional] +**title** | [**AacWidgetDescription**](AacWidgetDescription.md) | | [optional] +**type** | **str** | Widget type. | [optional] +**visualization** | **str** | Visualization ID reference. | [optional] +**zoom_data** | **bool** | Enable zooming to the data for certain visualization types (GAAC). | [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/AacWidgetDescription.md b/gooddata-api-client/docs/AacWidgetDescription.md new file mode 100644 index 000000000..1e5b884de --- /dev/null +++ b/gooddata-api-client/docs/AacWidgetDescription.md @@ -0,0 +1,11 @@ +# AacWidgetDescription + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**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/AacWidgetSize.md b/gooddata-api-client/docs/AacWidgetSize.md new file mode 100644 index 000000000..ebedd8d6d --- /dev/null +++ b/gooddata-api-client/docs/AacWidgetSize.md @@ -0,0 +1,15 @@ +# AacWidgetSize + +Deprecated widget size (legacy AAC). + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**height** | **int** | Height in grid rows. | [optional] +**height_as_ratio** | **bool** | Height definition mode. | [optional] +**width** | **int** | Width in grid columns. | [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/AacWorkspaceDataFilter.md b/gooddata-api-client/docs/AacWorkspaceDataFilter.md new file mode 100644 index 000000000..d005c12b8 --- /dev/null +++ b/gooddata-api-client/docs/AacWorkspaceDataFilter.md @@ -0,0 +1,15 @@ +# AacWorkspaceDataFilter + +Workspace data filters. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data_type** | **str** | Data type of the column. | +**filter_id** | **str** | Filter identifier. | +**source_column** | **str** | Source column name. | +**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/AbstractMeasureValueFilter.md b/gooddata-api-client/docs/AbstractMeasureValueFilter.md index d5a719c6e..ea0965056 100644 --- a/gooddata-api-client/docs/AbstractMeasureValueFilter.md +++ b/gooddata-api-client/docs/AbstractMeasureValueFilter.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **comparison_measure_value_filter** | [**ComparisonMeasureValueFilterComparisonMeasureValueFilter**](ComparisonMeasureValueFilterComparisonMeasureValueFilter.md) | | [optional] **range_measure_value_filter** | [**RangeMeasureValueFilterRangeMeasureValueFilter**](RangeMeasureValueFilterRangeMeasureValueFilter.md) | | [optional] +**compound_measure_value_filter** | [**CompoundMeasureValueFilterCompoundMeasureValueFilter**](CompoundMeasureValueFilterCompoundMeasureValueFilter.md) | | [optional] **ranking_filter** | [**RankingFilterRankingFilter**](RankingFilterRankingFilter.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/AlertAfm.md b/gooddata-api-client/docs/AlertAfm.md index 91d26c3cc..70e3d070a 100644 --- a/gooddata-api-client/docs/AlertAfm.md +++ b/gooddata-api-client/docs/AlertAfm.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**filters** | [**[FilterDefinition]**](FilterDefinition.md) | Various filter types to filter execution result. For anomaly detection, exactly one date filter (RelativeDateFilter or AbsoluteDateFilter) is required. | +**filters** | [**[FilterDefinition]**](FilterDefinition.md) | Various filter types to filter execution result. For anomaly detection, exactly one dataset is specified in the condition. The AFM may contain multiple date filters for different datasets, but only the date filter matching the dataset from the condition is used for anomaly detection. | **measures** | [**[MeasureItem]**](MeasureItem.md) | Metrics to be computed. One metric if the alert condition is evaluated to a scalar. Two metrics when they should be evaluated to each other. | **attributes** | [**[AttributeItem]**](AttributeItem.md) | Attributes to be used in the computation. | [optional] **aux_measures** | [**[MeasureItem]**](MeasureItem.md) | Metrics to be referenced from other AFM objects (e.g. filters) but not included in the result. | [optional] diff --git a/gooddata-api-client/docs/AmplitudeService.md b/gooddata-api-client/docs/AmplitudeService.md new file mode 100644 index 000000000..ff4448cd0 --- /dev/null +++ b/gooddata-api-client/docs/AmplitudeService.md @@ -0,0 +1,16 @@ +# AmplitudeService + +Amplitude service. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ai_project_api_key** | **str** | API key for AI project - intended for frontend use. | +**endpoint** | **str** | Amplitude endpoint URL. | +**gd_common_api_key** | **str** | API key for GoodData common project - used by backend. | +**reporting_endpoint** | **str** | Optional reporting endpoint for proxying telemetry events. | [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/AnalyzeCsvRequest.md b/gooddata-api-client/docs/AnalyzeCsvRequest.md new file mode 100644 index 000000000..04eef7f28 --- /dev/null +++ b/gooddata-api-client/docs/AnalyzeCsvRequest.md @@ -0,0 +1,13 @@ +# AnalyzeCsvRequest + +Bulk CSV analysis request. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**analyze_requests** | [**[AnalyzeCsvRequestItem]**](AnalyzeCsvRequestItem.md) | List of individual CSV analysis requests. | +**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/AnalyzeCsvRequestItem.md b/gooddata-api-client/docs/AnalyzeCsvRequestItem.md new file mode 100644 index 000000000..0a0af13a8 --- /dev/null +++ b/gooddata-api-client/docs/AnalyzeCsvRequestItem.md @@ -0,0 +1,14 @@ +# AnalyzeCsvRequestItem + +CSV analysis request. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location** | **str** | Location of the CSV file to analyze. | +**config** | [**AnalyzeCsvRequestItemConfig**](AnalyzeCsvRequestItemConfig.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/AnalyzeCsvRequestItemConfig.md b/gooddata-api-client/docs/AnalyzeCsvRequestItemConfig.md new file mode 100644 index 000000000..3e527c02c --- /dev/null +++ b/gooddata-api-client/docs/AnalyzeCsvRequestItemConfig.md @@ -0,0 +1,16 @@ +# AnalyzeCsvRequestItemConfig + +CSV analysis request config. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**delimiters** | **[str]** | Possible column delimiters. | [optional] +**header_detect_max_rows** | **int** | Maximum number of rows to work with during header detection. | [optional] +**header_row_count** | **int** | Number of rows to consider as header, if null, header will be detected. | [optional] +**result_rows** | **int** | Number of rows to return in the flight that represents analysis result. If 0, no rows are returned, if less than 0, all rows that were in the sample are returned. | [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/AnalyzeCsvResponse.md b/gooddata-api-client/docs/AnalyzeCsvResponse.md new file mode 100644 index 000000000..732ef7d25 --- /dev/null +++ b/gooddata-api-client/docs/AnalyzeCsvResponse.md @@ -0,0 +1,16 @@ +# AnalyzeCsvResponse + +Describes the results of a CSV analysis of a single file. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**columns** | [**[AnalyzeCsvResponseColumn]**](AnalyzeCsvResponseColumn.md) | List of column metadata. | +**location** | **str** | Location of the analyzed file in the source data source. | +**preview_data** | **[[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]]** | Preview of the first N rows of the file. | +**config** | [**AnalyzeCsvResponseConfig**](AnalyzeCsvResponseConfig.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/AnalyzeCsvResponseColumn.md b/gooddata-api-client/docs/AnalyzeCsvResponseColumn.md new file mode 100644 index 000000000..c7e18be1b --- /dev/null +++ b/gooddata-api-client/docs/AnalyzeCsvResponseColumn.md @@ -0,0 +1,15 @@ +# AnalyzeCsvResponseColumn + +Describes the result column. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | Name of the column as specified in the file (or autogenerated one if the file has no header). | +**type** | **str** | Type of the column (e.g. string, bool, etc.). | +**detected_date_formats** | **[str]** | List of date formats that can be used to parse this column as date. Null if there are none. | [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/AnalyzeCsvResponseConfig.md b/gooddata-api-client/docs/AnalyzeCsvResponseConfig.md new file mode 100644 index 000000000..8a1b46a8d --- /dev/null +++ b/gooddata-api-client/docs/AnalyzeCsvResponseConfig.md @@ -0,0 +1,15 @@ +# AnalyzeCsvResponseConfig + +Config used to process the CSV file. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**convert_options** | [**CsvConvertOptions**](CsvConvertOptions.md) | | [optional] +**parse_options** | [**CsvParseOptions**](CsvParseOptions.md) | | [optional] +**read_options** | [**CsvReadOptions**](CsvReadOptions.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/AnomalyDetection.md b/gooddata-api-client/docs/AnomalyDetection.md index c05116a61..20e3b1f1b 100644 --- a/gooddata-api-client/docs/AnomalyDetection.md +++ b/gooddata-api-client/docs/AnomalyDetection.md @@ -4,9 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**dataset** | [**AfmObjectIdentifierDataset**](AfmObjectIdentifierDataset.md) | | **granularity** | **str** | Date granularity for anomaly detection. Only time-based granularities are supported (HOUR, DAY, WEEK, MONTH, QUARTER, YEAR). | **measure** | [**LocalIdentifier**](LocalIdentifier.md) | | -**sensitivity** | **str** | Sensitivity level for anomaly detection | [optional] if omitted the server will use the default value of "MEDIUM" +**sensitivity** | **str** | Sensitivity level for anomaly detection | **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/ApiEntitlement.md b/gooddata-api-client/docs/ApiEntitlement.md index 28e9587dd..80f953d9c 100644 --- a/gooddata-api-client/docs/ApiEntitlement.md +++ b/gooddata-api-client/docs/ApiEntitlement.md @@ -1,5 +1,6 @@ # ApiEntitlement +Defines entitlements for given organization. ## Properties Name | Type | Description | Notes diff --git a/gooddata-api-client/docs/AppearanceApi.md b/gooddata-api-client/docs/AppearanceApi.md index 1fab07e3b..0825dd538 100644 --- a/gooddata-api-client/docs/AppearanceApi.md +++ b/gooddata-api-client/docs/AppearanceApi.md @@ -81,8 +81,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -156,8 +156,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -381,7 +381,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -459,7 +459,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -535,7 +535,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -611,7 +611,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -698,8 +698,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -786,8 +786,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -874,8 +874,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -962,8 +962,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/AttributeHierarchiesApi.md b/gooddata-api-client/docs/AttributeHierarchiesApi.md index 9360d45b1..fc20920b2 100644 --- a/gooddata-api-client/docs/AttributeHierarchiesApi.md +++ b/gooddata-api-client/docs/AttributeHierarchiesApi.md @@ -9,6 +9,7 @@ Method | HTTP request | Description [**get_all_entities_attribute_hierarchies**](AttributeHierarchiesApi.md#get_all_entities_attribute_hierarchies) | **GET** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies | Get all Attribute Hierarchies [**get_entity_attribute_hierarchies**](AttributeHierarchiesApi.md#get_entity_attribute_hierarchies) | **GET** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Get an Attribute Hierarchy [**patch_entity_attribute_hierarchies**](AttributeHierarchiesApi.md#patch_entity_attribute_hierarchies) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Patch an Attribute Hierarchy +[**search_entities_attribute_hierarchies**](AttributeHierarchiesApi.md#search_entities_attribute_hierarchies) | **POST** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/search | Search request for AttributeHierarchy [**update_entity_attribute_hierarchies**](AttributeHierarchiesApi.md#update_entity_attribute_hierarchies) | **PUT** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Put an Attribute Hierarchy @@ -99,8 +100,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -271,7 +272,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -359,7 +360,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -457,8 +458,107 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_attribute_hierarchies** +> JsonApiAttributeHierarchyOutList search_entities_attribute_hierarchies(workspace_id, entity_search_body) + +Search request for AttributeHierarchy + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import attribute_hierarchies_api +from gooddata_api_client.model.json_api_attribute_hierarchy_out_list import JsonApiAttributeHierarchyOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = attribute_hierarchies_api.AttributeHierarchiesApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for AttributeHierarchy + api_response = api_instance.search_entities_attribute_hierarchies(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AttributeHierarchiesApi->search_entities_attribute_hierarchies: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for AttributeHierarchy + api_response = api_instance.search_entities_attribute_hierarchies(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AttributeHierarchiesApi->search_entities_attribute_hierarchies: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiAttributeHierarchyOutList**](JsonApiAttributeHierarchyOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -556,8 +656,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/AttributesApi.md b/gooddata-api-client/docs/AttributesApi.md index e0c8edf6b..665612bc8 100644 --- a/gooddata-api-client/docs/AttributesApi.md +++ b/gooddata-api-client/docs/AttributesApi.md @@ -7,6 +7,7 @@ Method | HTTP request | Description [**get_all_entities_attributes**](AttributesApi.md#get_all_entities_attributes) | **GET** /api/v1/entities/workspaces/{workspaceId}/attributes | Get all Attributes [**get_entity_attributes**](AttributesApi.md#get_entity_attributes) | **GET** /api/v1/entities/workspaces/{workspaceId}/attributes/{objectId} | Get an Attribute [**patch_entity_attributes**](AttributesApi.md#patch_entity_attributes) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/attributes/{objectId} | Patch an Attribute (beta) +[**search_entities_attributes**](AttributesApi.md#search_entities_attributes) | **POST** /api/v1/entities/workspaces/{workspaceId}/attributes/search | Search request for Attribute # **get_all_entities_attributes** @@ -94,7 +95,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -182,7 +183,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -225,7 +226,6 @@ with gooddata_api_client.ApiClient() as api_client: data=JsonApiAttributePatch( attributes=JsonApiAttributePatchAttributes( description="description_example", - locale="locale_example", tags=[ "tags_example", ], @@ -284,8 +284,107 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_attributes** +> JsonApiAttributeOutList search_entities_attributes(workspace_id, entity_search_body) + +Search request for Attribute + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import attributes_api +from gooddata_api_client.model.json_api_attribute_out_list import JsonApiAttributeOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = attributes_api.AttributesApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for Attribute + api_response = api_instance.search_entities_attributes(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AttributesApi->search_entities_attributes: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for Attribute + api_response = api_instance.search_entities_attributes(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AttributesApi->search_entities_attributes: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiAttributeOutList**](JsonApiAttributeOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/AuthUser.md b/gooddata-api-client/docs/AuthUser.md new file mode 100644 index 000000000..6bc5e0a33 --- /dev/null +++ b/gooddata-api-client/docs/AuthUser.md @@ -0,0 +1,16 @@ +# AuthUser + +Entity representing user in authentication system. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**display_name** | **str** | User description, which will be visible in application. | +**email** | **str** | Email - used as lookup (must be unique). For PUT method, it must be same as in URL | +**authentication_id** | **str** | Field, which should be stored in metadata in authenticationId field. In PUT and POST method it must be not present, or equal to value calculated by backend (e.g. returned from previous GET). | [optional] +**password** | **str** | User password. It is not returned by GET method. | [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/AutomationsApi.md b/gooddata-api-client/docs/AutomationsApi.md index 4612437eb..694b47d10 100644 --- a/gooddata-api-client/docs/AutomationsApi.md +++ b/gooddata-api-client/docs/AutomationsApi.md @@ -15,6 +15,8 @@ Method | HTTP request | Description [**patch_entity_automations**](AutomationsApi.md#patch_entity_automations) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/automations/{objectId} | Patch an Automation [**pause_organization_automations**](AutomationsApi.md#pause_organization_automations) | **POST** /api/v1/actions/organization/automations/pause | Pause selected automations across all workspaces [**pause_workspace_automations**](AutomationsApi.md#pause_workspace_automations) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/pause | Pause selected automations in the workspace +[**search_entities_automation_results**](AutomationsApi.md#search_entities_automation_results) | **POST** /api/v1/entities/workspaces/{workspaceId}/automationResults/search | Search request for AutomationResult +[**search_entities_automations**](AutomationsApi.md#search_entities_automations) | **POST** /api/v1/entities/workspaces/{workspaceId}/automations/search | Search request for Automation [**set_automations**](AutomationsApi.md#set_automations) | **PUT** /api/v1/layout/workspaces/{workspaceId}/automations | Set automations [**trigger_automation**](AutomationsApi.md#trigger_automation) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/trigger | Trigger automation. [**trigger_existing_automation**](AutomationsApi.md#trigger_existing_automation) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/{automationId}/trigger | Trigger existing automation. @@ -139,7 +141,16 @@ with gooddata_api_client.ApiClient() as api_client: ), ), ], - metadata=JsonApiAutomationInAttributesMetadata(), + metadata=JsonApiAutomationInAttributesMetadata( + visible_filters=[ + VisibleFilter( + is_all_time_date_filter=False, + local_identifier="local_identifier_example", + title="title_example", + ), + ], + widget="widget_example", + ), raw_exports=[ JsonApiAutomationInAttributesRawExportsInner( request_payload=RawExportAutomationRequest( @@ -353,8 +364,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -654,7 +665,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -750,7 +761,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -918,7 +929,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -1041,7 +1052,16 @@ with gooddata_api_client.ApiClient() as api_client: ), ), ], - metadata=JsonApiAutomationInAttributesMetadata(), + metadata=JsonApiAutomationInAttributesMetadata( + visible_filters=[ + VisibleFilter( + is_all_time_date_filter=False, + local_identifier="local_identifier_example", + title="title_example", + ), + ], + widget="widget_example", + ), raw_exports=[ JsonApiAutomationInAttributesRawExportsInner( request_payload=RawExportAutomationRequest( @@ -1254,8 +1274,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -1409,6 +1429,204 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **search_entities_automation_results** +> JsonApiAutomationResultOutList search_entities_automation_results(workspace_id, entity_search_body) + +Search request for AutomationResult + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import automations_api +from gooddata_api_client.model.json_api_automation_result_out_list import JsonApiAutomationResultOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = automations_api.AutomationsApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for AutomationResult + api_response = api_instance.search_entities_automation_results(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AutomationsApi->search_entities_automation_results: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for AutomationResult + api_response = api_instance.search_entities_automation_results(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AutomationsApi->search_entities_automation_results: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiAutomationResultOutList**](JsonApiAutomationResultOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_automations** +> JsonApiAutomationOutList search_entities_automations(workspace_id, entity_search_body) + +Search request for Automation + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import automations_api +from gooddata_api_client.model.json_api_automation_out_list import JsonApiAutomationOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = automations_api.AutomationsApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for Automation + api_response = api_instance.search_entities_automations(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AutomationsApi->search_entities_automations: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for Automation + api_response = api_instance.search_entities_automations(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AutomationsApi->search_entities_automations: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiAutomationOutList**](JsonApiAutomationOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **set_automations** > set_automations(workspace_id, declarative_automation) @@ -1537,7 +1755,16 @@ with gooddata_api_client.ApiClient() as api_client: ), ), ], - metadata=AutomationMetadata(), + metadata=AutomationMetadata( + visible_filters=[ + VisibleFilter( + is_all_time_date_filter=False, + local_identifier="local_identifier_example", + title="title_example", + ), + ], + widget="widget_example", + ), modified_at="2023-07-20 12:30", modified_by=DeclarativeUserIdentifier( id="employee123", @@ -1848,7 +2075,16 @@ with gooddata_api_client.ApiClient() as api_client: ), ), ], - metadata=AutomationMetadata(), + metadata=AutomationMetadata( + visible_filters=[ + VisibleFilter( + is_all_time_date_filter=False, + local_identifier="local_identifier_example", + title="title_example", + ), + ], + widget="widget_example", + ), notification_channel=DeclarativeNotificationChannelIdentifier( id="webhook123", type="notificationChannel", @@ -2683,7 +2919,16 @@ with gooddata_api_client.ApiClient() as api_client: ), ), ], - metadata=JsonApiAutomationInAttributesMetadata(), + metadata=JsonApiAutomationInAttributesMetadata( + visible_filters=[ + VisibleFilter( + is_all_time_date_filter=False, + local_identifier="local_identifier_example", + title="title_example", + ), + ], + widget="widget_example", + ), raw_exports=[ JsonApiAutomationInAttributesRawExportsInner( request_payload=RawExportAutomationRequest( @@ -2896,8 +3141,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/CSPDirectivesApi.md b/gooddata-api-client/docs/CSPDirectivesApi.md index 39059d822..0e8c93603 100644 --- a/gooddata-api-client/docs/CSPDirectivesApi.md +++ b/gooddata-api-client/docs/CSPDirectivesApi.md @@ -78,8 +78,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -234,7 +234,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -312,7 +312,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -402,8 +402,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -493,8 +493,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/CacheRemovalInterval.md b/gooddata-api-client/docs/CacheRemovalInterval.md new file mode 100644 index 000000000..dd087f281 --- /dev/null +++ b/gooddata-api-client/docs/CacheRemovalInterval.md @@ -0,0 +1,15 @@ +# CacheRemovalInterval + +Information about a period in time and how much cached data was removed. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**_from** | **datetime** | Start timestamp of the removal interval. | +**removed** | **int** | Bytes removed during this interval. | +**to** | **datetime** | End timestamp of the removal interval. | +**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/CacheUsageApi.md b/gooddata-api-client/docs/CacheUsageApi.md new file mode 100644 index 000000000..368037026 --- /dev/null +++ b/gooddata-api-client/docs/CacheUsageApi.md @@ -0,0 +1,72 @@ +# gooddata_api_client.CacheUsageApi + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**collect_cache_usage**](CacheUsageApi.md#collect_cache_usage) | **GET** /api/v1/actions/collectCacheUsage | Collect data about the current cache usage + + +# **collect_cache_usage** +> CacheUsageData collect_cache_usage() + +Collect data about the current cache usage + +Get the detailed data about how much cache your organization is currently using, broken down by individual workspaces. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import cache_usage_api +from gooddata_api_client.model.cache_usage_data import CacheUsageData +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = cache_usage_api.CacheUsageApi(api_client) + + # example, this endpoint has no required or optional parameters + try: + # Collect data about the current cache usage + api_response = api_instance.collect_cache_usage() + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling CacheUsageApi->collect_cache_usage: %s\n" % e) +``` + + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**CacheUsageData**](CacheUsageData.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/gooddata-api-client/docs/CacheUsageData.md b/gooddata-api-client/docs/CacheUsageData.md new file mode 100644 index 000000000..57eb479f5 --- /dev/null +++ b/gooddata-api-client/docs/CacheUsageData.md @@ -0,0 +1,14 @@ +# CacheUsageData + +Result of scan of data source physical model. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**organization_cache_usage** | [**OrganizationCacheUsage**](OrganizationCacheUsage.md) | | +**workspace_cache_usages** | [**{str: (WorkspaceCacheUsage,)}**](WorkspaceCacheUsage.md) | Map of data about the cache usage of the individual workspaces. | +**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/ChangeAnalysisParamsFiltersInner.md b/gooddata-api-client/docs/ChangeAnalysisParamsFiltersInner.md index 4ed2df226..418b6ab4f 100644 --- a/gooddata-api-client/docs/ChangeAnalysisParamsFiltersInner.md +++ b/gooddata-api-client/docs/ChangeAnalysisParamsFiltersInner.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **comparison_measure_value_filter** | [**ComparisonMeasureValueFilterComparisonMeasureValueFilter**](ComparisonMeasureValueFilterComparisonMeasureValueFilter.md) | | [optional] **range_measure_value_filter** | [**RangeMeasureValueFilterRangeMeasureValueFilter**](RangeMeasureValueFilterRangeMeasureValueFilter.md) | | [optional] +**compound_measure_value_filter** | [**CompoundMeasureValueFilterCompoundMeasureValueFilter**](CompoundMeasureValueFilterCompoundMeasureValueFilter.md) | | [optional] **ranking_filter** | [**RankingFilterRankingFilter**](RankingFilterRankingFilter.md) | | [optional] **absolute_date_filter** | [**AbsoluteDateFilterAbsoluteDateFilter**](AbsoluteDateFilterAbsoluteDateFilter.md) | | [optional] **relative_date_filter** | [**RelativeDateFilterRelativeDateFilter**](RelativeDateFilterRelativeDateFilter.md) | | [optional] diff --git a/gooddata-api-client/docs/ChangeAnalysisRequest.md b/gooddata-api-client/docs/ChangeAnalysisRequest.md index e1b25fd97..368939fab 100644 --- a/gooddata-api-client/docs/ChangeAnalysisRequest.md +++ b/gooddata-api-client/docs/ChangeAnalysisRequest.md @@ -11,7 +11,9 @@ Name | Type | Description | Notes **reference_period** | **str** | The reference time period (e.g., '2025-01') | **attributes** | [**[AttributeItem]**](AttributeItem.md) | Attributes to analyze for significant changes. If empty, valid attributes will be automatically discovered. | [optional] **aux_measures** | [**[MeasureItem]**](MeasureItem.md) | Auxiliary measures | [optional] +**exclude_tags** | **[str]** | Exclude attributes with any of these tags. This filter applies to both auto-discovered and explicitly provided attributes. | [optional] **filters** | [**[ChangeAnalysisParamsFiltersInner]**](ChangeAnalysisParamsFiltersInner.md) | Optional filters to apply. | [optional] +**include_tags** | **[str]** | Only include attributes with at least one of these tags. If empty, no inclusion filter is applied. This filter applies to both auto-discovered and explicitly provided attributes. | [optional] **use_smart_attribute_selection** | **bool** | Whether to use smart attribute selection (LLM-based) instead of discovering all valid attributes. If true, GenAI will intelligently select the most relevant attributes for change analysis. If false or not set, all valid attributes will be discovered using Calcique. Smart attribute selection applies only when no attributes are provided. | [optional] if omitted the server will use the default value of False **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/ChatHistoryInteraction.md b/gooddata-api-client/docs/ChatHistoryInteraction.md index c144c5bf0..4d7640ed2 100644 --- a/gooddata-api-client/docs/ChatHistoryInteraction.md +++ b/gooddata-api-client/docs/ChatHistoryInteraction.md @@ -13,6 +13,8 @@ Name | Type | Description | Notes **created_visualizations** | [**CreatedVisualizations**](CreatedVisualizations.md) | | [optional] **error_response** | **str** | Error response in anything fails. | [optional] **found_objects** | [**FoundObjects**](FoundObjects.md) | | [optional] +**reasoning** | [**Reasoning**](Reasoning.md) | | [optional] +**semantic_search** | [**SearchResult**](SearchResult.md) | | [optional] **text_response** | **str** | Text response for general questions. | [optional] **thread_id_suffix** | **str** | Chat History thread suffix appended to ID generated by backend. Enables more chat windows. | [optional] **user_feedback** | **str** | User feedback. | [optional] diff --git a/gooddata-api-client/docs/ChatResult.md b/gooddata-api-client/docs/ChatResult.md index 231d4da6d..aafe2c40a 100644 --- a/gooddata-api-client/docs/ChatResult.md +++ b/gooddata-api-client/docs/ChatResult.md @@ -9,7 +9,9 @@ Name | Type | Description | Notes **created_visualizations** | [**CreatedVisualizations**](CreatedVisualizations.md) | | [optional] **error_response** | **str** | Error response in anything fails. | [optional] **found_objects** | [**FoundObjects**](FoundObjects.md) | | [optional] +**reasoning** | [**Reasoning**](Reasoning.md) | | [optional] **routing** | [**RouteResult**](RouteResult.md) | | [optional] +**semantic_search** | [**SearchResult**](SearchResult.md) | | [optional] **text_response** | **str** | Text response for general questions. | [optional] **thread_id_suffix** | **str** | Chat History thread suffix appended to ID generated by backend. Enables more chat windows. | [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/ComparisonCondition.md b/gooddata-api-client/docs/ComparisonCondition.md new file mode 100644 index 000000000..ebdd811d8 --- /dev/null +++ b/gooddata-api-client/docs/ComparisonCondition.md @@ -0,0 +1,13 @@ +# ComparisonCondition + +Condition that compares the metric value to a given constant value using a comparison operator. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comparison** | [**ComparisonConditionComparison**](ComparisonConditionComparison.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/ComparisonConditionComparison.md b/gooddata-api-client/docs/ComparisonConditionComparison.md new file mode 100644 index 000000000..9c121dcb9 --- /dev/null +++ b/gooddata-api-client/docs/ComparisonConditionComparison.md @@ -0,0 +1,13 @@ +# ComparisonConditionComparison + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**operator** | **str** | | +**value** | **float** | | +**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/CompoundMeasureValueFilter.md b/gooddata-api-client/docs/CompoundMeasureValueFilter.md new file mode 100644 index 000000000..2e1dd2f21 --- /dev/null +++ b/gooddata-api-client/docs/CompoundMeasureValueFilter.md @@ -0,0 +1,13 @@ +# CompoundMeasureValueFilter + +Filter the result by applying multiple comparison and/or range conditions combined with OR logic. If conditions list is empty, no filtering is applied (all rows are returned). + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**compound_measure_value_filter** | [**CompoundMeasureValueFilterCompoundMeasureValueFilter**](CompoundMeasureValueFilterCompoundMeasureValueFilter.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/CompoundMeasureValueFilterCompoundMeasureValueFilter.md b/gooddata-api-client/docs/CompoundMeasureValueFilterCompoundMeasureValueFilter.md new file mode 100644 index 000000000..33c8531cb --- /dev/null +++ b/gooddata-api-client/docs/CompoundMeasureValueFilterCompoundMeasureValueFilter.md @@ -0,0 +1,17 @@ +# CompoundMeasureValueFilterCompoundMeasureValueFilter + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**conditions** | [**[MeasureValueCondition]**](MeasureValueCondition.md) | List of conditions to apply. Conditions are combined with OR logic. Each condition can be either a comparison (e.g., > 100) or a range (e.g., BETWEEN 10 AND 50). If empty, no filtering is applied and all rows are returned. | +**measure** | [**AfmIdentifier**](AfmIdentifier.md) | | +**apply_on_result** | **bool** | | [optional] +**dimensionality** | [**[AfmIdentifier]**](AfmIdentifier.md) | References to the attributes to be used when filtering. | [optional] +**local_identifier** | **str** | | [optional] +**treat_null_values_as** | **float** | A value that will be substituted for null values in the metric for the comparisons. | [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/ComputationApi.md b/gooddata-api-client/docs/ComputationApi.md index c3c18c7e3..5f5316d8d 100644 --- a/gooddata-api-client/docs/ComputationApi.md +++ b/gooddata-api-client/docs/ComputationApi.md @@ -4,6 +4,7 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- +[**cancel_executions**](ComputationApi.md#cancel_executions) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/cancel | Applies all the given cancel tokens. [**change_analysis**](ComputationApi.md#change_analysis) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/computeChangeAnalysis | Compute change analysis [**change_analysis_result**](ComputationApi.md#change_analysis_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/computeChangeAnalysis/result/{resultId} | Get change analysis result [**column_statistics**](ComputationApi.md#column_statistics) | **POST** /api/v1/actions/dataSources/{dataSourceId}/computeColumnStatistics | (EXPERIMENTAL) Compute column statistics @@ -14,10 +15,85 @@ Method | HTTP request | Description [**explain_afm**](ComputationApi.md#explain_afm) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/explain | AFM explain resource. [**key_driver_analysis**](ComputationApi.md#key_driver_analysis) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/computeKeyDrivers | (EXPERIMENTAL) Compute key driver analysis [**key_driver_analysis_result**](ComputationApi.md#key_driver_analysis_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/computeKeyDrivers/result/{resultId} | (EXPERIMENTAL) Get key driver analysis result +[**outlier_detection**](ComputationApi.md#outlier_detection) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/detectOutliers | (BETA) Outlier Detection +[**outlier_detection_result**](ComputationApi.md#outlier_detection_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/detectOutliers/result/{resultId} | (BETA) Outlier Detection Result [**retrieve_execution_metadata**](ComputationApi.md#retrieve_execution_metadata) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute/result/{resultId}/metadata | Get a single execution result's metadata. [**retrieve_result**](ComputationApi.md#retrieve_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute/result/{resultId} | Get a single execution result +# **cancel_executions** +> AfmCancelTokens cancel_executions(workspace_id, afm_cancel_tokens) + +Applies all the given cancel tokens. + +Each cancel token corresponds to one unique execution request for the same result id. If all cancel tokens for the same result id are applied, the execution for this result id is cancelled. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import computation_api +from gooddata_api_client.model.afm_cancel_tokens import AfmCancelTokens +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = computation_api.ComputationApi(api_client) + workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier + afm_cancel_tokens = AfmCancelTokens( + result_id_to_cancel_token_pairs={ + "key": "key_example", + }, + ) # AfmCancelTokens | + + # example passing only required values which don't have defaults set + try: + # Applies all the given cancel tokens. + api_response = api_instance.cancel_executions(workspace_id, afm_cancel_tokens) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ComputationApi->cancel_executions: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| Workspace identifier | + **afm_cancel_tokens** | [**AfmCancelTokens**](AfmCancelTokens.md)| | + +### Return type + +[**AfmCancelTokens**](AfmCancelTokens.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Status of the cancellation operation. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **change_analysis** > ChangeAnalysisResponse change_analysis(workspace_id, change_analysis_request) @@ -77,9 +153,15 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="attribute_1", show_all_values=False, ), + exclude_tags=[ + "exclude_tags_example", + ], filters=[ ChangeAnalysisParamsFiltersInner(None), ], + include_tags=[ + "include_tags_example", + ], measure=MeasureItem( definition=MeasureDefinition(), local_identifier="metric_1", @@ -1012,6 +1094,199 @@ No authorization required - **Accept**: application/json +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **outlier_detection** +> OutlierDetectionResponse outlier_detection(workspace_id, outlier_detection_request) + +(BETA) Outlier Detection + +(BETA) Computes outlier detection for the provided execution definition. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import computation_api +from gooddata_api_client.model.outlier_detection_request import OutlierDetectionRequest +from gooddata_api_client.model.outlier_detection_response import OutlierDetectionResponse +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = computation_api.ComputationApi(api_client) + workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier + outlier_detection_request = OutlierDetectionRequest( + attributes=[ + AttributeItem( + label=AfmObjectIdentifierLabel( + identifier=AfmObjectIdentifierLabelIdentifier( + id="sample_item.price", + type="label", + ), + ), + local_identifier="attribute_1", + show_all_values=False, + ), + ], + aux_measures=[ + MeasureItem( + definition=MeasureDefinition(), + local_identifier="metric_1", + ), + ], + filters=[ + ChangeAnalysisParamsFiltersInner(None), + ], + granularity="HOUR", + measures=[ + MeasureItem( + definition=MeasureDefinition(), + local_identifier="metric_1", + ), + ], + sensitivity="LOW", + ) # OutlierDetectionRequest | + skip_cache = False # bool | Ignore all caches during execution of current request. (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # (BETA) Outlier Detection + api_response = api_instance.outlier_detection(workspace_id, outlier_detection_request) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ComputationApi->outlier_detection: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # (BETA) Outlier Detection + api_response = api_instance.outlier_detection(workspace_id, outlier_detection_request, skip_cache=skip_cache) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ComputationApi->outlier_detection: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| Workspace identifier | + **outlier_detection_request** | [**OutlierDetectionRequest**](OutlierDetectionRequest.md)| | + **skip_cache** | **bool**| Ignore all caches during execution of current request. | [optional] if omitted the server will use the default value of False + +### Return type + +[**OutlierDetectionResponse**](OutlierDetectionResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **outlier_detection_result** +> OutlierDetectionResult outlier_detection_result(workspace_id, result_id) + +(BETA) Outlier Detection Result + +(BETA) Gets outlier detection result. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import computation_api +from gooddata_api_client.model.outlier_detection_result import OutlierDetectionResult +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = computation_api.ComputationApi(api_client) + workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier + result_id = "a9b28f9dc55f37ea9f4a5fb0c76895923591e781" # str | Result ID + offset = 1 # int | (optional) + limit = 1 # int | (optional) + + # example passing only required values which don't have defaults set + try: + # (BETA) Outlier Detection Result + api_response = api_instance.outlier_detection_result(workspace_id, result_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ComputationApi->outlier_detection_result: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # (BETA) Outlier Detection Result + api_response = api_instance.outlier_detection_result(workspace_id, result_id, offset=offset, limit=limit) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ComputationApi->outlier_detection_result: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| Workspace identifier | + **result_id** | **str**| Result ID | + **offset** | **int**| | [optional] + **limit** | **int**| | [optional] + +### Return type + +[**OutlierDetectionResult**](OutlierDetectionResult.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + ### HTTP response details | Status code | Description | Response headers | diff --git a/gooddata-api-client/docs/CookieSecurityConfigurationApi.md b/gooddata-api-client/docs/CookieSecurityConfigurationApi.md index 14d132876..4f9875d5c 100644 --- a/gooddata-api-client/docs/CookieSecurityConfigurationApi.md +++ b/gooddata-api-client/docs/CookieSecurityConfigurationApi.md @@ -74,7 +74,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -161,8 +161,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -249,8 +249,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/CreatedVisualizations.md b/gooddata-api-client/docs/CreatedVisualizations.md index b77a480d8..b2ad1baeb 100644 --- a/gooddata-api-client/docs/CreatedVisualizations.md +++ b/gooddata-api-client/docs/CreatedVisualizations.md @@ -6,7 +6,7 @@ Visualization definitions created by AI. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **objects** | [**[CreatedVisualization]**](CreatedVisualization.md) | List of created visualization objects | -**reasoning** | **str** | Reasoning from LLM. Description of how and why the answer was generated. | +**reasoning** | **str** | DEPRECATED: Use top-level reasoning.steps instead. Reasoning from LLM. Description of how and why the answer was generated. | **suggestions** | [**[Suggestion]**](Suggestion.md) | List of suggestions for next steps. Filled when no visualization was created, suggests alternatives. | **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/CsvConvertOptions.md b/gooddata-api-client/docs/CsvConvertOptions.md new file mode 100644 index 000000000..4b8523559 --- /dev/null +++ b/gooddata-api-client/docs/CsvConvertOptions.md @@ -0,0 +1,25 @@ +# CsvConvertOptions + +Options for converting CSV files when reading. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**auto_dict_encode** | **bool** | Whether to try to automatically dict-encode string / binary data. | [optional] +**auto_dict_max_cardinality** | **int** | The maximum dictionary cardinality for autoDictEncode. | [optional] +**check_utf8** | **bool** | Whether to check UTF8 validity of string columns. | [optional] +**column_types** | [**[CsvConvertOptionsColumnType]**](CsvConvertOptionsColumnType.md) | Information about the column types in the table. | [optional] +**decimal_point** | **str** | The character used as decimal point in floating-point and decimal data. | [optional] +**false_values** | **[str]** | Sequence of strings that denote false Booleans in the data. | [optional] +**include_columns** | **[str]** | The names of columns to include in the Table. If empty, the Table will include all columns from the CSV file. If not empty, only these columns will be included, in this order. | [optional] +**include_missing_columns** | **bool** | If false, columns in includeColumns but not in the CSV file will error out. | [optional] +**null_values** | **[str]** | Sequence of strings that denote nulls in the data. | [optional] +**quoted_strings_can_be_null** | **bool** | Whether quoted values can be null. | [optional] +**strings_can_be_null** | **bool** | Whether string / binary columns can have null values. | [optional] +**timestamp_parsers** | **[str]** | Sequence of strptime()-compatible format strings, tried in order when attempting to infer or convert timestamp values. | [optional] +**true_values** | **[str]** | Sequence of strings that denote true Booleans in the data. | [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/CsvConvertOptionsColumnType.md b/gooddata-api-client/docs/CsvConvertOptionsColumnType.md new file mode 100644 index 000000000..015ed9c7a --- /dev/null +++ b/gooddata-api-client/docs/CsvConvertOptionsColumnType.md @@ -0,0 +1,15 @@ +# CsvConvertOptionsColumnType + +Information about a certain column in the table. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | The column name. | [optional] +**nullable** | **bool** | Whether the data in the given column can be null. | [optional] +**type** | **str** | The column type. | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/CsvManifestBody.md b/gooddata-api-client/docs/CsvManifestBody.md new file mode 100644 index 000000000..4237f0b06 --- /dev/null +++ b/gooddata-api-client/docs/CsvManifestBody.md @@ -0,0 +1,17 @@ +# CsvManifestBody + +Body of the CSV manifest. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**column_date_formats** | **{str: (str,)}** | Map of column names to date formats to use when parsing them as dates. | [optional] +**convert** | [**CsvConvertOptions**](CsvConvertOptions.md) | | [optional] +**parse** | [**CsvParseOptions**](CsvParseOptions.md) | | [optional] +**read** | [**CsvReadOptions**](CsvReadOptions.md) | | [optional] +**read_method** | **str** | Method used to read the CSV file. | [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/CsvParseOptions.md b/gooddata-api-client/docs/CsvParseOptions.md new file mode 100644 index 000000000..af305666d --- /dev/null +++ b/gooddata-api-client/docs/CsvParseOptions.md @@ -0,0 +1,18 @@ +# CsvParseOptions + +Options for parsing CSV files. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**delimiter** | **str** | The character delimiting individual cells in the CSV data. | [optional] +**double_quote** | **bool** | Whether two quotes in a quoted CSV value denote a single quote in the data. | [optional] +**escape_char** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | The character used optionally for escaping special characters or false to disable escaping. | [optional] +**ignore_empty_lines** | **bool** | Whether empty lines are ignored in CSV input. | [optional] +**newlines_in_values** | **bool** | Whether newline characters are allowed in CSV values. | [optional] +**quote_char** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | The character used optionally for quoting CSV values or false to disable quoting. | [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/CsvReadOptions.md b/gooddata-api-client/docs/CsvReadOptions.md new file mode 100644 index 000000000..4fe23e618 --- /dev/null +++ b/gooddata-api-client/docs/CsvReadOptions.md @@ -0,0 +1,19 @@ +# CsvReadOptions + +Options for reading CSV files. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**auto_generate_column_names** | **bool** | Whether to autogenerate column names if columnNames is empty. | [optional] +**block_size** | **int** | How many bytes to process at a time from the input stream. | [optional] +**column_names** | **[str]** | The column names of the target table. | [optional] +**encoding** | **str** | The character encoding of the CSV data. | [optional] +**skip_rows** | **int** | The number of rows to skip before the column names (if any) and the CSV data. | [optional] +**skip_rows_after_names** | **int** | The number of rows to skip after the column names. | [optional] +**use_threads** | **bool** | Whether to use multiple threads to accelerate reading. | [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/DashboardDateFilterDateFilter.md b/gooddata-api-client/docs/DashboardDateFilterDateFilter.md index 6e73f89f2..9e3b0428f 100644 --- a/gooddata-api-client/docs/DashboardDateFilterDateFilter.md +++ b/gooddata-api-client/docs/DashboardDateFilterDateFilter.md @@ -9,9 +9,9 @@ Name | Type | Description | Notes **attribute** | [**IdentifierRef**](IdentifierRef.md) | | [optional] **bounded_filter** | [**RelativeBoundedDateFilter**](RelativeBoundedDateFilter.md) | | [optional] **data_set** | [**IdentifierRef**](IdentifierRef.md) | | [optional] -**_from** | [**DashboardDateFilterDateFilterFrom**](DashboardDateFilterDateFilterFrom.md) | | [optional] +**_from** | [**AacDashboardFilterFrom**](AacDashboardFilterFrom.md) | | [optional] **local_identifier** | **str** | | [optional] -**to** | [**DashboardDateFilterDateFilterFrom**](DashboardDateFilterDateFilterFrom.md) | | [optional] +**to** | [**AacDashboardFilterFrom**](AacDashboardFilterFrom.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/DashboardsApi.md b/gooddata-api-client/docs/DashboardsApi.md index 99931a09a..9dc10505c 100644 --- a/gooddata-api-client/docs/DashboardsApi.md +++ b/gooddata-api-client/docs/DashboardsApi.md @@ -9,6 +9,7 @@ Method | HTTP request | Description [**get_all_entities_analytical_dashboards**](DashboardsApi.md#get_all_entities_analytical_dashboards) | **GET** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards | Get all Dashboards [**get_entity_analytical_dashboards**](DashboardsApi.md#get_entity_analytical_dashboards) | **GET** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Get a Dashboard [**patch_entity_analytical_dashboards**](DashboardsApi.md#patch_entity_analytical_dashboards) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Patch a Dashboard +[**search_entities_analytical_dashboards**](DashboardsApi.md#search_entities_analytical_dashboards) | **POST** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/search | Search request for AnalyticalDashboard [**update_entity_analytical_dashboards**](DashboardsApi.md#update_entity_analytical_dashboards) | **PUT** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Put Dashboards @@ -99,8 +100,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -271,7 +272,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -359,7 +360,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -457,8 +458,107 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_analytical_dashboards** +> JsonApiAnalyticalDashboardOutList search_entities_analytical_dashboards(workspace_id, entity_search_body) + +Search request for AnalyticalDashboard + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import dashboards_api +from gooddata_api_client.model.json_api_analytical_dashboard_out_list import JsonApiAnalyticalDashboardOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = dashboards_api.DashboardsApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for AnalyticalDashboard + api_response = api_instance.search_entities_analytical_dashboards(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling DashboardsApi->search_entities_analytical_dashboards: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for AnalyticalDashboard + api_response = api_instance.search_entities_analytical_dashboards(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling DashboardsApi->search_entities_analytical_dashboards: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiAnalyticalDashboardOutList**](JsonApiAnalyticalDashboardOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -556,8 +656,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/DataFiltersApi.md b/gooddata-api-client/docs/DataFiltersApi.md index 3871d97ff..4b4199e79 100644 --- a/gooddata-api-client/docs/DataFiltersApi.md +++ b/gooddata-api-client/docs/DataFiltersApi.md @@ -20,6 +20,9 @@ Method | HTTP request | Description [**patch_entity_user_data_filters**](DataFiltersApi.md#patch_entity_user_data_filters) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Patch a User Data Filter [**patch_entity_workspace_data_filter_settings**](DataFiltersApi.md#patch_entity_workspace_data_filter_settings) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/{objectId} | Patch a Settings for Workspace Data Filter [**patch_entity_workspace_data_filters**](DataFiltersApi.md#patch_entity_workspace_data_filters) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Patch a Workspace Data Filter +[**search_entities_user_data_filters**](DataFiltersApi.md#search_entities_user_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/search | Search request for UserDataFilter +[**search_entities_workspace_data_filter_settings**](DataFiltersApi.md#search_entities_workspace_data_filter_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/search | Search request for WorkspaceDataFilterSetting +[**search_entities_workspace_data_filters**](DataFiltersApi.md#search_entities_workspace_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/search | Search request for WorkspaceDataFilter [**set_workspace_data_filters_layout**](DataFiltersApi.md#set_workspace_data_filters_layout) | **PUT** /api/v1/layout/workspaceDataFilters | Set all workspace data filters [**update_entity_user_data_filters**](DataFiltersApi.md#update_entity_user_data_filters) | **PUT** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Put a User Data Filter [**update_entity_workspace_data_filter_settings**](DataFiltersApi.md#update_entity_workspace_data_filter_settings) | **PUT** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/{objectId} | Put a Settings for Workspace Data Filter @@ -121,8 +124,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -223,8 +226,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -328,8 +331,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -650,7 +653,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -746,7 +749,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -842,7 +845,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -930,7 +933,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -1018,7 +1021,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -1106,7 +1109,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -1275,8 +1278,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -1377,8 +1380,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -1482,8 +1485,305 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_user_data_filters** +> JsonApiUserDataFilterOutList search_entities_user_data_filters(workspace_id, entity_search_body) + +Search request for UserDataFilter + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import data_filters_api +from gooddata_api_client.model.json_api_user_data_filter_out_list import JsonApiUserDataFilterOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = data_filters_api.DataFiltersApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for UserDataFilter + api_response = api_instance.search_entities_user_data_filters(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling DataFiltersApi->search_entities_user_data_filters: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for UserDataFilter + api_response = api_instance.search_entities_user_data_filters(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling DataFiltersApi->search_entities_user_data_filters: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiUserDataFilterOutList**](JsonApiUserDataFilterOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_workspace_data_filter_settings** +> JsonApiWorkspaceDataFilterSettingOutList search_entities_workspace_data_filter_settings(workspace_id, entity_search_body) + +Search request for WorkspaceDataFilterSetting + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import data_filters_api +from gooddata_api_client.model.json_api_workspace_data_filter_setting_out_list import JsonApiWorkspaceDataFilterSettingOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = data_filters_api.DataFiltersApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for WorkspaceDataFilterSetting + api_response = api_instance.search_entities_workspace_data_filter_settings(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling DataFiltersApi->search_entities_workspace_data_filter_settings: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for WorkspaceDataFilterSetting + api_response = api_instance.search_entities_workspace_data_filter_settings(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling DataFiltersApi->search_entities_workspace_data_filter_settings: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiWorkspaceDataFilterSettingOutList**](JsonApiWorkspaceDataFilterSettingOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_workspace_data_filters** +> JsonApiWorkspaceDataFilterOutList search_entities_workspace_data_filters(workspace_id, entity_search_body) + +Search request for WorkspaceDataFilter + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import data_filters_api +from gooddata_api_client.model.json_api_workspace_data_filter_out_list import JsonApiWorkspaceDataFilterOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = data_filters_api.DataFiltersApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for WorkspaceDataFilter + api_response = api_instance.search_entities_workspace_data_filters(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling DataFiltersApi->search_entities_workspace_data_filters: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for WorkspaceDataFilter + api_response = api_instance.search_entities_workspace_data_filters(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling DataFiltersApi->search_entities_workspace_data_filters: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiWorkspaceDataFilterOutList**](JsonApiWorkspaceDataFilterOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -1680,8 +1980,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -1782,8 +2082,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -1887,8 +2187,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/DataSourceDeclarativeAPIsApi.md b/gooddata-api-client/docs/DataSourceDeclarativeAPIsApi.md index 831b3c167..e69e2353d 100644 --- a/gooddata-api-client/docs/DataSourceDeclarativeAPIsApi.md +++ b/gooddata-api-client/docs/DataSourceDeclarativeAPIsApi.md @@ -101,6 +101,7 @@ with gooddata_api_client.ApiClient() as api_client: declarative_data_sources = DeclarativeDataSources( data_sources=[ DeclarativeDataSource( + alternative_data_source_id="pg_local_docker-demo2", authentication_type="USERNAME_PASSWORD", cache_strategy="ALWAYS", client_id="client1234", diff --git a/gooddata-api-client/docs/DataSourceEntityAPIsApi.md b/gooddata-api-client/docs/DataSourceEntityAPIsApi.md index 6da19a0f0..e5a5697b7 100644 --- a/gooddata-api-client/docs/DataSourceEntityAPIsApi.md +++ b/gooddata-api-client/docs/DataSourceEntityAPIsApi.md @@ -45,6 +45,7 @@ with gooddata_api_client.ApiClient() as api_client: json_api_data_source_in_document = JsonApiDataSourceInDocument( data=JsonApiDataSourceIn( attributes=JsonApiDataSourceInAttributes( + alternative_data_source_id="pg_local_docker-demo2", cache_strategy="ALWAYS", client_id="client_id_example", client_secret="client_secret_example", @@ -108,8 +109,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -262,7 +263,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -342,7 +343,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -422,7 +423,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -504,7 +505,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -547,6 +548,7 @@ with gooddata_api_client.ApiClient() as api_client: json_api_data_source_patch_document = JsonApiDataSourcePatchDocument( data=JsonApiDataSourcePatch( attributes=JsonApiDataSourcePatchAttributes( + alternative_data_source_id="pg_local_docker-demo2", cache_strategy="ALWAYS", client_id="client_id_example", client_secret="client_secret_example", @@ -609,8 +611,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -653,6 +655,7 @@ with gooddata_api_client.ApiClient() as api_client: json_api_data_source_in_document = JsonApiDataSourceInDocument( data=JsonApiDataSourceIn( attributes=JsonApiDataSourceInAttributes( + alternative_data_source_id="pg_local_docker-demo2", cache_strategy="ALWAYS", client_id="client_id_example", client_secret="client_secret_example", @@ -715,8 +718,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/DataSourceFilesAnalysisApi.md b/gooddata-api-client/docs/DataSourceFilesAnalysisApi.md new file mode 100644 index 000000000..c72f62a76 --- /dev/null +++ b/gooddata-api-client/docs/DataSourceFilesAnalysisApi.md @@ -0,0 +1,91 @@ +# gooddata_api_client.DataSourceFilesAnalysisApi + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**analyze_csv**](DataSourceFilesAnalysisApi.md#analyze_csv) | **POST** /api/v1/actions/fileStorage/staging/analyzeCsv | Analyze CSV + + +# **analyze_csv** +> [AnalyzeCsvResponse] analyze_csv(analyze_csv_request) + +Analyze CSV + +Analyzes CSV files at the given locations + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import data_source_files_analysis_api +from gooddata_api_client.model.analyze_csv_response import AnalyzeCsvResponse +from gooddata_api_client.model.analyze_csv_request import AnalyzeCsvRequest +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = data_source_files_analysis_api.DataSourceFilesAnalysisApi(api_client) + analyze_csv_request = AnalyzeCsvRequest( + analyze_requests=[ + AnalyzeCsvRequestItem( + config=AnalyzeCsvRequestItemConfig( + delimiters=[ + "delimiters_example", + ], + header_detect_max_rows=1, + header_row_count=1, + result_rows=1, + ), + location="location_example", + ), + ], + ) # AnalyzeCsvRequest | + + # example passing only required values which don't have defaults set + try: + # Analyze CSV + api_response = api_instance.analyze_csv(analyze_csv_request) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling DataSourceFilesAnalysisApi->analyze_csv: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **analyze_csv_request** | [**AnalyzeCsvRequest**](AnalyzeCsvRequest.md)| | + +### Return type + +[**[AnalyzeCsvResponse]**](AnalyzeCsvResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful analysis. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/gooddata-api-client/docs/DataSourceFilesDeletionApi.md b/gooddata-api-client/docs/DataSourceFilesDeletionApi.md new file mode 100644 index 000000000..302b5c66b --- /dev/null +++ b/gooddata-api-client/docs/DataSourceFilesDeletionApi.md @@ -0,0 +1,81 @@ +# gooddata_api_client.DataSourceFilesDeletionApi + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**delete_files**](DataSourceFilesDeletionApi.md#delete_files) | **POST** /api/v1/actions/fileStorage/dataSources/{dataSourceId}/deleteFiles | Delete datasource files + + +# **delete_files** +> delete_files(data_source_id, delete_files_request) + +Delete datasource files + +Delete the files in the given data source. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import data_source_files_deletion_api +from gooddata_api_client.model.delete_files_request import DeleteFilesRequest +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = data_source_files_deletion_api.DataSourceFilesDeletionApi(api_client) + data_source_id = "dataSourceId_example" # str | + delete_files_request = DeleteFilesRequest( + file_names=[ + "file_names_example", + ], + ) # DeleteFilesRequest | + + # example passing only required values which don't have defaults set + try: + # Delete datasource files + api_instance.delete_files(data_source_id, delete_files_request) + except gooddata_api_client.ApiException as e: + print("Exception when calling DataSourceFilesDeletionApi->delete_files: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **data_source_id** | **str**| | + **delete_files_request** | [**DeleteFilesRequest**](DeleteFilesRequest.md)| | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Successful deletion. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/gooddata-api-client/docs/DataSourceFilesImportApi.md b/gooddata-api-client/docs/DataSourceFilesImportApi.md new file mode 100644 index 000000000..f408fc439 --- /dev/null +++ b/gooddata-api-client/docs/DataSourceFilesImportApi.md @@ -0,0 +1,143 @@ +# gooddata_api_client.DataSourceFilesImportApi + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**import_csv**](DataSourceFilesImportApi.md#import_csv) | **POST** /api/v1/actions/fileStorage/dataSources/{dataSourceId}/importCsv | Import CSV + + +# **import_csv** +> [ImportCsvResponse] import_csv(data_source_id, import_csv_request) + +Import CSV + +Import the CSV files at the given locations in the staging area to the final location. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import data_source_files_import_api +from gooddata_api_client.model.import_csv_request import ImportCsvRequest +from gooddata_api_client.model.import_csv_response import ImportCsvResponse +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = data_source_files_import_api.DataSourceFilesImportApi(api_client) + data_source_id = "dataSourceId_example" # str | + import_csv_request = ImportCsvRequest( + tables=[ + ImportCsvRequestTable( + name="name_example", + source=ImportCsvRequestTableSource( + config=ImportCsvRequestTableSourceConfig( + column_date_formats={ + "key": "key_example", + }, + convert_options=CsvConvertOptions( + auto_dict_encode=True, + auto_dict_max_cardinality=1, + check_utf8=True, + column_types=[ + CsvConvertOptionsColumnType( + name="name_example", + nullable=True, + type="type_example", + ), + ], + decimal_point="decimal_point_example", + false_values=[ + "false_values_example", + ], + include_columns=[ + "include_columns_example", + ], + include_missing_columns=True, + null_values=[ + "null_values_example", + ], + quoted_strings_can_be_null=True, + strings_can_be_null=True, + timestamp_parsers=[ + "timestamp_parsers_example", + ], + true_values=[ + "true_values_example", + ], + ), + parse_options=CsvParseOptions( + delimiter="delimiter_example", + double_quote=True, + escape_char={}, + ignore_empty_lines=True, + newlines_in_values=True, + quote_char={}, + ), + read_options=CsvReadOptions( + auto_generate_column_names=True, + block_size=1, + column_names=[ + "column_names_example", + ], + encoding="encoding_example", + skip_rows=1, + skip_rows_after_names=1, + use_threads=True, + ), + ), + location="location_example", + ), + ), + ], + ) # ImportCsvRequest | + + # example passing only required values which don't have defaults set + try: + # Import CSV + api_response = api_instance.import_csv(data_source_id, import_csv_request) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling DataSourceFilesImportApi->import_csv: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **data_source_id** | **str**| | + **import_csv_request** | [**ImportCsvRequest**](ImportCsvRequest.md)| | + +### Return type + +[**[ImportCsvResponse]**](ImportCsvResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful import. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/gooddata-api-client/docs/DataSourceFilesListingApi.md b/gooddata-api-client/docs/DataSourceFilesListingApi.md new file mode 100644 index 000000000..5815e9368 --- /dev/null +++ b/gooddata-api-client/docs/DataSourceFilesListingApi.md @@ -0,0 +1,76 @@ +# gooddata_api_client.DataSourceFilesListingApi + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**list_files**](DataSourceFilesListingApi.md#list_files) | **POST** /api/v1/actions/fileStorage/dataSources/{dataSourceId}/listFiles | List datasource files + + +# **list_files** +> [GdStorageFile] list_files(data_source_id) + +List datasource files + +List all the files in the given data source. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import data_source_files_listing_api +from gooddata_api_client.model.gd_storage_file import GdStorageFile +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = data_source_files_listing_api.DataSourceFilesListingApi(api_client) + data_source_id = "dataSourceId_example" # str | + + # example passing only required values which don't have defaults set + try: + # List datasource files + api_response = api_instance.list_files(data_source_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling DataSourceFilesListingApi->list_files: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **data_source_id** | **str**| | + +### Return type + +[**[GdStorageFile]**](GdStorageFile.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful listing. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/gooddata-api-client/docs/DataSourceFilesManifestReadApi.md b/gooddata-api-client/docs/DataSourceFilesManifestReadApi.md new file mode 100644 index 000000000..85eeb7d81 --- /dev/null +++ b/gooddata-api-client/docs/DataSourceFilesManifestReadApi.md @@ -0,0 +1,86 @@ +# gooddata_api_client.DataSourceFilesManifestReadApi + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**read_csv_file_manifests**](DataSourceFilesManifestReadApi.md#read_csv_file_manifests) | **POST** /api/v1/actions/fileStorage/dataSources/{dataSourceId}/readCsvFileManifests | Read CSV file manifests + + +# **read_csv_file_manifests** +> [ReadCsvFileManifestsResponse] read_csv_file_manifests(data_source_id, read_csv_file_manifests_request) + +Read CSV file manifests + +Read the manifests of the CSV files in the given data source. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import data_source_files_manifest_read_api +from gooddata_api_client.model.read_csv_file_manifests_response import ReadCsvFileManifestsResponse +from gooddata_api_client.model.read_csv_file_manifests_request import ReadCsvFileManifestsRequest +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = data_source_files_manifest_read_api.DataSourceFilesManifestReadApi(api_client) + data_source_id = "dataSourceId_example" # str | + read_csv_file_manifests_request = ReadCsvFileManifestsRequest( + manifest_requests=[ + ReadCsvFileManifestsRequestItem( + file_name="file_name_example", + version=1, + ), + ], + ) # ReadCsvFileManifestsRequest | + + # example passing only required values which don't have defaults set + try: + # Read CSV file manifests + api_response = api_instance.read_csv_file_manifests(data_source_id, read_csv_file_manifests_request) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling DataSourceFilesManifestReadApi->read_csv_file_manifests: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **data_source_id** | **str**| | + **read_csv_file_manifests_request** | [**ReadCsvFileManifestsRequest**](ReadCsvFileManifestsRequest.md)| | + +### Return type + +[**[ReadCsvFileManifestsResponse]**](ReadCsvFileManifestsResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful listing. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/gooddata-api-client/docs/DataSourceStagingLocationApi.md b/gooddata-api-client/docs/DataSourceStagingLocationApi.md new file mode 100644 index 000000000..02ef651bb --- /dev/null +++ b/gooddata-api-client/docs/DataSourceStagingLocationApi.md @@ -0,0 +1,76 @@ +# gooddata_api_client.DataSourceStagingLocationApi + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**staging_upload**](DataSourceStagingLocationApi.md#staging_upload) | **POST** /api/v1/actions/fileStorage/staging/upload | Upload a file to the staging area + + +# **staging_upload** +> UploadFileResponse staging_upload(file) + +Upload a file to the staging area + +Provides a location for uploading staging files. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import data_source_staging_location_api +from gooddata_api_client.model.upload_file_response import UploadFileResponse +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = data_source_staging_location_api.DataSourceStagingLocationApi(api_client) + file = open('/path/to/file', 'rb') # file_type | The file to upload. + + # example passing only required values which don't have defaults set + try: + # Upload a file to the staging area + api_response = api_instance.staging_upload(file) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling DataSourceStagingLocationApi->staging_upload: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file** | **file_type**| The file to upload. | + +### Return type + +[**UploadFileResponse**](UploadFileResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Upload was successful. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/gooddata-api-client/docs/DatasetsApi.md b/gooddata-api-client/docs/DatasetsApi.md index 61a3906f7..6aec450c1 100644 --- a/gooddata-api-client/docs/DatasetsApi.md +++ b/gooddata-api-client/docs/DatasetsApi.md @@ -7,6 +7,7 @@ Method | HTTP request | Description [**get_all_entities_datasets**](DatasetsApi.md#get_all_entities_datasets) | **GET** /api/v1/entities/workspaces/{workspaceId}/datasets | Get all Datasets [**get_entity_datasets**](DatasetsApi.md#get_entity_datasets) | **GET** /api/v1/entities/workspaces/{workspaceId}/datasets/{objectId} | Get a Dataset [**patch_entity_datasets**](DatasetsApi.md#patch_entity_datasets) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/datasets/{objectId} | Patch a Dataset (beta) +[**search_entities_datasets**](DatasetsApi.md#search_entities_datasets) | **POST** /api/v1/entities/workspaces/{workspaceId}/datasets/search | Search request for Dataset # **get_all_entities_datasets** @@ -94,7 +95,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -182,7 +183,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -223,7 +224,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | json_api_dataset_patch_document = JsonApiDatasetPatchDocument( data=JsonApiDatasetPatch( - attributes=JsonApiDatasetPatchAttributes( + attributes=JsonApiAttributePatchAttributes( description="description_example", tags=[ "tags_example", @@ -278,8 +279,107 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_datasets** +> JsonApiDatasetOutList search_entities_datasets(workspace_id, entity_search_body) + +Search request for Dataset + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import datasets_api +from gooddata_api_client.model.json_api_dataset_out_list import JsonApiDatasetOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = datasets_api.DatasetsApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for Dataset + api_response = api_instance.search_entities_datasets(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling DatasetsApi->search_entities_datasets: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for Dataset + api_response = api_instance.search_entities_datasets(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling DatasetsApi->search_entities_datasets: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiDatasetOutList**](JsonApiDatasetOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/DeclarativeAggregatedFact.md b/gooddata-api-client/docs/DeclarativeAggregatedFact.md index cb910a6d1..156988ee6 100644 --- a/gooddata-api-client/docs/DeclarativeAggregatedFact.md +++ b/gooddata-api-client/docs/DeclarativeAggregatedFact.md @@ -9,6 +9,8 @@ Name | Type | Description | Notes **source_column** | **str** | A name of the source column in the table. | **source_fact_reference** | [**DeclarativeSourceFactReference**](DeclarativeSourceFactReference.md) | | **description** | **str** | Fact description. | [optional] +**is_nullable** | **bool** | Flag indicating whether the associated source column allows null values. | [optional] +**null_value** | **str** | Value used in coalesce during joins instead of null. | [optional] **source_column_data_type** | **str** | A type of the source column | [optional] **tags** | **[str]** | A list of tags. | [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/DeclarativeAttribute.md b/gooddata-api-client/docs/DeclarativeAttribute.md index 9d3817b67..ae1f7def5 100644 --- a/gooddata-api-client/docs/DeclarativeAttribute.md +++ b/gooddata-api-client/docs/DeclarativeAttribute.md @@ -12,7 +12,9 @@ Name | Type | Description | Notes **default_view** | [**LabelIdentifier**](LabelIdentifier.md) | | [optional] **description** | **str** | Attribute description. | [optional] **is_hidden** | **bool** | If true, this attribute is hidden from AI search results. | [optional] +**is_nullable** | **bool** | Flag indicating whether the associated source column allows null values. | [optional] **locale** | **str** | Default locale for primary label. | [optional] +**null_value** | **str** | Value used in coalesce during joins instead of null. | [optional] **sort_column** | **str** | Attribute sort column. | [optional] **sort_direction** | **str** | Attribute sort direction. | [optional] **source_column_data_type** | **str** | A type of the source column | [optional] diff --git a/gooddata-api-client/docs/DeclarativeColumn.md b/gooddata-api-client/docs/DeclarativeColumn.md index 6ed1d439a..090ebe2ac 100644 --- a/gooddata-api-client/docs/DeclarativeColumn.md +++ b/gooddata-api-client/docs/DeclarativeColumn.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **data_type** | **str** | Column type | **name** | **str** | Column name | **description** | **str** | Column description/comment from database | [optional] +**is_nullable** | **bool** | Column is nullable | [optional] **is_primary_key** | **bool** | Is column part of primary key? | [optional] **referenced_table_column** | **str** | Referenced table (Foreign key) | [optional] **referenced_table_id** | **str** | Referenced table (Foreign key) | [optional] diff --git a/gooddata-api-client/docs/DeclarativeCustomGeoCollection.md b/gooddata-api-client/docs/DeclarativeCustomGeoCollection.md new file mode 100644 index 000000000..10dc654b7 --- /dev/null +++ b/gooddata-api-client/docs/DeclarativeCustomGeoCollection.md @@ -0,0 +1,13 @@ +# DeclarativeCustomGeoCollection + +A declarative form of custom geo collection. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Custom geo collection ID. | +**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/DeclarativeCustomGeoCollections.md b/gooddata-api-client/docs/DeclarativeCustomGeoCollections.md new file mode 100644 index 000000000..4b2e54486 --- /dev/null +++ b/gooddata-api-client/docs/DeclarativeCustomGeoCollections.md @@ -0,0 +1,13 @@ +# DeclarativeCustomGeoCollections + +Custom geo collections. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**custom_geo_collections** | [**[DeclarativeCustomGeoCollection]**](DeclarativeCustomGeoCollection.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/DeclarativeDataSource.md b/gooddata-api-client/docs/DeclarativeDataSource.md index 70914dfcc..95a368615 100644 --- a/gooddata-api-client/docs/DeclarativeDataSource.md +++ b/gooddata-api-client/docs/DeclarativeDataSource.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **name** | **str** | Name of the data source. | **schema** | **str** | A scheme/database with the data. | **type** | **str** | Type of database. | +**alternative_data_source_id** | **str, none_type** | Alternative data source ID. It is a weak reference meaning data source does not have to exist. All the entities (e.g. tables) from the data source must be available also in the alternative data source. It must be present in the same organization as the data source. | [optional] **authentication_type** | **str, none_type** | Type of authentication used to connect to the database. | [optional] **cache_strategy** | **str** | Determines how the results coming from a particular datasource should be cached. - ALWAYS: The results from the datasource should be cached normally (the default). - NEVER: The results from the datasource should never be cached. | [optional] **client_id** | **str** | Id of client with permission to connect to the data source. | [optional] diff --git a/gooddata-api-client/docs/DeclarativeFact.md b/gooddata-api-client/docs/DeclarativeFact.md index d16c216fb..11060f458 100644 --- a/gooddata-api-client/docs/DeclarativeFact.md +++ b/gooddata-api-client/docs/DeclarativeFact.md @@ -10,6 +10,8 @@ Name | Type | Description | Notes **title** | **str** | Fact title. | **description** | **str** | Fact description. | [optional] **is_hidden** | **bool** | If true, this fact is hidden from AI search results. | [optional] +**is_nullable** | **bool** | Flag indicating whether the associated source column allows null values. | [optional] +**null_value** | **str** | Value used in coalesce during joins instead of null. | [optional] **source_column_data_type** | **str** | A type of the source column | [optional] **tags** | **[str]** | A list of tags. | [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/DeclarativeLabel.md b/gooddata-api-client/docs/DeclarativeLabel.md index 98cd50530..2f3d1ea48 100644 --- a/gooddata-api-client/docs/DeclarativeLabel.md +++ b/gooddata-api-client/docs/DeclarativeLabel.md @@ -11,7 +11,9 @@ Name | Type | Description | Notes **description** | **str** | Label description. | [optional] **geo_area_config** | [**GeoAreaConfig**](GeoAreaConfig.md) | | [optional] **is_hidden** | **bool** | Determines if the label is hidden from AI features. | [optional] +**is_nullable** | **bool** | Flag indicating whether the associated source column allows null values. | [optional] **locale** | **str** | Default label locale. | [optional] +**null_value** | **str** | Value used in coalesce during joins instead of null. | [optional] **source_column_data_type** | **str** | A type of the source column | [optional] **tags** | **[str]** | A list of tags. | [optional] **translations** | [**[DeclarativeLabelTranslation]**](DeclarativeLabelTranslation.md) | Other translations. | [optional] diff --git a/gooddata-api-client/docs/DeclarativeNotificationChannelDestination.md b/gooddata-api-client/docs/DeclarativeNotificationChannelDestination.md index d80954de8..23bd60492 100644 --- a/gooddata-api-client/docs/DeclarativeNotificationChannelDestination.md +++ b/gooddata-api-client/docs/DeclarativeNotificationChannelDestination.md @@ -10,7 +10,9 @@ Name | Type | Description | Notes **password** | **str** | The SMTP server password. | [optional] **port** | **int** | The SMTP server port. | [optional] **username** | **str** | The SMTP server username. | [optional] +**has_secret_key** | **bool, none_type** | Flag indicating if webhook has a hmac secret key. | [optional] [readonly] **has_token** | **bool, none_type** | Flag indicating if webhook has a token. | [optional] [readonly] +**secret_key** | **str, none_type** | Hmac secret key for the webhook signature. | [optional] **token** | **str, none_type** | Bearer token for the webhook. | [optional] **url** | **str** | The webhook URL. | [optional] **type** | **str** | The destination type. | [optional] if omitted the server will use the default value of "WEBHOOK" diff --git a/gooddata-api-client/docs/DeclarativeOrganization.md b/gooddata-api-client/docs/DeclarativeOrganization.md index 4b3f63852..9c69a1852 100644 --- a/gooddata-api-client/docs/DeclarativeOrganization.md +++ b/gooddata-api-client/docs/DeclarativeOrganization.md @@ -6,6 +6,7 @@ Complete definition of an organization in a declarative form. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **organization** | [**DeclarativeOrganizationInfo**](DeclarativeOrganizationInfo.md) | | +**custom_geo_collections** | [**[DeclarativeCustomGeoCollection]**](DeclarativeCustomGeoCollection.md) | | [optional] **data_sources** | [**[DeclarativeDataSource]**](DeclarativeDataSource.md) | | [optional] **export_templates** | [**[DeclarativeExportTemplate]**](DeclarativeExportTemplate.md) | | [optional] **identity_providers** | [**[DeclarativeIdentityProvider]**](DeclarativeIdentityProvider.md) | | [optional] diff --git a/gooddata-api-client/docs/DeclarativeReferenceSource.md b/gooddata-api-client/docs/DeclarativeReferenceSource.md index 510e5307e..4fae46402 100644 --- a/gooddata-api-client/docs/DeclarativeReferenceSource.md +++ b/gooddata-api-client/docs/DeclarativeReferenceSource.md @@ -8,6 +8,8 @@ Name | Type | Description | Notes **column** | **str** | A name of the source column in the table. | **target** | [**GrainIdentifier**](GrainIdentifier.md) | | **data_type** | **str** | A type of the source column. | [optional] +**is_nullable** | **bool** | Flag indicating whether the associated source column allows null values. | [optional] +**null_value** | **str** | Value used in coalesce during joins instead of null. | [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/DeleteFilesRequest.md b/gooddata-api-client/docs/DeleteFilesRequest.md new file mode 100644 index 000000000..1e92de431 --- /dev/null +++ b/gooddata-api-client/docs/DeleteFilesRequest.md @@ -0,0 +1,13 @@ +# DeleteFilesRequest + +Request to delete files from the storage. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**file_names** | **[str]** | Names of the files to delete. | +**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/EntitlementApi.md b/gooddata-api-client/docs/EntitlementApi.md index 48a589137..ac6423ff5 100644 --- a/gooddata-api-client/docs/EntitlementApi.md +++ b/gooddata-api-client/docs/EntitlementApi.md @@ -79,7 +79,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -157,7 +157,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/ExportDefinitionsApi.md b/gooddata-api-client/docs/ExportDefinitionsApi.md index fe3f45ac5..7f24fa77a 100644 --- a/gooddata-api-client/docs/ExportDefinitionsApi.md +++ b/gooddata-api-client/docs/ExportDefinitionsApi.md @@ -9,6 +9,7 @@ Method | HTTP request | Description [**get_all_entities_export_definitions**](ExportDefinitionsApi.md#get_all_entities_export_definitions) | **GET** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions | Get all Export Definitions [**get_entity_export_definitions**](ExportDefinitionsApi.md#get_entity_export_definitions) | **GET** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId} | Get an Export Definition [**patch_entity_export_definitions**](ExportDefinitionsApi.md#patch_entity_export_definitions) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId} | Patch an Export Definition +[**search_entities_export_definitions**](ExportDefinitionsApi.md#search_entities_export_definitions) | **POST** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/search | Search request for ExportDefinition [**update_entity_export_definitions**](ExportDefinitionsApi.md#update_entity_export_definitions) | **PUT** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId} | Put an Export Definition @@ -107,8 +108,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -279,7 +280,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -367,7 +368,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -473,8 +474,107 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_export_definitions** +> JsonApiExportDefinitionOutList search_entities_export_definitions(workspace_id, entity_search_body) + +Search request for ExportDefinition + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import export_definitions_api +from gooddata_api_client.model.json_api_export_definition_out_list import JsonApiExportDefinitionOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = export_definitions_api.ExportDefinitionsApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for ExportDefinition + api_response = api_instance.search_entities_export_definitions(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ExportDefinitionsApi->search_entities_export_definitions: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for ExportDefinition + api_response = api_instance.search_entities_export_definitions(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ExportDefinitionsApi->search_entities_export_definitions: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiExportDefinitionOutList**](JsonApiExportDefinitionOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -580,8 +680,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/ExportTemplatesApi.md b/gooddata-api-client/docs/ExportTemplatesApi.md index ccbc823e7..bc78b5c77 100644 --- a/gooddata-api-client/docs/ExportTemplatesApi.md +++ b/gooddata-api-client/docs/ExportTemplatesApi.md @@ -141,8 +141,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -293,7 +293,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -369,7 +369,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -522,8 +522,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -676,8 +676,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/FactsApi.md b/gooddata-api-client/docs/FactsApi.md index 0296e5a78..eaea468ce 100644 --- a/gooddata-api-client/docs/FactsApi.md +++ b/gooddata-api-client/docs/FactsApi.md @@ -4,11 +4,109 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- +[**get_all_entities_aggregated_facts**](FactsApi.md#get_all_entities_aggregated_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts | [**get_all_entities_facts**](FactsApi.md#get_all_entities_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/facts | Get all Facts +[**get_entity_aggregated_facts**](FactsApi.md#get_entity_aggregated_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/{objectId} | [**get_entity_facts**](FactsApi.md#get_entity_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/facts/{objectId} | Get a Fact [**patch_entity_facts**](FactsApi.md#patch_entity_facts) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/facts/{objectId} | Patch a Fact (beta) +[**search_entities_aggregated_facts**](FactsApi.md#search_entities_aggregated_facts) | **POST** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/search | Search request for AggregatedFact +[**search_entities_facts**](FactsApi.md#search_entities_facts) | **POST** /api/v1/entities/workspaces/{workspaceId}/facts/search | Search request for Fact +# **get_all_entities_aggregated_facts** +> JsonApiAggregatedFactOutList get_all_entities_aggregated_facts(workspace_id) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import facts_api +from gooddata_api_client.model.json_api_aggregated_fact_out_list import JsonApiAggregatedFactOutList +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = facts_api.FactsApi(api_client) + workspace_id = "workspaceId_example" # str | + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + filter = "description==someString;tags==v1,v2,v3;dataset.id==321;sourceFact.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 = [ + "dataset,sourceFact", + ] # [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 + sort = [ + "sort_example", + ] # [str] | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + meta_include = [ + "metaInclude=origin,page,all", + ] # [str] | Include Meta objects. (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.get_all_entities_aggregated_facts(workspace_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FactsApi->get_all_entities_aggregated_facts: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.get_all_entities_aggregated_facts(workspace_id, origin=origin, filter=filter, include=include, page=page, size=size, sort=sort, x_gdc_validate_relations=x_gdc_validate_relations, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FactsApi->get_all_entities_aggregated_facts: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[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** | **int**| Zero-based page index (0..N) | [optional] if omitted the server will use the default value of 0 + **size** | **int**| The size of the page to be returned | [optional] if omitted the server will use the default value of 20 + **sort** | **[str]**| Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + **meta_include** | **[str]**| Include Meta objects. | [optional] + +### Return type + +[**JsonApiAggregatedFactOutList**](JsonApiAggregatedFactOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_all_entities_facts** > JsonApiFactOutList get_all_entities_facts(workspace_id) @@ -94,7 +192,93 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_entity_aggregated_facts** +> JsonApiAggregatedFactOutDocument get_entity_aggregated_facts(workspace_id, object_id) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import facts_api +from gooddata_api_client.model.json_api_aggregated_fact_out_document import JsonApiAggregatedFactOutDocument +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = facts_api.FactsApi(api_client) + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | + filter = "description==someString;tags==v1,v2,v3;dataset.id==321;sourceFact.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 = [ + "dataset,sourceFact", + ] # [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 = [ + "metaInclude=origin,all", + ] # [str] | Include Meta objects. (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.get_entity_aggregated_facts(workspace_id, object_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FactsApi->get_entity_aggregated_facts: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.get_entity_aggregated_facts(workspace_id, object_id, filter=filter, include=include, x_gdc_validate_relations=x_gdc_validate_relations, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FactsApi->get_entity_aggregated_facts: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **object_id** | **str**| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[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** | **bool**| | [optional] if omitted the server will use the default value of False + **meta_include** | **[str]**| Include Meta objects. | [optional] + +### Return type + +[**JsonApiAggregatedFactOutDocument**](JsonApiAggregatedFactOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -182,7 +366,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -223,7 +407,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | json_api_fact_patch_document = JsonApiFactPatchDocument( data=JsonApiFactPatch( - attributes=JsonApiDatasetPatchAttributes( + attributes=JsonApiAttributePatchAttributes( description="description_example", tags=[ "tags_example", @@ -278,8 +462,206 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_aggregated_facts** +> JsonApiAggregatedFactOutList search_entities_aggregated_facts(workspace_id, entity_search_body) + +Search request for AggregatedFact + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import facts_api +from gooddata_api_client.model.json_api_aggregated_fact_out_list import JsonApiAggregatedFactOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = facts_api.FactsApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for AggregatedFact + api_response = api_instance.search_entities_aggregated_facts(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FactsApi->search_entities_aggregated_facts: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for AggregatedFact + api_response = api_instance.search_entities_aggregated_facts(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FactsApi->search_entities_aggregated_facts: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiAggregatedFactOutList**](JsonApiAggregatedFactOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_facts** +> JsonApiFactOutList search_entities_facts(workspace_id, entity_search_body) + +Search request for Fact + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import facts_api +from gooddata_api_client.model.json_api_fact_out_list import JsonApiFactOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = facts_api.FactsApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for Fact + api_response = api_instance.search_entities_facts(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FactsApi->search_entities_facts: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for Fact + api_response = api_instance.search_entities_facts(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FactsApi->search_entities_facts: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiFactOutList**](JsonApiFactOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/FeatureFlagsContext.md b/gooddata-api-client/docs/FeatureFlagsContext.md new file mode 100644 index 000000000..84f0c8e50 --- /dev/null +++ b/gooddata-api-client/docs/FeatureFlagsContext.md @@ -0,0 +1,13 @@ +# FeatureFlagsContext + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**early_access** | **str** | | +**early_access_values** | **[str]** | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/Features.md b/gooddata-api-client/docs/Features.md new file mode 100644 index 000000000..8809c69d6 --- /dev/null +++ b/gooddata-api-client/docs/Features.md @@ -0,0 +1,13 @@ +# Features + +Base Structure for feature flags + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**context** | [**FeatureFlagsContext**](FeatureFlagsContext.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/FilterContextApi.md b/gooddata-api-client/docs/FilterContextApi.md new file mode 100644 index 000000000..20a5af46d --- /dev/null +++ b/gooddata-api-client/docs/FilterContextApi.md @@ -0,0 +1,670 @@ +# gooddata_api_client.FilterContextApi + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_entity_filter_contexts**](FilterContextApi.md#create_entity_filter_contexts) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Post Filter Context +[**delete_entity_filter_contexts**](FilterContextApi.md#delete_entity_filter_contexts) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Delete a Filter Context +[**get_all_entities_filter_contexts**](FilterContextApi.md#get_all_entities_filter_contexts) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Get all Filter Context +[**get_entity_filter_contexts**](FilterContextApi.md#get_entity_filter_contexts) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Get a Filter Context +[**patch_entity_filter_contexts**](FilterContextApi.md#patch_entity_filter_contexts) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Patch a Filter Context +[**search_entities_filter_contexts**](FilterContextApi.md#search_entities_filter_contexts) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterContexts/search | Search request for FilterContext +[**update_entity_filter_contexts**](FilterContextApi.md#update_entity_filter_contexts) | **PUT** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Put a Filter Context + + +# **create_entity_filter_contexts** +> JsonApiFilterContextOutDocument create_entity_filter_contexts(workspace_id, json_api_filter_context_post_optional_id_document) + +Post Filter Context + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import filter_context_api +from gooddata_api_client.model.json_api_filter_context_post_optional_id_document import JsonApiFilterContextPostOptionalIdDocument +from gooddata_api_client.model.json_api_filter_context_out_document import JsonApiFilterContextOutDocument +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = filter_context_api.FilterContextApi(api_client) + workspace_id = "workspaceId_example" # str | + json_api_filter_context_post_optional_id_document = JsonApiFilterContextPostOptionalIdDocument( + data=JsonApiFilterContextPostOptionalId( + attributes=JsonApiAnalyticalDashboardInAttributes( + are_relations_valid=True, + content={}, + description="description_example", + tags=[ + "tags_example", + ], + title="title_example", + ), + id="id1", + type="filterContext", + ), + ) # JsonApiFilterContextPostOptionalIdDocument | + include = [ + "attributes,datasets,labels", + ] # [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", + ] # [str] | Include Meta objects. (optional) + + # example passing only required values which don't have defaults set + try: + # Post Filter Context + api_response = api_instance.create_entity_filter_contexts(workspace_id, json_api_filter_context_post_optional_id_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FilterContextApi->create_entity_filter_contexts: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Post Filter Context + api_response = api_instance.create_entity_filter_contexts(workspace_id, json_api_filter_context_post_optional_id_document, include=include, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FilterContextApi->create_entity_filter_contexts: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **json_api_filter_context_post_optional_id_document** | [**JsonApiFilterContextPostOptionalIdDocument**](JsonApiFilterContextPostOptionalIdDocument.md)| | + **include** | **[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** | **[str]**| Include Meta objects. | [optional] + +### Return type + +[**JsonApiFilterContextOutDocument**](JsonApiFilterContextOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_entity_filter_contexts** +> delete_entity_filter_contexts(workspace_id, object_id) + +Delete a Filter Context + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import filter_context_api +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = filter_context_api.FilterContextApi(api_client) + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | + filter = "title==someString;description==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + + # example passing only required values which don't have defaults set + try: + # Delete a Filter Context + api_instance.delete_entity_filter_contexts(workspace_id, object_id) + except gooddata_api_client.ApiException as e: + print("Exception when calling FilterContextApi->delete_entity_filter_contexts: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Delete a Filter Context + api_instance.delete_entity_filter_contexts(workspace_id, object_id, filter=filter) + except gooddata_api_client.ApiException as e: + print("Exception when calling FilterContextApi->delete_entity_filter_contexts: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **object_id** | **str**| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Successfully deleted | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_all_entities_filter_contexts** +> JsonApiFilterContextOutList get_all_entities_filter_contexts(workspace_id) + +Get all Filter Context + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import filter_context_api +from gooddata_api_client.model.json_api_filter_context_out_list import JsonApiFilterContextOutList +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = filter_context_api.FilterContextApi(api_client) + workspace_id = "workspaceId_example" # str | + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + filter = "title==someString;description==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "attributes,datasets,labels", + ] # [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 + sort = [ + "sort_example", + ] # [str] | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + meta_include = [ + "metaInclude=origin,page,all", + ] # [str] | Include Meta objects. (optional) + + # example passing only required values which don't have defaults set + try: + # Get all Filter Context + api_response = api_instance.get_all_entities_filter_contexts(workspace_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FilterContextApi->get_all_entities_filter_contexts: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get all Filter Context + api_response = api_instance.get_all_entities_filter_contexts(workspace_id, origin=origin, filter=filter, include=include, page=page, size=size, sort=sort, x_gdc_validate_relations=x_gdc_validate_relations, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FilterContextApi->get_all_entities_filter_contexts: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[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** | **int**| Zero-based page index (0..N) | [optional] if omitted the server will use the default value of 0 + **size** | **int**| The size of the page to be returned | [optional] if omitted the server will use the default value of 20 + **sort** | **[str]**| Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + **meta_include** | **[str]**| Include Meta objects. | [optional] + +### Return type + +[**JsonApiFilterContextOutList**](JsonApiFilterContextOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_entity_filter_contexts** +> JsonApiFilterContextOutDocument get_entity_filter_contexts(workspace_id, object_id) + +Get a Filter Context + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import filter_context_api +from gooddata_api_client.model.json_api_filter_context_out_document import JsonApiFilterContextOutDocument +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = filter_context_api.FilterContextApi(api_client) + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | + filter = "title==someString;description==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "attributes,datasets,labels", + ] # [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 = [ + "metaInclude=origin,all", + ] # [str] | Include Meta objects. (optional) + + # example passing only required values which don't have defaults set + try: + # Get a Filter Context + api_response = api_instance.get_entity_filter_contexts(workspace_id, object_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FilterContextApi->get_entity_filter_contexts: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get a Filter Context + api_response = api_instance.get_entity_filter_contexts(workspace_id, object_id, filter=filter, include=include, x_gdc_validate_relations=x_gdc_validate_relations, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FilterContextApi->get_entity_filter_contexts: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **object_id** | **str**| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[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** | **bool**| | [optional] if omitted the server will use the default value of False + **meta_include** | **[str]**| Include Meta objects. | [optional] + +### Return type + +[**JsonApiFilterContextOutDocument**](JsonApiFilterContextOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **patch_entity_filter_contexts** +> JsonApiFilterContextOutDocument patch_entity_filter_contexts(workspace_id, object_id, json_api_filter_context_patch_document) + +Patch a Filter Context + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import filter_context_api +from gooddata_api_client.model.json_api_filter_context_patch_document import JsonApiFilterContextPatchDocument +from gooddata_api_client.model.json_api_filter_context_out_document import JsonApiFilterContextOutDocument +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = filter_context_api.FilterContextApi(api_client) + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | + json_api_filter_context_patch_document = JsonApiFilterContextPatchDocument( + data=JsonApiFilterContextPatch( + attributes=JsonApiAnalyticalDashboardPatchAttributes( + are_relations_valid=True, + content={}, + description="description_example", + tags=[ + "tags_example", + ], + title="title_example", + ), + id="id1", + type="filterContext", + ), + ) # JsonApiFilterContextPatchDocument | + filter = "title==someString;description==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "attributes,datasets,labels", + ] # [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 + try: + # Patch a Filter Context + api_response = api_instance.patch_entity_filter_contexts(workspace_id, object_id, json_api_filter_context_patch_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FilterContextApi->patch_entity_filter_contexts: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Patch a Filter Context + api_response = api_instance.patch_entity_filter_contexts(workspace_id, object_id, json_api_filter_context_patch_document, filter=filter, include=include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FilterContextApi->patch_entity_filter_contexts: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **object_id** | **str**| | + **json_api_filter_context_patch_document** | [**JsonApiFilterContextPatchDocument**](JsonApiFilterContextPatchDocument.md)| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[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] + +### Return type + +[**JsonApiFilterContextOutDocument**](JsonApiFilterContextOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_filter_contexts** +> JsonApiFilterContextOutList search_entities_filter_contexts(workspace_id, entity_search_body) + +Search request for FilterContext + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import filter_context_api +from gooddata_api_client.model.json_api_filter_context_out_list import JsonApiFilterContextOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = filter_context_api.FilterContextApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for FilterContext + api_response = api_instance.search_entities_filter_contexts(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FilterContextApi->search_entities_filter_contexts: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for FilterContext + api_response = api_instance.search_entities_filter_contexts(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FilterContextApi->search_entities_filter_contexts: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiFilterContextOutList**](JsonApiFilterContextOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_entity_filter_contexts** +> JsonApiFilterContextOutDocument update_entity_filter_contexts(workspace_id, object_id, json_api_filter_context_in_document) + +Put a Filter Context + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import filter_context_api +from gooddata_api_client.model.json_api_filter_context_in_document import JsonApiFilterContextInDocument +from gooddata_api_client.model.json_api_filter_context_out_document import JsonApiFilterContextOutDocument +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = filter_context_api.FilterContextApi(api_client) + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | + json_api_filter_context_in_document = JsonApiFilterContextInDocument( + data=JsonApiFilterContextIn( + attributes=JsonApiAnalyticalDashboardInAttributes( + are_relations_valid=True, + content={}, + description="description_example", + tags=[ + "tags_example", + ], + title="title_example", + ), + id="id1", + type="filterContext", + ), + ) # JsonApiFilterContextInDocument | + filter = "title==someString;description==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "attributes,datasets,labels", + ] # [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 + try: + # Put a Filter Context + api_response = api_instance.update_entity_filter_contexts(workspace_id, object_id, json_api_filter_context_in_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FilterContextApi->update_entity_filter_contexts: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Put a Filter Context + api_response = api_instance.update_entity_filter_contexts(workspace_id, object_id, json_api_filter_context_in_document, filter=filter, include=include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FilterContextApi->update_entity_filter_contexts: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **object_id** | **str**| | + **json_api_filter_context_in_document** | [**JsonApiFilterContextInDocument**](JsonApiFilterContextInDocument.md)| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[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] + +### Return type + +[**JsonApiFilterContextOutDocument**](JsonApiFilterContextOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/gooddata-api-client/docs/FilterDefinition.md b/gooddata-api-client/docs/FilterDefinition.md index 492aa972e..0140550a9 100644 --- a/gooddata-api-client/docs/FilterDefinition.md +++ b/gooddata-api-client/docs/FilterDefinition.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **ranking_filter** | [**RankingFilterRankingFilter**](RankingFilterRankingFilter.md) | | [optional] **comparison_measure_value_filter** | [**ComparisonMeasureValueFilterComparisonMeasureValueFilter**](ComparisonMeasureValueFilterComparisonMeasureValueFilter.md) | | [optional] **range_measure_value_filter** | [**RangeMeasureValueFilterRangeMeasureValueFilter**](RangeMeasureValueFilterRangeMeasureValueFilter.md) | | [optional] +**compound_measure_value_filter** | [**CompoundMeasureValueFilterCompoundMeasureValueFilter**](CompoundMeasureValueFilterCompoundMeasureValueFilter.md) | | [optional] **absolute_date_filter** | [**AbsoluteDateFilterAbsoluteDateFilter**](AbsoluteDateFilterAbsoluteDateFilter.md) | | [optional] **relative_date_filter** | [**RelativeDateFilterRelativeDateFilter**](RelativeDateFilterRelativeDateFilter.md) | | [optional] **negative_attribute_filter** | [**NegativeAttributeFilterNegativeAttributeFilter**](NegativeAttributeFilterNegativeAttributeFilter.md) | | [optional] diff --git a/gooddata-api-client/docs/FilterViewsApi.md b/gooddata-api-client/docs/FilterViewsApi.md index 99be8ee28..8f0bb0b52 100644 --- a/gooddata-api-client/docs/FilterViewsApi.md +++ b/gooddata-api-client/docs/FilterViewsApi.md @@ -10,6 +10,7 @@ Method | HTTP request | Description [**get_entity_filter_views**](FilterViewsApi.md#get_entity_filter_views) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Get Filter view [**get_filter_views**](FilterViewsApi.md#get_filter_views) | **GET** /api/v1/layout/workspaces/{workspaceId}/filterViews | Get filter views [**patch_entity_filter_views**](FilterViewsApi.md#patch_entity_filter_views) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Patch Filter view +[**search_entities_filter_views**](FilterViewsApi.md#search_entities_filter_views) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterViews/search | Search request for FilterView [**set_filter_views**](FilterViewsApi.md#set_filter_views) | **PUT** /api/v1/layout/workspaces/{workspaceId}/filterViews | Set filter views [**update_entity_filter_views**](FilterViewsApi.md#update_entity_filter_views) | **PUT** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Put Filter views @@ -106,8 +107,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -278,7 +279,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -362,7 +363,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -549,8 +550,107 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_filter_views** +> JsonApiFilterViewOutList search_entities_filter_views(workspace_id, entity_search_body) + +Search request for FilterView + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import filter_views_api +from gooddata_api_client.model.json_api_filter_view_out_list import JsonApiFilterViewOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = filter_views_api.FilterViewsApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for FilterView + api_response = api_instance.search_entities_filter_views(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FilterViewsApi->search_entities_filter_views: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for FilterView + api_response = api_instance.search_entities_filter_views(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling FilterViewsApi->search_entities_filter_views: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiFilterViewOutList**](JsonApiFilterViewOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -744,8 +844,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/FoundObjects.md b/gooddata-api-client/docs/FoundObjects.md index b442f0d40..ffba42340 100644 --- a/gooddata-api-client/docs/FoundObjects.md +++ b/gooddata-api-client/docs/FoundObjects.md @@ -6,7 +6,7 @@ List of objects found by similarity search and post-processed by LLM. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **objects** | [**[SearchResultObject]**](SearchResultObject.md) | List of objects found with a similarity search. | -**reasoning** | **str** | Reasoning from LLM. Description of how and why the answer was generated. | +**reasoning** | **str** | DEPRECATED: Use top-level reasoning.steps instead. Reasoning from LLM. Description of how and why the answer was generated. | **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/GdStorageFile.md b/gooddata-api-client/docs/GdStorageFile.md new file mode 100644 index 000000000..d2bf06c36 --- /dev/null +++ b/gooddata-api-client/docs/GdStorageFile.md @@ -0,0 +1,16 @@ +# GdStorageFile + +File stored in GD Storage. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**modified_at** | **datetime** | Last modification timestamp of the file. | +**name** | **str** | Name of the file. | +**size** | **int** | Size of the file in bytes. | +**type** | **str** | Type of the file. | defaults to "CSV" +**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/GenerateLogicalDataModelApi.md b/gooddata-api-client/docs/GenerateLogicalDataModelApi.md index afaefd72a..d4f3cbfe7 100644 --- a/gooddata-api-client/docs/GenerateLogicalDataModelApi.md +++ b/gooddata-api-client/docs/GenerateLogicalDataModelApi.md @@ -5,6 +5,7 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- [**generate_logical_model**](GenerateLogicalDataModelApi.md#generate_logical_model) | **POST** /api/v1/actions/dataSources/{dataSourceId}/generateLogicalModel | Generate logical data model (LDM) from physical data model (PDM) +[**generate_logical_model_aac**](GenerateLogicalDataModelApi.md#generate_logical_model_aac) | **POST** /api/v1/actions/dataSources/{dataSourceId}/generateLogicalModelAac | Generate logical data model in AAC format from physical data model (PDM) # **generate_logical_model** @@ -80,6 +81,7 @@ with gooddata_api_client.ApiClient() as api_client: DeclarativeColumn( data_type="INT", description="Customer unique identifier", + is_nullable=True, is_primary_key=True, name="customer_id", referenced_table_column="customer_id", @@ -143,3 +145,140 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **generate_logical_model_aac** +> AacLogicalModel generate_logical_model_aac(data_source_id, generate_ldm_request) + +Generate logical data model in AAC format from physical data model (PDM) + + Generate logical data model (LDM) from physical data model (PDM) stored in data source, returning the result in Analytics as Code (AAC) format compatible with the GoodData VSCode extension YAML definitions. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import generate_logical_data_model_api +from gooddata_api_client.model.generate_ldm_request import GenerateLdmRequest +from gooddata_api_client.model.aac_logical_model import AacLogicalModel +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = generate_logical_data_model_api.GenerateLogicalDataModelApi(api_client) + data_source_id = "dataSourceId_example" # str | + generate_ldm_request = GenerateLdmRequest( + aggregated_fact_prefix="aggr", + date_granularities="all", + date_reference_prefix="d", + denorm_prefix="dr", + fact_prefix="f", + generate_long_ids=False, + grain_multivalue_reference_prefix="grmr", + grain_prefix="gr", + grain_reference_prefix="grr", + multivalue_reference_prefix="mr", + pdm=PdmLdmRequest( + sqls=[ + PdmSql( + columns=[ + SqlColumn( + data_type="INT", + description="Customer unique identifier", + name="customer_id", + ), + ], + statement="select * from abc", + title="My special dataset", + ), + ], + table_overrides=[ + TableOverride( + columns=[ + ColumnOverride( + label_target_column="users", + label_type="HYPERLINK", + ldm_type_override="FACT", + name="column_name", + ), + ], + path=["schema","table_name"], + ), + ], + tables=[ + DeclarativeTable( + columns=[ + DeclarativeColumn( + data_type="INT", + description="Customer unique identifier", + is_nullable=True, + is_primary_key=True, + name="customer_id", + referenced_table_column="customer_id", + referenced_table_id="customers", + ), + ], + id="customers", + name_prefix="out_gooddata", + path=["table_schema","table_name"], + type="TABLE", + ), + ], + ), + primary_label_prefix="pl", + reference_prefix="r", + secondary_label_prefix="ls", + separator="__", + table_prefix="out_table", + translation_prefix="tr", + view_prefix="out_view", + wdf_prefix="wdf", + workspace_id="workspace_id_example", + ) # GenerateLdmRequest | + + # example passing only required values which don't have defaults set + try: + # Generate logical data model in AAC format from physical data model (PDM) + api_response = api_instance.generate_logical_model_aac(data_source_id, generate_ldm_request) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling GenerateLogicalDataModelApi->generate_logical_model_aac: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **data_source_id** | **str**| | + **generate_ldm_request** | [**GenerateLdmRequest**](GenerateLdmRequest.md)| | + +### Return type + +[**AacLogicalModel**](AacLogicalModel.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | LDM generated successfully in AAC format. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/gooddata-api-client/docs/GeoAreaConfig.md b/gooddata-api-client/docs/GeoAreaConfig.md index 466373b35..ec7aa03a3 100644 --- a/gooddata-api-client/docs/GeoAreaConfig.md +++ b/gooddata-api-client/docs/GeoAreaConfig.md @@ -5,7 +5,7 @@ Configuration specific to geo area labels. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**collection** | [**GeoCollection**](GeoCollection.md) | | +**collection** | [**GeoCollectionIdentifier**](GeoCollectionIdentifier.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/GeoCollectionIdentifier.md b/gooddata-api-client/docs/GeoCollectionIdentifier.md new file mode 100644 index 000000000..656be47bf --- /dev/null +++ b/gooddata-api-client/docs/GeoCollectionIdentifier.md @@ -0,0 +1,13 @@ +# GeoCollectionIdentifier + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Geo collection identifier. | +**kind** | **str** | Type of geo collection. | [optional] if omitted the server will use the default value of "STATIC" +**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/GeoJsonFeature.md b/gooddata-api-client/docs/GeoJsonFeature.md new file mode 100644 index 000000000..e0e445af5 --- /dev/null +++ b/gooddata-api-client/docs/GeoJsonFeature.md @@ -0,0 +1,16 @@ +# GeoJsonFeature + +GeoJSON Feature + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | **{str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}** | | +**type** | **str** | | +**geometry** | [**GeoJsonGeometry**](GeoJsonGeometry.md) | | [optional] +**id** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/GeoJsonFeatureCollection.md b/gooddata-api-client/docs/GeoJsonFeatureCollection.md new file mode 100644 index 000000000..0b4fe02fb --- /dev/null +++ b/gooddata-api-client/docs/GeoJsonFeatureCollection.md @@ -0,0 +1,15 @@ +# GeoJsonFeatureCollection + +GeoJSON FeatureCollection + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**features** | [**[GeoJsonFeature]**](GeoJsonFeature.md) | | +**type** | **str** | | +**bbox** | **[float]** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/GeoJsonGeometry.md b/gooddata-api-client/docs/GeoJsonGeometry.md new file mode 100644 index 000000000..819d7e321 --- /dev/null +++ b/gooddata-api-client/docs/GeoJsonGeometry.md @@ -0,0 +1,14 @@ +# GeoJsonGeometry + +GeoJSON Geometry + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**coordinates** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | +**type** | **str** | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/IdentityProvidersApi.md b/gooddata-api-client/docs/IdentityProvidersApi.md index d0712c4aa..7d24716ad 100644 --- a/gooddata-api-client/docs/IdentityProvidersApi.md +++ b/gooddata-api-client/docs/IdentityProvidersApi.md @@ -92,8 +92,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -244,7 +244,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -320,7 +320,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -485,8 +485,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -675,8 +675,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/ImportCsvRequest.md b/gooddata-api-client/docs/ImportCsvRequest.md new file mode 100644 index 000000000..318564eb2 --- /dev/null +++ b/gooddata-api-client/docs/ImportCsvRequest.md @@ -0,0 +1,13 @@ +# ImportCsvRequest + +Request containing the information necessary to import one or more CSV files from the staging area. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**tables** | [**[ImportCsvRequestTable]**](ImportCsvRequestTable.md) | Information about the individual tables. | +**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/ImportCsvRequestTable.md b/gooddata-api-client/docs/ImportCsvRequestTable.md new file mode 100644 index 000000000..aa5911c2c --- /dev/null +++ b/gooddata-api-client/docs/ImportCsvRequestTable.md @@ -0,0 +1,14 @@ +# ImportCsvRequestTable + +Information about a particular table. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | Name of the table. | +**source** | [**ImportCsvRequestTableSource**](ImportCsvRequestTableSource.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/ImportCsvRequestTableSource.md b/gooddata-api-client/docs/ImportCsvRequestTableSource.md new file mode 100644 index 000000000..72ad45115 --- /dev/null +++ b/gooddata-api-client/docs/ImportCsvRequestTableSource.md @@ -0,0 +1,14 @@ +# ImportCsvRequestTableSource + +Information about source data for a particular table. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**config** | [**ImportCsvRequestTableSourceConfig**](ImportCsvRequestTableSourceConfig.md) | | +**location** | **str** | Location of the data in the staging area. | +**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/ImportCsvRequestTableSourceConfig.md b/gooddata-api-client/docs/ImportCsvRequestTableSourceConfig.md new file mode 100644 index 000000000..48a9a5eba --- /dev/null +++ b/gooddata-api-client/docs/ImportCsvRequestTableSourceConfig.md @@ -0,0 +1,16 @@ +# ImportCsvRequestTableSourceConfig + +Config to use when accessing the data for executions, etc. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**column_date_formats** | **{str: (str,)}** | Date formats to use to use to read the given columns. | [optional] +**convert_options** | [**CsvConvertOptions**](CsvConvertOptions.md) | | [optional] +**parse_options** | [**CsvParseOptions**](CsvParseOptions.md) | | [optional] +**read_options** | [**CsvReadOptions**](CsvReadOptions.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/ImportCsvResponse.md b/gooddata-api-client/docs/ImportCsvResponse.md new file mode 100644 index 000000000..5c5aa4c58 --- /dev/null +++ b/gooddata-api-client/docs/ImportCsvResponse.md @@ -0,0 +1,14 @@ +# ImportCsvResponse + +Response containing the information about the imported CSV file. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | Name of the table the file was imported to. | +**version** | **int** | Version the file was imported as. | +**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/ImportGeoCollectionRequest.md b/gooddata-api-client/docs/ImportGeoCollectionRequest.md new file mode 100644 index 000000000..0e2746d31 --- /dev/null +++ b/gooddata-api-client/docs/ImportGeoCollectionRequest.md @@ -0,0 +1,13 @@ +# ImportGeoCollectionRequest + +Request to import a geo collection file from the staging area. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location** | **str** | Location of the file in the staging area. | +**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/ImportGeoCollectionResponse.md b/gooddata-api-client/docs/ImportGeoCollectionResponse.md new file mode 100644 index 000000000..9f657c194 --- /dev/null +++ b/gooddata-api-client/docs/ImportGeoCollectionResponse.md @@ -0,0 +1,13 @@ +# ImportGeoCollectionResponse + +Response after successfully importing a geo collection. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**version** | **int** | The version of the imported geo collection. | +**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/Invitation.md b/gooddata-api-client/docs/Invitation.md new file mode 100644 index 000000000..5a4962967 --- /dev/null +++ b/gooddata-api-client/docs/Invitation.md @@ -0,0 +1,16 @@ +# Invitation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**email** | **str** | | +**user_id** | **str** | | +**first_name** | **str** | | [optional] +**force_send** | **bool** | Force resend invitation email even if a pending invitation exists. Maximum 3 emails can be sent per invitation (1 initial + 2 resends) | [optional] +**last_name** | **str** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/JWKSApi.md b/gooddata-api-client/docs/JWKSApi.md index 1aec164d6..61dcfe193 100644 --- a/gooddata-api-client/docs/JWKSApi.md +++ b/gooddata-api-client/docs/JWKSApi.md @@ -76,8 +76,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -232,7 +232,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -310,7 +310,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -398,8 +398,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -487,8 +487,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/JsonApiAggregatedFactOutAttributes.md b/gooddata-api-client/docs/JsonApiAggregatedFactOutAttributes.md index 630fe92c7..f7054badb 100644 --- a/gooddata-api-client/docs/JsonApiAggregatedFactOutAttributes.md +++ b/gooddata-api-client/docs/JsonApiAggregatedFactOutAttributes.md @@ -7,6 +7,8 @@ Name | Type | Description | Notes **operation** | **str** | | **are_relations_valid** | **bool** | | [optional] **description** | **str** | | [optional] +**is_nullable** | **bool** | | [optional] +**null_value** | **str** | | [optional] **source_column** | **str** | | [optional] **source_column_data_type** | **str** | | [optional] **tags** | **[str]** | | [optional] diff --git a/gooddata-api-client/docs/JsonApiAttributeOutAttributes.md b/gooddata-api-client/docs/JsonApiAttributeOutAttributes.md index 77013b57d..c429e67d3 100644 --- a/gooddata-api-client/docs/JsonApiAttributeOutAttributes.md +++ b/gooddata-api-client/docs/JsonApiAttributeOutAttributes.md @@ -8,7 +8,9 @@ Name | Type | Description | Notes **description** | **str** | | [optional] **granularity** | **str** | | [optional] **is_hidden** | **bool** | | [optional] +**is_nullable** | **bool** | | [optional] **locale** | **str** | | [optional] +**null_value** | **str** | | [optional] **sort_column** | **str** | | [optional] **sort_direction** | **str** | | [optional] **source_column** | **str** | | [optional] diff --git a/gooddata-api-client/docs/JsonApiAttributePatchAttributes.md b/gooddata-api-client/docs/JsonApiAttributePatchAttributes.md index a191f4f3b..aa6df7f2a 100644 --- a/gooddata-api-client/docs/JsonApiAttributePatchAttributes.md +++ b/gooddata-api-client/docs/JsonApiAttributePatchAttributes.md @@ -5,7 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **str** | | [optional] -**locale** | **str** | | [optional] **tags** | **[str]** | | [optional] **title** | **str** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/gooddata-api-client/docs/JsonApiCustomGeoCollectionIn.md b/gooddata-api-client/docs/JsonApiCustomGeoCollectionIn.md new file mode 100644 index 000000000..ba4cdd2d6 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiCustomGeoCollectionIn.md @@ -0,0 +1,14 @@ +# JsonApiCustomGeoCollectionIn + +JSON:API representation of customGeoCollection entity. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | API identifier of an object | +**type** | **str** | Object type | defaults to "customGeoCollection" +**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/JsonApiCustomGeoCollectionInDocument.md b/gooddata-api-client/docs/JsonApiCustomGeoCollectionInDocument.md new file mode 100644 index 000000000..abffa6194 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiCustomGeoCollectionInDocument.md @@ -0,0 +1,12 @@ +# JsonApiCustomGeoCollectionInDocument + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**JsonApiCustomGeoCollectionIn**](JsonApiCustomGeoCollectionIn.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/JsonApiCustomGeoCollectionOut.md b/gooddata-api-client/docs/JsonApiCustomGeoCollectionOut.md new file mode 100644 index 000000000..734f0dd8b --- /dev/null +++ b/gooddata-api-client/docs/JsonApiCustomGeoCollectionOut.md @@ -0,0 +1,14 @@ +# JsonApiCustomGeoCollectionOut + +JSON:API representation of customGeoCollection entity. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | API identifier of an object | +**type** | **str** | Object type | defaults to "customGeoCollection" +**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/JsonApiCustomGeoCollectionOutDocument.md b/gooddata-api-client/docs/JsonApiCustomGeoCollectionOutDocument.md new file mode 100644 index 000000000..eddae4c1c --- /dev/null +++ b/gooddata-api-client/docs/JsonApiCustomGeoCollectionOutDocument.md @@ -0,0 +1,13 @@ +# JsonApiCustomGeoCollectionOutDocument + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**JsonApiCustomGeoCollectionOut**](JsonApiCustomGeoCollectionOut.md) | | +**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] + +[[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/JsonApiCustomGeoCollectionOutList.md b/gooddata-api-client/docs/JsonApiCustomGeoCollectionOutList.md new file mode 100644 index 000000000..68d726dc7 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiCustomGeoCollectionOutList.md @@ -0,0 +1,15 @@ +# JsonApiCustomGeoCollectionOutList + +A JSON:API document with a list of resources + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**[JsonApiCustomGeoCollectionOutWithLinks]**](JsonApiCustomGeoCollectionOutWithLinks.md) | | +**links** | [**ListLinks**](ListLinks.md) | | [optional] +**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.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/JsonApiCustomGeoCollectionOutWithLinks.md b/gooddata-api-client/docs/JsonApiCustomGeoCollectionOutWithLinks.md new file mode 100644 index 000000000..0c0ec5735 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiCustomGeoCollectionOutWithLinks.md @@ -0,0 +1,14 @@ +# JsonApiCustomGeoCollectionOutWithLinks + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | API identifier of an object | +**type** | **str** | Object type | defaults to "customGeoCollection" +**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] + +[[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/JsonApiCustomGeoCollectionPatch.md b/gooddata-api-client/docs/JsonApiCustomGeoCollectionPatch.md new file mode 100644 index 000000000..21d2d85fd --- /dev/null +++ b/gooddata-api-client/docs/JsonApiCustomGeoCollectionPatch.md @@ -0,0 +1,14 @@ +# JsonApiCustomGeoCollectionPatch + +JSON:API representation of patching customGeoCollection entity. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | API identifier of an object | +**type** | **str** | Object type | defaults to "customGeoCollection" +**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/JsonApiCustomGeoCollectionPatchDocument.md b/gooddata-api-client/docs/JsonApiCustomGeoCollectionPatchDocument.md new file mode 100644 index 000000000..7d47935e3 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiCustomGeoCollectionPatchDocument.md @@ -0,0 +1,12 @@ +# JsonApiCustomGeoCollectionPatchDocument + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**JsonApiCustomGeoCollectionPatch**](JsonApiCustomGeoCollectionPatch.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/JsonApiDataSourceInAttributes.md b/gooddata-api-client/docs/JsonApiDataSourceInAttributes.md index e93c33f5c..fac9f9c24 100644 --- a/gooddata-api-client/docs/JsonApiDataSourceInAttributes.md +++ b/gooddata-api-client/docs/JsonApiDataSourceInAttributes.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **name** | **str** | User-facing name of the data source. | **schema** | **str** | The schema to use as the root of the data for the data source. | **type** | **str** | Type of the database providing the data for the data source. | +**alternative_data_source_id** | **str, none_type** | Alternative data source ID. It is a weak reference meaning data source does not have to exist. All the entities (e.g. tables) from the data source must be available also in the alternative data source. It must be present in the same organization as the data source. | [optional] **cache_strategy** | **str, none_type** | Determines how the results coming from a particular datasource should be cached. | [optional] **client_id** | **str, none_type** | The client id to use to connect to the database providing the data for the data source (for example a Databricks Service Account). | [optional] **client_secret** | **str, none_type** | The client secret to use to connect to the database providing the data for the data source (for example a Databricks Service Account). | [optional] diff --git a/gooddata-api-client/docs/JsonApiDataSourceOutAttributes.md b/gooddata-api-client/docs/JsonApiDataSourceOutAttributes.md index 9c3cc73cb..fcd04df91 100644 --- a/gooddata-api-client/docs/JsonApiDataSourceOutAttributes.md +++ b/gooddata-api-client/docs/JsonApiDataSourceOutAttributes.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **name** | **str** | User-facing name of the data source. | **schema** | **str** | The schema to use as the root of the data for the data source. | **type** | **str** | Type of the database providing the data for the data source. | +**alternative_data_source_id** | **str, none_type** | Alternative data source ID. It is a weak reference meaning data source does not have to exist. All the entities (e.g. tables) from the data source must be available also in the alternative data source. It must be present in the same organization as the data source. | [optional] **authentication_type** | **str, none_type** | Type of authentication used to connect to the database. | [optional] **cache_strategy** | **str, none_type** | Determines how the results coming from a particular datasource should be cached. | [optional] **client_id** | **str, none_type** | The client id to use to connect to the database providing the data for the data source (for example a Databricks Service Account). | [optional] diff --git a/gooddata-api-client/docs/JsonApiDataSourcePatchAttributes.md b/gooddata-api-client/docs/JsonApiDataSourcePatchAttributes.md index 0ea1eb5f7..7e63cc089 100644 --- a/gooddata-api-client/docs/JsonApiDataSourcePatchAttributes.md +++ b/gooddata-api-client/docs/JsonApiDataSourcePatchAttributes.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**alternative_data_source_id** | **str, none_type** | Alternative data source ID. It is a weak reference meaning data source does not have to exist. All the entities (e.g. tables) from the data source must be available also in the alternative data source. It must be present in the same organization as the data source. | [optional] **cache_strategy** | **str, none_type** | Determines how the results coming from a particular datasource should be cached. | [optional] **client_id** | **str, none_type** | The client id to use to connect to the database providing the data for the data source (for example a Databricks Service Account). | [optional] **client_secret** | **str, none_type** | The client secret to use to connect to the database providing the data for the data source (for example a Databricks Service Account). | [optional] diff --git a/gooddata-api-client/docs/JsonApiDatasetPatch.md b/gooddata-api-client/docs/JsonApiDatasetPatch.md index e272d8143..b3d2abd36 100644 --- a/gooddata-api-client/docs/JsonApiDatasetPatch.md +++ b/gooddata-api-client/docs/JsonApiDatasetPatch.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "dataset" -**attributes** | [**JsonApiDatasetPatchAttributes**](JsonApiDatasetPatchAttributes.md) | | [optional] +**attributes** | [**JsonApiAttributePatchAttributes**](JsonApiAttributePatchAttributes.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/JsonApiFactOutAttributes.md b/gooddata-api-client/docs/JsonApiFactOutAttributes.md index f9832346a..c633fe5a6 100644 --- a/gooddata-api-client/docs/JsonApiFactOutAttributes.md +++ b/gooddata-api-client/docs/JsonApiFactOutAttributes.md @@ -7,6 +7,8 @@ Name | Type | Description | Notes **are_relations_valid** | **bool** | | [optional] **description** | **str** | | [optional] **is_hidden** | **bool** | | [optional] +**is_nullable** | **bool** | | [optional] +**null_value** | **str** | | [optional] **source_column** | **str** | | [optional] **source_column_data_type** | **str** | | [optional] **tags** | **[str]** | | [optional] diff --git a/gooddata-api-client/docs/JsonApiFactPatch.md b/gooddata-api-client/docs/JsonApiFactPatch.md index f8f46e020..28ddaddc5 100644 --- a/gooddata-api-client/docs/JsonApiFactPatch.md +++ b/gooddata-api-client/docs/JsonApiFactPatch.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "fact" -**attributes** | [**JsonApiDatasetPatchAttributes**](JsonApiDatasetPatchAttributes.md) | | [optional] +**attributes** | [**JsonApiAttributePatchAttributes**](JsonApiAttributePatchAttributes.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/JsonApiKnowledgeRecommendationIn.md b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationIn.md new file mode 100644 index 000000000..85ac1e208 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationIn.md @@ -0,0 +1,16 @@ +# JsonApiKnowledgeRecommendationIn + +JSON:API representation of knowledgeRecommendation entity. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiKnowledgeRecommendationInAttributes**](JsonApiKnowledgeRecommendationInAttributes.md) | | +**id** | **str** | API identifier of an object | +**relationships** | [**JsonApiKnowledgeRecommendationInRelationships**](JsonApiKnowledgeRecommendationInRelationships.md) | | +**type** | **str** | Object type | defaults to "knowledgeRecommendation" +**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/JsonApiKnowledgeRecommendationInAttributes.md b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationInAttributes.md new file mode 100644 index 000000000..f7bbe15ab --- /dev/null +++ b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationInAttributes.md @@ -0,0 +1,28 @@ +# JsonApiKnowledgeRecommendationInAttributes + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comparison_type** | **str** | Time period for comparison | +**direction** | **str** | Direction of the metric change | +**title** | **str** | Human-readable title for the recommendation, e.g. 'Revenue decreased vs last month' | +**analytical_dashboard_title** | **str** | Human-readable title of the analytical dashboard (denormalized for display) | [optional] +**analyzed_period** | **str** | Analyzed time period (e.g., '2023-07' or 'July 2023') | [optional] +**analyzed_value** | **bool, date, datetime, dict, float, int, list, str, none_type** | Metric value in the analyzed period (the observed value that triggered the anomaly) | [optional] +**are_relations_valid** | **bool** | | [optional] +**confidence** | **bool, date, datetime, dict, float, int, list, str, none_type** | Confidence score (0.0 to 1.0) | [optional] +**description** | **str** | Description of the recommendation | [optional] +**metric_title** | **str** | Human-readable title of the metric (denormalized for display) | [optional] +**recommendations** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Structured recommendations data as JSON | [optional] +**reference_period** | **str** | Reference time period for comparison (e.g., '2023-06' or 'Jun 2023') | [optional] +**reference_value** | **bool, date, datetime, dict, float, int, list, str, none_type** | Metric value in the reference period | [optional] +**source_count** | **int** | Number of source documents used for generation | [optional] +**tags** | **[str]** | | [optional] +**widget_id** | **str** | ID of the widget where the anomaly was detected | [optional] +**widget_name** | **str** | Name of the widget where the anomaly was detected | [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/JsonApiKnowledgeRecommendationInDocument.md b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationInDocument.md new file mode 100644 index 000000000..dcfd2ba9f --- /dev/null +++ b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationInDocument.md @@ -0,0 +1,12 @@ +# JsonApiKnowledgeRecommendationInDocument + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**JsonApiKnowledgeRecommendationIn**](JsonApiKnowledgeRecommendationIn.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/JsonApiKnowledgeRecommendationInRelationships.md b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationInRelationships.md new file mode 100644 index 000000000..797d83fd1 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationInRelationships.md @@ -0,0 +1,13 @@ +# JsonApiKnowledgeRecommendationInRelationships + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**metric** | [**JsonApiKnowledgeRecommendationInRelationshipsMetric**](JsonApiKnowledgeRecommendationInRelationshipsMetric.md) | | +**analytical_dashboard** | [**JsonApiAutomationInRelationshipsAnalyticalDashboard**](JsonApiAutomationInRelationshipsAnalyticalDashboard.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/JsonApiKnowledgeRecommendationInRelationshipsMetric.md b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationInRelationshipsMetric.md new file mode 100644 index 000000000..fef96e3bc --- /dev/null +++ b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationInRelationshipsMetric.md @@ -0,0 +1,12 @@ +# JsonApiKnowledgeRecommendationInRelationshipsMetric + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**JsonApiMetricToOneLinkage**](JsonApiMetricToOneLinkage.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/JsonApiKnowledgeRecommendationOut.md b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationOut.md new file mode 100644 index 000000000..ee6f0264c --- /dev/null +++ b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationOut.md @@ -0,0 +1,17 @@ +# JsonApiKnowledgeRecommendationOut + +JSON:API representation of knowledgeRecommendation entity. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiKnowledgeRecommendationOutAttributes**](JsonApiKnowledgeRecommendationOutAttributes.md) | | +**id** | **str** | API identifier of an object | +**type** | **str** | Object type | defaults to "knowledgeRecommendation" +**meta** | [**JsonApiAggregatedFactOutMeta**](JsonApiAggregatedFactOutMeta.md) | | [optional] +**relationships** | [**JsonApiKnowledgeRecommendationOutRelationships**](JsonApiKnowledgeRecommendationOutRelationships.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/JsonApiKnowledgeRecommendationOutAttributes.md b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationOutAttributes.md new file mode 100644 index 000000000..8bf5aaac4 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationOutAttributes.md @@ -0,0 +1,29 @@ +# JsonApiKnowledgeRecommendationOutAttributes + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comparison_type** | **str** | Time period for comparison | +**direction** | **str** | Direction of the metric change | +**title** | **str** | Human-readable title for the recommendation, e.g. 'Revenue decreased vs last month' | +**analytical_dashboard_title** | **str** | Human-readable title of the analytical dashboard (denormalized for display) | [optional] +**analyzed_period** | **str** | Analyzed time period (e.g., '2023-07' or 'July 2023') | [optional] +**analyzed_value** | **bool, date, datetime, dict, float, int, list, str, none_type** | Metric value in the analyzed period (the observed value that triggered the anomaly) | [optional] +**are_relations_valid** | **bool** | | [optional] +**confidence** | **bool, date, datetime, dict, float, int, list, str, none_type** | Confidence score (0.0 to 1.0) | [optional] +**created_at** | **datetime** | | [optional] +**description** | **str** | Description of the recommendation | [optional] +**metric_title** | **str** | Human-readable title of the metric (denormalized for display) | [optional] +**recommendations** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Structured recommendations data as JSON | [optional] +**reference_period** | **str** | Reference time period for comparison (e.g., '2023-06' or 'Jun 2023') | [optional] +**reference_value** | **bool, date, datetime, dict, float, int, list, str, none_type** | Metric value in the reference period | [optional] +**source_count** | **int** | Number of source documents used for generation | [optional] +**tags** | **[str]** | | [optional] +**widget_id** | **str** | ID of the widget where the anomaly was detected | [optional] +**widget_name** | **str** | Name of the widget where the anomaly was detected | [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/JsonApiKnowledgeRecommendationOutDocument.md b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationOutDocument.md new file mode 100644 index 000000000..2dffd6951 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationOutDocument.md @@ -0,0 +1,14 @@ +# JsonApiKnowledgeRecommendationOutDocument + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**JsonApiKnowledgeRecommendationOut**](JsonApiKnowledgeRecommendationOut.md) | | +**included** | [**[JsonApiKnowledgeRecommendationOutIncludes]**](JsonApiKnowledgeRecommendationOutIncludes.md) | Included resources | [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] + +[[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/JsonApiKnowledgeRecommendationOutIncludes.md b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationOutIncludes.md new file mode 100644 index 000000000..4fda5a85d --- /dev/null +++ b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationOutIncludes.md @@ -0,0 +1,17 @@ +# JsonApiKnowledgeRecommendationOutIncludes + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**meta** | [**JsonApiAnalyticalDashboardOutMeta**](JsonApiAnalyticalDashboardOutMeta.md) | | [optional] +**relationships** | [**JsonApiAnalyticalDashboardOutRelationships**](JsonApiAnalyticalDashboardOutRelationships.md) | | [optional] +**links** | [**ObjectLinks**](ObjectLinks.md) | | [optional] +**attributes** | [**JsonApiAnalyticalDashboardOutAttributes**](JsonApiAnalyticalDashboardOutAttributes.md) | | [optional] +**id** | **str** | API identifier of an object | [optional] +**type** | **str** | Object type | [optional] if omitted the server will use the default value of "analyticalDashboard" +**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/JsonApiKnowledgeRecommendationOutList.md b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationOutList.md new file mode 100644 index 000000000..93703226c --- /dev/null +++ b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationOutList.md @@ -0,0 +1,16 @@ +# JsonApiKnowledgeRecommendationOutList + +A JSON:API document with a list of resources + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**[JsonApiKnowledgeRecommendationOutWithLinks]**](JsonApiKnowledgeRecommendationOutWithLinks.md) | | +**included** | [**[JsonApiKnowledgeRecommendationOutIncludes]**](JsonApiKnowledgeRecommendationOutIncludes.md) | Included resources | [optional] +**links** | [**ListLinks**](ListLinks.md) | | [optional] +**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.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/JsonApiKnowledgeRecommendationOutRelationships.md b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationOutRelationships.md new file mode 100644 index 000000000..ba80ab80f --- /dev/null +++ b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationOutRelationships.md @@ -0,0 +1,13 @@ +# JsonApiKnowledgeRecommendationOutRelationships + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**analytical_dashboard** | [**JsonApiAutomationInRelationshipsAnalyticalDashboard**](JsonApiAutomationInRelationshipsAnalyticalDashboard.md) | | [optional] +**metric** | [**JsonApiKnowledgeRecommendationInRelationshipsMetric**](JsonApiKnowledgeRecommendationInRelationshipsMetric.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/JsonApiKnowledgeRecommendationOutWithLinks.md b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationOutWithLinks.md new file mode 100644 index 000000000..ae6a9f048 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationOutWithLinks.md @@ -0,0 +1,17 @@ +# JsonApiKnowledgeRecommendationOutWithLinks + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiKnowledgeRecommendationOutAttributes**](JsonApiKnowledgeRecommendationOutAttributes.md) | | +**id** | **str** | API identifier of an object | +**type** | **str** | Object type | defaults to "knowledgeRecommendation" +**meta** | [**JsonApiAggregatedFactOutMeta**](JsonApiAggregatedFactOutMeta.md) | | [optional] +**relationships** | [**JsonApiKnowledgeRecommendationOutRelationships**](JsonApiKnowledgeRecommendationOutRelationships.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] + +[[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/JsonApiKnowledgeRecommendationPatch.md b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationPatch.md new file mode 100644 index 000000000..c090eb157 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationPatch.md @@ -0,0 +1,16 @@ +# JsonApiKnowledgeRecommendationPatch + +JSON:API representation of patching knowledgeRecommendation entity. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiKnowledgeRecommendationPatchAttributes**](JsonApiKnowledgeRecommendationPatchAttributes.md) | | +**id** | **str** | API identifier of an object | +**relationships** | [**JsonApiKnowledgeRecommendationOutRelationships**](JsonApiKnowledgeRecommendationOutRelationships.md) | | +**type** | **str** | Object type | defaults to "knowledgeRecommendation" +**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/JsonApiKnowledgeRecommendationPatchAttributes.md b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationPatchAttributes.md new file mode 100644 index 000000000..c438e4acb --- /dev/null +++ b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationPatchAttributes.md @@ -0,0 +1,28 @@ +# JsonApiKnowledgeRecommendationPatchAttributes + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**analytical_dashboard_title** | **str** | Human-readable title of the analytical dashboard (denormalized for display) | [optional] +**analyzed_period** | **str** | Analyzed time period (e.g., '2023-07' or 'July 2023') | [optional] +**analyzed_value** | **bool, date, datetime, dict, float, int, list, str, none_type** | Metric value in the analyzed period (the observed value that triggered the anomaly) | [optional] +**are_relations_valid** | **bool** | | [optional] +**comparison_type** | **str** | Time period for comparison | [optional] +**confidence** | **bool, date, datetime, dict, float, int, list, str, none_type** | Confidence score (0.0 to 1.0) | [optional] +**description** | **str** | Description of the recommendation | [optional] +**direction** | **str** | Direction of the metric change | [optional] +**metric_title** | **str** | Human-readable title of the metric (denormalized for display) | [optional] +**recommendations** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Structured recommendations data as JSON | [optional] +**reference_period** | **str** | Reference time period for comparison (e.g., '2023-06' or 'Jun 2023') | [optional] +**reference_value** | **bool, date, datetime, dict, float, int, list, str, none_type** | Metric value in the reference period | [optional] +**source_count** | **int** | Number of source documents used for generation | [optional] +**tags** | **[str]** | | [optional] +**title** | **str** | Human-readable title for the recommendation, e.g. 'Revenue decreased vs last month' | [optional] +**widget_id** | **str** | ID of the widget where the anomaly was detected | [optional] +**widget_name** | **str** | Name of the widget where the anomaly was detected | [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/JsonApiKnowledgeRecommendationPatchDocument.md b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationPatchDocument.md new file mode 100644 index 000000000..d7aeb4191 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationPatchDocument.md @@ -0,0 +1,12 @@ +# JsonApiKnowledgeRecommendationPatchDocument + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**JsonApiKnowledgeRecommendationPatch**](JsonApiKnowledgeRecommendationPatch.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/JsonApiKnowledgeRecommendationPostOptionalId.md b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationPostOptionalId.md new file mode 100644 index 000000000..7f8fe43cd --- /dev/null +++ b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationPostOptionalId.md @@ -0,0 +1,16 @@ +# JsonApiKnowledgeRecommendationPostOptionalId + +JSON:API representation of knowledgeRecommendation entity. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiKnowledgeRecommendationInAttributes**](JsonApiKnowledgeRecommendationInAttributes.md) | | +**relationships** | [**JsonApiKnowledgeRecommendationInRelationships**](JsonApiKnowledgeRecommendationInRelationships.md) | | +**type** | **str** | Object type | defaults to "knowledgeRecommendation" +**id** | **str** | API identifier of an object | [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/JsonApiKnowledgeRecommendationPostOptionalIdDocument.md b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationPostOptionalIdDocument.md new file mode 100644 index 000000000..7e6c521fd --- /dev/null +++ b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationPostOptionalIdDocument.md @@ -0,0 +1,12 @@ +# JsonApiKnowledgeRecommendationPostOptionalIdDocument + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**JsonApiKnowledgeRecommendationPostOptionalId**](JsonApiKnowledgeRecommendationPostOptionalId.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/JsonApiLabelOutAttributes.md b/gooddata-api-client/docs/JsonApiLabelOutAttributes.md index 262c5b6d1..58ca9f48f 100644 --- a/gooddata-api-client/docs/JsonApiLabelOutAttributes.md +++ b/gooddata-api-client/docs/JsonApiLabelOutAttributes.md @@ -8,7 +8,9 @@ Name | Type | Description | Notes **description** | **str** | | [optional] **geo_area_config** | [**JsonApiLabelOutAttributesGeoAreaConfig**](JsonApiLabelOutAttributesGeoAreaConfig.md) | | [optional] **is_hidden** | **bool** | | [optional] +**is_nullable** | **bool** | | [optional] **locale** | **str** | | [optional] +**null_value** | **str** | | [optional] **primary** | **bool** | | [optional] **source_column** | **str** | | [optional] **source_column_data_type** | **str** | | [optional] diff --git a/gooddata-api-client/docs/JsonApiLabelOutAttributesGeoAreaConfig.md b/gooddata-api-client/docs/JsonApiLabelOutAttributesGeoAreaConfig.md index c5dd4e44f..4e5852961 100644 --- a/gooddata-api-client/docs/JsonApiLabelOutAttributesGeoAreaConfig.md +++ b/gooddata-api-client/docs/JsonApiLabelOutAttributesGeoAreaConfig.md @@ -5,7 +5,7 @@ Configuration specific to geo area labels. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**collection** | [**GeoCollection**](GeoCollection.md) | | +**collection** | [**GeoCollectionIdentifier**](GeoCollectionIdentifier.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/JsonApiLabelPatch.md b/gooddata-api-client/docs/JsonApiLabelPatch.md index b5ea92cdd..6ae8bbf2d 100644 --- a/gooddata-api-client/docs/JsonApiLabelPatch.md +++ b/gooddata-api-client/docs/JsonApiLabelPatch.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "label" -**attributes** | [**JsonApiLabelPatchAttributes**](JsonApiLabelPatchAttributes.md) | | [optional] +**attributes** | [**JsonApiAttributePatchAttributes**](JsonApiAttributePatchAttributes.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/JsonApiMetricInAttributesContent.md b/gooddata-api-client/docs/JsonApiMetricInAttributesContent.md index 636214f6e..62406b377 100644 --- a/gooddata-api-client/docs/JsonApiMetricInAttributesContent.md +++ b/gooddata-api-client/docs/JsonApiMetricInAttributesContent.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **maql** | **str** | | -**format** | **str** | | [optional] +**format** | **str, none_type** | Excel-like format string with optional dynamic tokens. Filter value tokens: [$FILTER:<label_id>] for raw filter value passthrough. Currency tokens: [$CURRENCY:<label_id>] for currency symbol, with optional forms :symbol, :narrow, :code, :name. Locale abbreviations: [$K], [$M], [$B], [$T] for locale-specific scale abbreviations. Tokens are resolved at execution time based on AFM filters and user's format locale. Single-value filters only; multi-value filters use fallback values. | [optional] **metric_type** | **str** | Categorizes metric semantics (e.g., currency). | [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/JsonApiMetricToOneLinkage.md b/gooddata-api-client/docs/JsonApiMetricToOneLinkage.md new file mode 100644 index 000000000..88f1a3b8f --- /dev/null +++ b/gooddata-api-client/docs/JsonApiMetricToOneLinkage.md @@ -0,0 +1,14 @@ +# JsonApiMetricToOneLinkage + +References to other resource objects in a to-one (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] +**type** | **str** | | [optional] if omitted the server will use the default value of "metric" +**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/JsonApiNotificationChannelInAttributesDestination.md b/gooddata-api-client/docs/JsonApiNotificationChannelInAttributesDestination.md index a80927804..d7605f6ac 100644 --- a/gooddata-api-client/docs/JsonApiNotificationChannelInAttributesDestination.md +++ b/gooddata-api-client/docs/JsonApiNotificationChannelInAttributesDestination.md @@ -11,7 +11,9 @@ Name | Type | Description | Notes **password** | **str** | The SMTP server password. | [optional] **port** | **int** | The SMTP server port. | [optional] **username** | **str** | The SMTP server username. | [optional] +**has_secret_key** | **bool, none_type** | Flag indicating if webhook has a hmac secret key. | [optional] [readonly] **has_token** | **bool, none_type** | Flag indicating if webhook has a token. | [optional] [readonly] +**secret_key** | **str, none_type** | Hmac secret key for the webhook signature. | [optional] **token** | **str, none_type** | Bearer token for the webhook. | [optional] **url** | **str** | The webhook URL. | [optional] **type** | **str** | The destination type. | [optional] if omitted the server will use the default value of "WEBHOOK" diff --git a/gooddata-api-client/docs/LDMDeclarativeAPIsApi.md b/gooddata-api-client/docs/LDMDeclarativeAPIsApi.md index b8f611bf0..ff0a51fe0 100644 --- a/gooddata-api-client/docs/LDMDeclarativeAPIsApi.md +++ b/gooddata-api-client/docs/LDMDeclarativeAPIsApi.md @@ -137,6 +137,8 @@ with gooddata_api_client.ApiClient() as api_client: DeclarativeAggregatedFact( description="A number of orders created by the customer - including all orders, even the non-delivered ones.", id="fact.customer_order_count", + is_nullable=False, + null_value="0", source_column="customer_order_count", source_column_data_type="NUMERIC", source_fact_reference=DeclarativeSourceFactReference( @@ -158,17 +160,21 @@ with gooddata_api_client.ApiClient() as api_client: description="Customer name including first and last name.", id="attr.customers.customer_name", is_hidden=False, + is_nullable=False, labels=[ DeclarativeLabel( description="Customer name", geo_area_config=GeoAreaConfig( - collection=GeoCollection( + collection=GeoCollectionIdentifier( id="id_example", + kind="STATIC", ), ), id="label.customer_name", is_hidden=False, + is_nullable=False, locale="en-US", + null_value="empty_value", source_column="customer_name", source_column_data_type="STRING", tags=["Customers"], @@ -183,6 +189,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ], locale="en-US", + null_value="empty_value", sort_column="customer_name", sort_direction="ASC" | "DESC", source_column="customer_name", @@ -203,6 +210,8 @@ with gooddata_api_client.ApiClient() as api_client: description="A number of orders created by the customer - including all orders, even the non-delivered ones.", id="fact.customer_order_count", is_hidden=False, + is_nullable=False, + null_value="0", source_column="customer_order_count", source_column_data_type="NUMERIC", tags=["Customers"], @@ -232,6 +241,8 @@ with gooddata_api_client.ApiClient() as api_client: DeclarativeReferenceSource( column="customer_id", data_type="STRING", + is_nullable=False, + null_value="empty_value", target=GrainIdentifier( id="attr.customers.customer_name", type="ATTRIBUTE", diff --git a/gooddata-api-client/docs/LLMEndpointsApi.md b/gooddata-api-client/docs/LLMEndpointsApi.md index 6763be615..31a56d9d6 100644 --- a/gooddata-api-client/docs/LLMEndpointsApi.md +++ b/gooddata-api-client/docs/LLMEndpointsApi.md @@ -79,8 +79,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -229,7 +229,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -305,7 +305,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -396,8 +396,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -488,8 +488,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/LabelsApi.md b/gooddata-api-client/docs/LabelsApi.md index 58bc99708..9f2a98ae2 100644 --- a/gooddata-api-client/docs/LabelsApi.md +++ b/gooddata-api-client/docs/LabelsApi.md @@ -7,6 +7,7 @@ Method | HTTP request | Description [**get_all_entities_labels**](LabelsApi.md#get_all_entities_labels) | **GET** /api/v1/entities/workspaces/{workspaceId}/labels | Get all Labels [**get_entity_labels**](LabelsApi.md#get_entity_labels) | **GET** /api/v1/entities/workspaces/{workspaceId}/labels/{objectId} | Get a Label [**patch_entity_labels**](LabelsApi.md#patch_entity_labels) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/labels/{objectId} | Patch a Label (beta) +[**search_entities_labels**](LabelsApi.md#search_entities_labels) | **POST** /api/v1/entities/workspaces/{workspaceId}/labels/search | Search request for Label # **get_all_entities_labels** @@ -94,7 +95,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -182,7 +183,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -223,19 +224,12 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | json_api_label_patch_document = JsonApiLabelPatchDocument( data=JsonApiLabelPatch( - attributes=JsonApiLabelPatchAttributes( + attributes=JsonApiAttributePatchAttributes( description="description_example", - locale="locale_example", tags=[ "tags_example", ], title="title_example", - translations=[ - JsonApiLabelOutAttributesTranslationsInner( - locale="locale_example", - source_column="source_column_example", - ), - ], ), id="id1", type="label", @@ -285,8 +279,107 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_labels** +> JsonApiLabelOutList search_entities_labels(workspace_id, entity_search_body) + +Search request for Label + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import labels_api +from gooddata_api_client.model.json_api_label_out_list import JsonApiLabelOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = labels_api.LabelsApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for Label + api_response = api_instance.search_entities_labels(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling LabelsApi->search_entities_labels: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for Label + api_response = api_instance.search_entities_labels(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling LabelsApi->search_entities_labels: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiLabelOutList**](JsonApiLabelOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/LiveFeatureFlagConfiguration.md b/gooddata-api-client/docs/LiveFeatureFlagConfiguration.md new file mode 100644 index 000000000..6088380f4 --- /dev/null +++ b/gooddata-api-client/docs/LiveFeatureFlagConfiguration.md @@ -0,0 +1,13 @@ +# LiveFeatureFlagConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**host** | **str** | | +**key** | **str** | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/LiveFeatures.md b/gooddata-api-client/docs/LiveFeatures.md new file mode 100644 index 000000000..3a889cd77 --- /dev/null +++ b/gooddata-api-client/docs/LiveFeatures.md @@ -0,0 +1,13 @@ +# LiveFeatures + +Structure for featureHub + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**live** | [**LiveFeaturesLive**](LiveFeaturesLive.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/LiveFeaturesLive.md b/gooddata-api-client/docs/LiveFeaturesLive.md new file mode 100644 index 000000000..cac35f7ef --- /dev/null +++ b/gooddata-api-client/docs/LiveFeaturesLive.md @@ -0,0 +1,13 @@ +# LiveFeaturesLive + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**context** | [**FeatureFlagsContext**](FeatureFlagsContext.md) | | +**configuration** | [**LiveFeatureFlagConfiguration**](LiveFeatureFlagConfiguration.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/LiveFeaturesLiveAllOf.md b/gooddata-api-client/docs/LiveFeaturesLiveAllOf.md new file mode 100644 index 000000000..1d5381d8d --- /dev/null +++ b/gooddata-api-client/docs/LiveFeaturesLiveAllOf.md @@ -0,0 +1,12 @@ +# LiveFeaturesLiveAllOf + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**configuration** | [**LiveFeatureFlagConfiguration**](LiveFeatureFlagConfiguration.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/MatomoService.md b/gooddata-api-client/docs/MatomoService.md new file mode 100644 index 000000000..e490866a4 --- /dev/null +++ b/gooddata-api-client/docs/MatomoService.md @@ -0,0 +1,15 @@ +# MatomoService + +Matomo service. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**host** | **str** | Telemetry host to send events to. | +**site_id** | **int** | Site ID on telemetry server. | +**reporting_endpoint** | **str** | Optional reporting endpoint for proxying telemetry events. | [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/MeasureValueCondition.md b/gooddata-api-client/docs/MeasureValueCondition.md new file mode 100644 index 000000000..6aaa87d52 --- /dev/null +++ b/gooddata-api-client/docs/MeasureValueCondition.md @@ -0,0 +1,14 @@ +# MeasureValueCondition + +A condition for filtering by measure value. Can be either a comparison or a range condition. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comparison** | [**ComparisonConditionComparison**](ComparisonConditionComparison.md) | | [optional] +**range** | [**RangeConditionRange**](RangeConditionRange.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/MeasureValueFilter.md b/gooddata-api-client/docs/MeasureValueFilter.md index 9b770dde1..16d540b74 100644 --- a/gooddata-api-client/docs/MeasureValueFilter.md +++ b/gooddata-api-client/docs/MeasureValueFilter.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **comparison_measure_value_filter** | [**ComparisonMeasureValueFilterComparisonMeasureValueFilter**](ComparisonMeasureValueFilterComparisonMeasureValueFilter.md) | | [optional] **range_measure_value_filter** | [**RangeMeasureValueFilterRangeMeasureValueFilter**](RangeMeasureValueFilterRangeMeasureValueFilter.md) | | [optional] +**compound_measure_value_filter** | [**CompoundMeasureValueFilterCompoundMeasureValueFilter**](CompoundMeasureValueFilterCompoundMeasureValueFilter.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/MetricsApi.md b/gooddata-api-client/docs/MetricsApi.md index a10740638..ff47ac96b 100644 --- a/gooddata-api-client/docs/MetricsApi.md +++ b/gooddata-api-client/docs/MetricsApi.md @@ -9,6 +9,7 @@ Method | HTTP request | Description [**get_all_entities_metrics**](MetricsApi.md#get_all_entities_metrics) | **GET** /api/v1/entities/workspaces/{workspaceId}/metrics | Get all Metrics [**get_entity_metrics**](MetricsApi.md#get_entity_metrics) | **GET** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Get a Metric [**patch_entity_metrics**](MetricsApi.md#patch_entity_metrics) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Patch a Metric +[**search_entities_metrics**](MetricsApi.md#search_entities_metrics) | **POST** /api/v1/entities/workspaces/{workspaceId}/metrics/search | Search request for Metric [**update_entity_metrics**](MetricsApi.md#update_entity_metrics) | **PUT** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Put a Metric @@ -104,8 +105,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -276,7 +277,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -364,7 +365,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -467,8 +468,107 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_metrics** +> JsonApiMetricOutList search_entities_metrics(workspace_id, entity_search_body) + +Search request for Metric + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import metrics_api +from gooddata_api_client.model.json_api_metric_out_list import JsonApiMetricOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = metrics_api.MetricsApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for Metric + api_response = api_instance.search_entities_metrics(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling MetricsApi->search_entities_metrics: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for Metric + api_response = api_instance.search_entities_metrics(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling MetricsApi->search_entities_metrics: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiMetricOutList**](JsonApiMetricOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -571,8 +671,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/Notes.md b/gooddata-api-client/docs/Notes.md index eff8235b9..3ed862a5b 100644 --- a/gooddata-api-client/docs/Notes.md +++ b/gooddata-api-client/docs/Notes.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**note** | [**[Note]**](Note.md) | | [optional] +**note** | [**[Note]**](Note.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/NotificationChannelDestination.md b/gooddata-api-client/docs/NotificationChannelDestination.md index 7bf38f616..4b7b60f3c 100644 --- a/gooddata-api-client/docs/NotificationChannelDestination.md +++ b/gooddata-api-client/docs/NotificationChannelDestination.md @@ -5,7 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **str** | | +**has_secret_key** | **bool, none_type** | Flag indicating if webhook has a hmac secret key. | [optional] [readonly] **has_token** | **bool, none_type** | Flag indicating if webhook has a token. | [optional] [readonly] +**secret_key** | **str, none_type** | Hmac secret key for the webhook signature. | [optional] **token** | **str, none_type** | Bearer token for the webhook. | [optional] **url** | **str** | The webhook URL. | [optional] **from_email** | **str** | E-mail address to send notifications from. Currently this does not have any effect. E-mail 'no-reply@gooddata.com' is used instead. | [optional] if omitted the server will use the default value of no-reply@gooddata.com diff --git a/gooddata-api-client/docs/NotificationChannelsApi.md b/gooddata-api-client/docs/NotificationChannelsApi.md index 6f7aaf0f9..d5b2af631 100644 --- a/gooddata-api-client/docs/NotificationChannelsApi.md +++ b/gooddata-api-client/docs/NotificationChannelsApi.md @@ -92,8 +92,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -243,7 +243,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -321,7 +321,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -395,7 +395,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -471,7 +471,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -899,8 +899,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -1374,8 +1374,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/OpenTelemetryService.md b/gooddata-api-client/docs/OpenTelemetryService.md new file mode 100644 index 000000000..4e95b3833 --- /dev/null +++ b/gooddata-api-client/docs/OpenTelemetryService.md @@ -0,0 +1,13 @@ +# OpenTelemetryService + +OpenTelemetry service. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**host** | **str** | Telemetry host to send events to. | +**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/OrganizationCacheSettings.md b/gooddata-api-client/docs/OrganizationCacheSettings.md new file mode 100644 index 000000000..56159c965 --- /dev/null +++ b/gooddata-api-client/docs/OrganizationCacheSettings.md @@ -0,0 +1,13 @@ +# OrganizationCacheSettings + +Settings for organization cache. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**extra_cache_budget** | **int** | Extra cache budget the organization can allocate among its workspaces, in bytes. | +**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/OrganizationCacheUsage.md b/gooddata-api-client/docs/OrganizationCacheUsage.md new file mode 100644 index 000000000..4263bbe07 --- /dev/null +++ b/gooddata-api-client/docs/OrganizationCacheUsage.md @@ -0,0 +1,15 @@ +# OrganizationCacheUsage + +Data about the whole organization's cache usage. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**current** | [**OrganizationCurrentCacheUsage**](OrganizationCurrentCacheUsage.md) | | +**removal_intervals** | [**[CacheRemovalInterval]**](CacheRemovalInterval.md) | List of cache removal intervals. | +**settings** | [**OrganizationCacheSettings**](OrganizationCacheSettings.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/OrganizationCurrentCacheUsage.md b/gooddata-api-client/docs/OrganizationCurrentCacheUsage.md new file mode 100644 index 000000000..edef8764f --- /dev/null +++ b/gooddata-api-client/docs/OrganizationCurrentCacheUsage.md @@ -0,0 +1,15 @@ +# OrganizationCurrentCacheUsage + +Current cache usage of the organization. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cache_used** | **int** | Cache currently used by the organization, in bytes. | +**removed_since_start** | **int** | Bytes removed since start due to insufficient cache. | +**removal_period_start** | **datetime** | Start timestamp of removal period. | [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/OrganizationDeclarativeAPIsApi.md b/gooddata-api-client/docs/OrganizationDeclarativeAPIsApi.md index 3f1218101..ed2069403 100644 --- a/gooddata-api-client/docs/OrganizationDeclarativeAPIsApi.md +++ b/gooddata-api-client/docs/OrganizationDeclarativeAPIsApi.md @@ -4,10 +4,75 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- +[**get_custom_geo_collections_layout**](OrganizationDeclarativeAPIsApi.md#get_custom_geo_collections_layout) | **GET** /api/v1/layout/customGeoCollections | Get all custom geo collections layout [**get_organization_layout**](OrganizationDeclarativeAPIsApi.md#get_organization_layout) | **GET** /api/v1/layout/organization | Get organization layout +[**set_custom_geo_collections**](OrganizationDeclarativeAPIsApi.md#set_custom_geo_collections) | **PUT** /api/v1/layout/customGeoCollections | Set all custom geo collections [**set_organization_layout**](OrganizationDeclarativeAPIsApi.md#set_organization_layout) | **PUT** /api/v1/layout/organization | Set organization layout +# **get_custom_geo_collections_layout** +> DeclarativeCustomGeoCollections get_custom_geo_collections_layout() + +Get all custom geo collections layout + +Gets complete layout of custom geo collections. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import organization_declarative_apis_api +from gooddata_api_client.model.declarative_custom_geo_collections import DeclarativeCustomGeoCollections +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = organization_declarative_apis_api.OrganizationDeclarativeAPIsApi(api_client) + + # example, this endpoint has no required or optional parameters + try: + # Get all custom geo collections layout + api_response = api_instance.get_custom_geo_collections_layout() + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OrganizationDeclarativeAPIsApi->get_custom_geo_collections_layout: %s\n" % e) +``` + + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**DeclarativeCustomGeoCollections**](DeclarativeCustomGeoCollections.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Retrieved layout of all custom geo collections. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_organization_layout** > DeclarativeOrganization get_organization_layout() @@ -78,6 +143,78 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **set_custom_geo_collections** +> set_custom_geo_collections(declarative_custom_geo_collections) + +Set all custom geo collections + +Sets custom geo collections in organization. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import organization_declarative_apis_api +from gooddata_api_client.model.declarative_custom_geo_collections import DeclarativeCustomGeoCollections +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = organization_declarative_apis_api.OrganizationDeclarativeAPIsApi(api_client) + declarative_custom_geo_collections = DeclarativeCustomGeoCollections( + custom_geo_collections=[ + DeclarativeCustomGeoCollection( + id="my-geo-collection", + ), + ], + ) # DeclarativeCustomGeoCollections | + + # example passing only required values which don't have defaults set + try: + # Set all custom geo collections + api_instance.set_custom_geo_collections(declarative_custom_geo_collections) + except gooddata_api_client.ApiException as e: + print("Exception when calling OrganizationDeclarativeAPIsApi->set_custom_geo_collections: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **declarative_custom_geo_collections** | [**DeclarativeCustomGeoCollections**](DeclarativeCustomGeoCollections.md)| | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | All custom geo collections set. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **set_organization_layout** > set_organization_layout(declarative_organization) @@ -106,8 +243,14 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = organization_declarative_apis_api.OrganizationDeclarativeAPIsApi(api_client) declarative_organization = DeclarativeOrganization( + custom_geo_collections=[ + DeclarativeCustomGeoCollection( + id="my-geo-collection", + ), + ], data_sources=[ DeclarativeDataSource( + alternative_data_source_id="pg_local_docker-demo2", authentication_type="USERNAME_PASSWORD", cache_strategy="ALWAYS", client_id="client1234", @@ -491,7 +634,16 @@ with gooddata_api_client.ApiClient() as api_client: ), ), ], - metadata=AutomationMetadata(), + metadata=AutomationMetadata( + visible_filters=[ + VisibleFilter( + is_all_time_date_filter=False, + local_identifier="local_identifier_example", + title="title_example", + ), + ], + widget="widget_example", + ), modified_at="2023-07-20 12:30", modified_by=DeclarativeUserIdentifier( id="employee123", @@ -858,6 +1010,8 @@ with gooddata_api_client.ApiClient() as api_client: DeclarativeAggregatedFact( description="A number of orders created by the customer - including all orders, even the non-delivered ones.", id="fact.customer_order_count", + is_nullable=False, + null_value="0", source_column="customer_order_count", source_column_data_type="NUMERIC", source_fact_reference=DeclarativeSourceFactReference( @@ -879,17 +1033,21 @@ with gooddata_api_client.ApiClient() as api_client: description="Customer name including first and last name.", id="attr.customers.customer_name", is_hidden=False, + is_nullable=False, labels=[ DeclarativeLabel( description="Customer name", geo_area_config=GeoAreaConfig( - collection=GeoCollection( + collection=GeoCollectionIdentifier( id="id_example", + kind="STATIC", ), ), id="label.customer_name", is_hidden=False, + is_nullable=False, locale="en-US", + null_value="empty_value", source_column="customer_name", source_column_data_type="STRING", tags=["Customers"], @@ -904,6 +1062,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ], locale="en-US", + null_value="empty_value", sort_column="customer_name", sort_direction="ASC" | "DESC", source_column="customer_name", @@ -924,6 +1083,8 @@ with gooddata_api_client.ApiClient() as api_client: description="A number of orders created by the customer - including all orders, even the non-delivered ones.", id="fact.customer_order_count", is_hidden=False, + is_nullable=False, + null_value="0", source_column="customer_order_count", source_column_data_type="NUMERIC", tags=["Customers"], @@ -953,6 +1114,8 @@ with gooddata_api_client.ApiClient() as api_client: DeclarativeReferenceSource( column="customer_id", data_type="STRING", + is_nullable=False, + null_value="empty_value", target=GrainIdentifier( id="attr.customers.customer_name", type="ATTRIBUTE", diff --git a/gooddata-api-client/docs/OrganizationEntityAPIsApi.md b/gooddata-api-client/docs/OrganizationEntityAPIsApi.md index 3489b723a..3693cf2ee 100644 --- a/gooddata-api-client/docs/OrganizationEntityAPIsApi.md +++ b/gooddata-api-client/docs/OrganizationEntityAPIsApi.md @@ -79,8 +79,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -231,7 +231,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -307,7 +307,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -391,7 +391,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -546,8 +546,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -650,8 +650,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -738,8 +738,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -842,8 +842,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/OtherApi.md b/gooddata-api-client/docs/OtherApi.md new file mode 100644 index 000000000..d79001d13 --- /dev/null +++ b/gooddata-api-client/docs/OtherApi.md @@ -0,0 +1,3295 @@ +# gooddata_api_client.OtherApi + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_entity_custom_geo_collections**](OtherApi.md#create_entity_custom_geo_collections) | **POST** /api/v1/entities/customGeoCollections | +[**create_entity_knowledge_recommendations**](OtherApi.md#create_entity_knowledge_recommendations) | **POST** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations | +[**create_entity_memory_items**](OtherApi.md#create_entity_memory_items) | **POST** /api/v1/entities/workspaces/{workspaceId}/memoryItems | +[**custom_geo_collection_staging_upload**](OtherApi.md#custom_geo_collection_staging_upload) | **POST** /api/v1/actions/customGeoCollection/staging/upload | Upload a geo collection file to the staging area +[**delete_entity_custom_geo_collections**](OtherApi.md#delete_entity_custom_geo_collections) | **DELETE** /api/v1/entities/customGeoCollections/{id} | +[**delete_entity_knowledge_recommendations**](OtherApi.md#delete_entity_knowledge_recommendations) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId} | +[**delete_entity_memory_items**](OtherApi.md#delete_entity_memory_items) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | +[**get_all_entities_custom_geo_collections**](OtherApi.md#get_all_entities_custom_geo_collections) | **GET** /api/v1/entities/customGeoCollections | +[**get_all_entities_knowledge_recommendations**](OtherApi.md#get_all_entities_knowledge_recommendations) | **GET** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations | +[**get_all_entities_memory_items**](OtherApi.md#get_all_entities_memory_items) | **GET** /api/v1/entities/workspaces/{workspaceId}/memoryItems | +[**get_analytics_model_aac**](OtherApi.md#get_analytics_model_aac) | **GET** /api/v1/aac/workspaces/{workspaceId}/analyticsModel | Get analytics model in AAC format +[**get_collection_items**](OtherApi.md#get_collection_items) | **GET** /api/v1/location/collections/{collectionId}/items | Get collection features +[**get_custom_collection_items**](OtherApi.md#get_custom_collection_items) | **GET** /api/v1/location/custom/collections/{collectionId}/items | Get custom collection features +[**get_entity_custom_geo_collections**](OtherApi.md#get_entity_custom_geo_collections) | **GET** /api/v1/entities/customGeoCollections/{id} | +[**get_entity_knowledge_recommendations**](OtherApi.md#get_entity_knowledge_recommendations) | **GET** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId} | +[**get_entity_memory_items**](OtherApi.md#get_entity_memory_items) | **GET** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | +[**get_logical_model_aac**](OtherApi.md#get_logical_model_aac) | **GET** /api/v1/aac/workspaces/{workspaceId}/logicalModel | Get logical model in AAC format +[**get_user_data_filters**](OtherApi.md#get_user_data_filters) | **GET** /api/v1/layout/workspaces/{workspaceId}/userDataFilters | Get user data filters +[**import_custom_geo_collection**](OtherApi.md#import_custom_geo_collection) | **POST** /api/v1/actions/customGeoCollection/{collectionId}/import | Import custom geo collection +[**metadata_check_organization**](OtherApi.md#metadata_check_organization) | **POST** /api/v1/actions/organization/metadataCheck | (BETA) Check Organization Metadata Inconsistencies +[**metadata_sync**](OtherApi.md#metadata_sync) | **POST** /api/v1/actions/workspaces/{workspaceId}/metadataSync | (BETA) Sync Metadata to other services +[**metadata_sync_organization**](OtherApi.md#metadata_sync_organization) | **POST** /api/v1/actions/organization/metadataSync | (BETA) Sync organization scope Metadata to other services +[**patch_entity_custom_geo_collections**](OtherApi.md#patch_entity_custom_geo_collections) | **PATCH** /api/v1/entities/customGeoCollections/{id} | +[**patch_entity_knowledge_recommendations**](OtherApi.md#patch_entity_knowledge_recommendations) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId} | +[**patch_entity_memory_items**](OtherApi.md#patch_entity_memory_items) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | +[**search_entities_knowledge_recommendations**](OtherApi.md#search_entities_knowledge_recommendations) | **POST** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/search | +[**search_entities_memory_items**](OtherApi.md#search_entities_memory_items) | **POST** /api/v1/entities/workspaces/{workspaceId}/memoryItems/search | Search request for MemoryItem +[**set_analytics_model_aac**](OtherApi.md#set_analytics_model_aac) | **PUT** /api/v1/aac/workspaces/{workspaceId}/analyticsModel | Set analytics model from AAC format +[**set_logical_model_aac**](OtherApi.md#set_logical_model_aac) | **PUT** /api/v1/aac/workspaces/{workspaceId}/logicalModel | Set logical model from AAC format +[**set_user_data_filters**](OtherApi.md#set_user_data_filters) | **PUT** /api/v1/layout/workspaces/{workspaceId}/userDataFilters | Set user data filters +[**switch_active_identity_provider**](OtherApi.md#switch_active_identity_provider) | **POST** /api/v1/actions/organization/switchActiveIdentityProvider | Switch Active Identity Provider +[**update_entity_custom_geo_collections**](OtherApi.md#update_entity_custom_geo_collections) | **PUT** /api/v1/entities/customGeoCollections/{id} | +[**update_entity_knowledge_recommendations**](OtherApi.md#update_entity_knowledge_recommendations) | **PUT** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId} | +[**update_entity_memory_items**](OtherApi.md#update_entity_memory_items) | **PUT** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | + + +# **create_entity_custom_geo_collections** +> JsonApiCustomGeoCollectionOutDocument create_entity_custom_geo_collections(json_api_custom_geo_collection_in_document) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.json_api_custom_geo_collection_out_document import JsonApiCustomGeoCollectionOutDocument +from gooddata_api_client.model.json_api_custom_geo_collection_in_document import JsonApiCustomGeoCollectionInDocument +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + json_api_custom_geo_collection_in_document = JsonApiCustomGeoCollectionInDocument( + data=JsonApiCustomGeoCollectionIn( + id="id1", + type="customGeoCollection", + ), + ) # JsonApiCustomGeoCollectionInDocument | + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.create_entity_custom_geo_collections(json_api_custom_geo_collection_in_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->create_entity_custom_geo_collections: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **json_api_custom_geo_collection_in_document** | [**JsonApiCustomGeoCollectionInDocument**](JsonApiCustomGeoCollectionInDocument.md)| | + +### Return type + +[**JsonApiCustomGeoCollectionOutDocument**](JsonApiCustomGeoCollectionOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **create_entity_knowledge_recommendations** +> JsonApiKnowledgeRecommendationOutDocument create_entity_knowledge_recommendations(workspace_id, json_api_knowledge_recommendation_post_optional_id_document) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.json_api_knowledge_recommendation_out_document import JsonApiKnowledgeRecommendationOutDocument +from gooddata_api_client.model.json_api_knowledge_recommendation_post_optional_id_document import JsonApiKnowledgeRecommendationPostOptionalIdDocument +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + json_api_knowledge_recommendation_post_optional_id_document = JsonApiKnowledgeRecommendationPostOptionalIdDocument( + data=JsonApiKnowledgeRecommendationPostOptionalId( + attributes=JsonApiKnowledgeRecommendationInAttributes( + analytical_dashboard_title="Portfolio Health Insights", + analyzed_period="2023-07", + analyzed_value=None, + are_relations_valid=True, + comparison_type="MONTH", + confidence=None, + description="description_example", + direction="DECREASED", + metric_title="Revenue", + recommendations={}, + reference_period="2023-06", + reference_value=None, + source_count=2, + tags=[ + "tags_example", + ], + title="title_example", + widget_id="widget-123", + widget_name="Revenue Trend", + ), + id="id1", + relationships=JsonApiKnowledgeRecommendationInRelationships( + analytical_dashboard=JsonApiAutomationInRelationshipsAnalyticalDashboard( + data=JsonApiAnalyticalDashboardToOneLinkage(None), + ), + metric=JsonApiKnowledgeRecommendationInRelationshipsMetric( + data=JsonApiMetricToOneLinkage(None), + ), + ), + type="knowledgeRecommendation", + ), + ) # JsonApiKnowledgeRecommendationPostOptionalIdDocument | + include = [ + "metric,analyticalDashboard", + ] # [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", + ] # [str] | Include Meta objects. (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.create_entity_knowledge_recommendations(workspace_id, json_api_knowledge_recommendation_post_optional_id_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->create_entity_knowledge_recommendations: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.create_entity_knowledge_recommendations(workspace_id, json_api_knowledge_recommendation_post_optional_id_document, include=include, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->create_entity_knowledge_recommendations: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **json_api_knowledge_recommendation_post_optional_id_document** | [**JsonApiKnowledgeRecommendationPostOptionalIdDocument**](JsonApiKnowledgeRecommendationPostOptionalIdDocument.md)| | + **include** | **[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** | **[str]**| Include Meta objects. | [optional] + +### Return type + +[**JsonApiKnowledgeRecommendationOutDocument**](JsonApiKnowledgeRecommendationOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **create_entity_memory_items** +> JsonApiMemoryItemOutDocument create_entity_memory_items(workspace_id, json_api_memory_item_post_optional_id_document) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.json_api_memory_item_post_optional_id_document import JsonApiMemoryItemPostOptionalIdDocument +from gooddata_api_client.model.json_api_memory_item_out_document import JsonApiMemoryItemOutDocument +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + json_api_memory_item_post_optional_id_document = JsonApiMemoryItemPostOptionalIdDocument( + data=JsonApiMemoryItemPostOptionalId( + attributes=JsonApiMemoryItemInAttributes( + are_relations_valid=True, + description="description_example", + instruction="instruction_example", + is_disabled=True, + keywords=[ + "keywords_example", + ], + strategy="ALWAYS", + tags=[ + "tags_example", + ], + title="title_example", + ), + id="id1", + type="memoryItem", + ), + ) # JsonApiMemoryItemPostOptionalIdDocument | + include = [ + "createdBy,modifiedBy", + ] # [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", + ] # [str] | Include Meta objects. (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.create_entity_memory_items(workspace_id, json_api_memory_item_post_optional_id_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->create_entity_memory_items: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.create_entity_memory_items(workspace_id, json_api_memory_item_post_optional_id_document, include=include, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->create_entity_memory_items: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **json_api_memory_item_post_optional_id_document** | [**JsonApiMemoryItemPostOptionalIdDocument**](JsonApiMemoryItemPostOptionalIdDocument.md)| | + **include** | **[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** | **[str]**| Include Meta objects. | [optional] + +### Return type + +[**JsonApiMemoryItemOutDocument**](JsonApiMemoryItemOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **custom_geo_collection_staging_upload** +> UploadGeoCollectionFileResponse custom_geo_collection_staging_upload(file) + +Upload a geo collection file to the staging area + +Provides a location for uploading staging files for custom geo collections. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.upload_geo_collection_file_response import UploadGeoCollectionFileResponse +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + file = open('/path/to/file', 'rb') # file_type | The geo collection file to upload. + + # example passing only required values which don't have defaults set + try: + # Upload a geo collection file to the staging area + api_response = api_instance.custom_geo_collection_staging_upload(file) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->custom_geo_collection_staging_upload: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file** | **file_type**| The geo collection file to upload. | + +### Return type + +[**UploadGeoCollectionFileResponse**](UploadGeoCollectionFileResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: */* + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Upload was successful. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_entity_custom_geo_collections** +> delete_entity_custom_geo_collections(id) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + id = "/6bUUGjjNSwg0_bs" # str | + filter = "" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + + # example passing only required values which don't have defaults set + try: + api_instance.delete_entity_custom_geo_collections(id) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->delete_entity_custom_geo_collections: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_instance.delete_entity_custom_geo_collections(id, filter=filter) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->delete_entity_custom_geo_collections: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Successfully deleted | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_entity_knowledge_recommendations** +> delete_entity_knowledge_recommendations(workspace_id, object_id) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | + filter = "title==someString;description==someString;metric.id==321;analyticalDashboard.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + + # example passing only required values which don't have defaults set + try: + api_instance.delete_entity_knowledge_recommendations(workspace_id, object_id) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->delete_entity_knowledge_recommendations: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_instance.delete_entity_knowledge_recommendations(workspace_id, object_id, filter=filter) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->delete_entity_knowledge_recommendations: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **object_id** | **str**| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Successfully deleted | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_entity_memory_items** +> delete_entity_memory_items(workspace_id, object_id) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | + filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + + # example passing only required values which don't have defaults set + try: + api_instance.delete_entity_memory_items(workspace_id, object_id) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->delete_entity_memory_items: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_instance.delete_entity_memory_items(workspace_id, object_id, filter=filter) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->delete_entity_memory_items: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **object_id** | **str**| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Successfully deleted | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_all_entities_custom_geo_collections** +> JsonApiCustomGeoCollectionOutList get_all_entities_custom_geo_collections() + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.json_api_custom_geo_collection_out_list import JsonApiCustomGeoCollectionOutList +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + filter = "" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + 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 + sort = [ + "sort_example", + ] # [str] | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) + meta_include = [ + "metaInclude=page,all", + ] # [str] | Include Meta objects. (optional) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.get_all_entities_custom_geo_collections(filter=filter, page=page, size=size, sort=sort, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_all_entities_custom_geo_collections: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **page** | **int**| Zero-based page index (0..N) | [optional] if omitted the server will use the default value of 0 + **size** | **int**| The size of the page to be returned | [optional] if omitted the server will use the default value of 20 + **sort** | **[str]**| Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] + **meta_include** | **[str]**| Include Meta objects. | [optional] + +### Return type + +[**JsonApiCustomGeoCollectionOutList**](JsonApiCustomGeoCollectionOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_all_entities_knowledge_recommendations** +> JsonApiKnowledgeRecommendationOutList get_all_entities_knowledge_recommendations(workspace_id) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.json_api_knowledge_recommendation_out_list import JsonApiKnowledgeRecommendationOutList +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + filter = "title==someString;description==someString;metric.id==321;analyticalDashboard.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "metric,analyticalDashboard", + ] # [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 + sort = [ + "sort_example", + ] # [str] | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + meta_include = [ + "metaInclude=origin,page,all", + ] # [str] | Include Meta objects. (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.get_all_entities_knowledge_recommendations(workspace_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_all_entities_knowledge_recommendations: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.get_all_entities_knowledge_recommendations(workspace_id, origin=origin, filter=filter, include=include, page=page, size=size, sort=sort, x_gdc_validate_relations=x_gdc_validate_relations, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_all_entities_knowledge_recommendations: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[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** | **int**| Zero-based page index (0..N) | [optional] if omitted the server will use the default value of 0 + **size** | **int**| The size of the page to be returned | [optional] if omitted the server will use the default value of 20 + **sort** | **[str]**| Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + **meta_include** | **[str]**| Include Meta objects. | [optional] + +### Return type + +[**JsonApiKnowledgeRecommendationOutList**](JsonApiKnowledgeRecommendationOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_all_entities_memory_items** +> JsonApiMemoryItemOutList get_all_entities_memory_items(workspace_id) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.json_api_memory_item_out_list import JsonApiMemoryItemOutList +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "createdBy,modifiedBy", + ] # [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 + sort = [ + "sort_example", + ] # [str] | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + meta_include = [ + "metaInclude=origin,page,all", + ] # [str] | Include Meta objects. (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.get_all_entities_memory_items(workspace_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_all_entities_memory_items: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.get_all_entities_memory_items(workspace_id, origin=origin, filter=filter, include=include, page=page, size=size, sort=sort, x_gdc_validate_relations=x_gdc_validate_relations, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_all_entities_memory_items: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[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** | **int**| Zero-based page index (0..N) | [optional] if omitted the server will use the default value of 0 + **size** | **int**| The size of the page to be returned | [optional] if omitted the server will use the default value of 20 + **sort** | **[str]**| Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + **meta_include** | **[str]**| Include Meta objects. | [optional] + +### Return type + +[**JsonApiMemoryItemOutList**](JsonApiMemoryItemOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_analytics_model_aac** +> AacAnalyticsModel get_analytics_model_aac(workspace_id) + +Get analytics model in AAC format + + Retrieve the analytics model of the workspace in Analytics as Code format. The returned format is compatible with the YAML definitions used by the GoodData Analytics as Code VSCode extension. This includes metrics, dashboards, visualizations, plugins, and attribute hierarchies. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.aac_analytics_model import AacAnalyticsModel +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + exclude = [ + "ACTIVITY_INFO", + ] # [str] | (optional) + + # example passing only required values which don't have defaults set + try: + # Get analytics model in AAC format + api_response = api_instance.get_analytics_model_aac(workspace_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_analytics_model_aac: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get analytics model in AAC format + api_response = api_instance.get_analytics_model_aac(workspace_id, exclude=exclude) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_analytics_model_aac: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **exclude** | **[str]**| | [optional] + +### Return type + +[**AacAnalyticsModel**](AacAnalyticsModel.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Retrieved current analytics model in AAC format. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_collection_items** +> GeoJsonFeatureCollection get_collection_items(collection_id) + +Get collection features + +Retrieve features from a GeoCollections collection as GeoJSON + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.geo_json_feature_collection import GeoJsonFeatureCollection +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + collection_id = "countries" # str | Collection identifier + limit = 100 # int | Maximum number of features to return (optional) + bbox = "-180,-90,180,90" # str | Bounding box filter (minx,miny,maxx,maxy) (optional) + values = [ + "US,CA,MX", + ] # [str] | List of values to filter features by (optional) + + # example passing only required values which don't have defaults set + try: + # Get collection features + api_response = api_instance.get_collection_items(collection_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_collection_items: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get collection features + api_response = api_instance.get_collection_items(collection_id, limit=limit, bbox=bbox, values=values) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_collection_items: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **collection_id** | **str**| Collection identifier | + **limit** | **int**| Maximum number of features to return | [optional] + **bbox** | **str**| Bounding box filter (minx,miny,maxx,maxy) | [optional] + **values** | **[str]**| List of values to filter features by | [optional] + +### Return type + +[**GeoJsonFeatureCollection**](GeoJsonFeatureCollection.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Features retrieved successfully | - | +**404** | Collection not found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_custom_collection_items** +> GeoJsonFeatureCollection get_custom_collection_items(collection_id) + +Get custom collection features + +Retrieve features from a custom (organization-scoped) GeoCollections collection as GeoJSON + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.geo_json_feature_collection import GeoJsonFeatureCollection +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + collection_id = "my-custom-collection" # str | Collection identifier + limit = 100 # int | Maximum number of features to return (optional) + bbox = "-180,-90,180,90" # str | Bounding box filter (minx,miny,maxx,maxy) (optional) + values = [ + "US,CA,MX", + ] # [str] | List of values to filter features by (optional) + + # example passing only required values which don't have defaults set + try: + # Get custom collection features + api_response = api_instance.get_custom_collection_items(collection_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_custom_collection_items: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get custom collection features + api_response = api_instance.get_custom_collection_items(collection_id, limit=limit, bbox=bbox, values=values) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_custom_collection_items: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **collection_id** | **str**| Collection identifier | + **limit** | **int**| Maximum number of features to return | [optional] + **bbox** | **str**| Bounding box filter (minx,miny,maxx,maxy) | [optional] + **values** | **[str]**| List of values to filter features by | [optional] + +### Return type + +[**GeoJsonFeatureCollection**](GeoJsonFeatureCollection.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Features retrieved successfully | - | +**404** | Collection not found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_entity_custom_geo_collections** +> JsonApiCustomGeoCollectionOutDocument get_entity_custom_geo_collections(id) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.json_api_custom_geo_collection_out_document import JsonApiCustomGeoCollectionOutDocument +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + id = "/6bUUGjjNSwg0_bs" # str | + filter = "" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.get_entity_custom_geo_collections(id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_entity_custom_geo_collections: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.get_entity_custom_geo_collections(id, filter=filter) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_entity_custom_geo_collections: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + +### Return type + +[**JsonApiCustomGeoCollectionOutDocument**](JsonApiCustomGeoCollectionOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_entity_knowledge_recommendations** +> JsonApiKnowledgeRecommendationOutDocument get_entity_knowledge_recommendations(workspace_id, object_id) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.json_api_knowledge_recommendation_out_document import JsonApiKnowledgeRecommendationOutDocument +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | + filter = "title==someString;description==someString;metric.id==321;analyticalDashboard.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "metric,analyticalDashboard", + ] # [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 = [ + "metaInclude=origin,all", + ] # [str] | Include Meta objects. (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.get_entity_knowledge_recommendations(workspace_id, object_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_entity_knowledge_recommendations: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.get_entity_knowledge_recommendations(workspace_id, object_id, filter=filter, include=include, x_gdc_validate_relations=x_gdc_validate_relations, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_entity_knowledge_recommendations: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **object_id** | **str**| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[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** | **bool**| | [optional] if omitted the server will use the default value of False + **meta_include** | **[str]**| Include Meta objects. | [optional] + +### Return type + +[**JsonApiKnowledgeRecommendationOutDocument**](JsonApiKnowledgeRecommendationOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_entity_memory_items** +> JsonApiMemoryItemOutDocument get_entity_memory_items(workspace_id, object_id) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.json_api_memory_item_out_document import JsonApiMemoryItemOutDocument +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | + filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "createdBy,modifiedBy", + ] # [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 = [ + "metaInclude=origin,all", + ] # [str] | Include Meta objects. (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.get_entity_memory_items(workspace_id, object_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_entity_memory_items: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.get_entity_memory_items(workspace_id, object_id, filter=filter, include=include, x_gdc_validate_relations=x_gdc_validate_relations, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_entity_memory_items: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **object_id** | **str**| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[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** | **bool**| | [optional] if omitted the server will use the default value of False + **meta_include** | **[str]**| Include Meta objects. | [optional] + +### Return type + +[**JsonApiMemoryItemOutDocument**](JsonApiMemoryItemOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_logical_model_aac** +> AacLogicalModel get_logical_model_aac(workspace_id) + +Get logical model in AAC format + + Retrieve the logical data model of the workspace in Analytics as Code format. The returned format is compatible with the YAML definitions used by the GoodData Analytics as Code VSCode extension. Use this for exporting models that can be directly used as YAML configuration files. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.aac_logical_model import AacLogicalModel +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + include_parents = True # bool | (optional) + + # example passing only required values which don't have defaults set + try: + # Get logical model in AAC format + api_response = api_instance.get_logical_model_aac(workspace_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_logical_model_aac: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get logical model in AAC format + api_response = api_instance.get_logical_model_aac(workspace_id, include_parents=include_parents) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_logical_model_aac: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **include_parents** | **bool**| | [optional] + +### Return type + +[**AacLogicalModel**](AacLogicalModel.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Retrieved current logical model in AAC format. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_user_data_filters** +> DeclarativeUserDataFilters get_user_data_filters(workspace_id) + +Get user data filters + +Retrieve current user data filters assigned to the workspace. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.declarative_user_data_filters import DeclarativeUserDataFilters +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + + # example passing only required values which don't have defaults set + try: + # Get user data filters + api_response = api_instance.get_user_data_filters(workspace_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->get_user_data_filters: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + +### Return type + +[**DeclarativeUserDataFilters**](DeclarativeUserDataFilters.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Retrieved current user data filters. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **import_custom_geo_collection** +> ImportGeoCollectionResponse import_custom_geo_collection(collection_id, import_geo_collection_request) + +Import custom geo collection + +Import a geo collection file from the staging area to be available for use. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.import_geo_collection_response import ImportGeoCollectionResponse +from gooddata_api_client.model.import_geo_collection_request import ImportGeoCollectionRequest +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + collection_id = "collectionId_example" # str | + import_geo_collection_request = ImportGeoCollectionRequest( + location="location_example", + ) # ImportGeoCollectionRequest | + + # example passing only required values which don't have defaults set + try: + # Import custom geo collection + api_response = api_instance.import_custom_geo_collection(collection_id, import_geo_collection_request) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->import_custom_geo_collection: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **collection_id** | **str**| | + **import_geo_collection_request** | [**ImportGeoCollectionRequest**](ImportGeoCollectionRequest.md)| | + +### Return type + +[**ImportGeoCollectionResponse**](ImportGeoCollectionResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful import. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **metadata_check_organization** +> metadata_check_organization() + +(BETA) Check Organization Metadata Inconsistencies + +(BETA) Temporary solution. Resyncs all organization objects and full workspaces within the organization with target GEN_AI_CHECK. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + + # example, this endpoint has no required or optional parameters + try: + # (BETA) Check Organization Metadata Inconsistencies + api_instance.metadata_check_organization() + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->metadata_check_organization: %s\n" % e) +``` + + +### Parameters +This endpoint does not need any parameter. + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **metadata_sync** +> metadata_sync(workspace_id) + +(BETA) Sync Metadata to other services + +(BETA) Temporary solution. Later relevant metadata actions will trigger it in its scope only. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + + # example passing only required values which don't have defaults set + try: + # (BETA) Sync Metadata to other services + api_instance.metadata_sync(workspace_id) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->metadata_sync: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **metadata_sync_organization** +> metadata_sync_organization() + +(BETA) Sync organization scope Metadata to other services + +(BETA) Temporary solution. Later relevant metadata actions will trigger sync in their scope only. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + + # example, this endpoint has no required or optional parameters + try: + # (BETA) Sync organization scope Metadata to other services + api_instance.metadata_sync_organization() + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->metadata_sync_organization: %s\n" % e) +``` + + +### Parameters +This endpoint does not need any parameter. + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **patch_entity_custom_geo_collections** +> JsonApiCustomGeoCollectionOutDocument patch_entity_custom_geo_collections(id, json_api_custom_geo_collection_patch_document) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.json_api_custom_geo_collection_patch_document import JsonApiCustomGeoCollectionPatchDocument +from gooddata_api_client.model.json_api_custom_geo_collection_out_document import JsonApiCustomGeoCollectionOutDocument +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + id = "/6bUUGjjNSwg0_bs" # str | + json_api_custom_geo_collection_patch_document = JsonApiCustomGeoCollectionPatchDocument( + data=JsonApiCustomGeoCollectionPatch( + id="id1", + type="customGeoCollection", + ), + ) # JsonApiCustomGeoCollectionPatchDocument | + filter = "" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.patch_entity_custom_geo_collections(id, json_api_custom_geo_collection_patch_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->patch_entity_custom_geo_collections: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.patch_entity_custom_geo_collections(id, json_api_custom_geo_collection_patch_document, filter=filter) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->patch_entity_custom_geo_collections: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **json_api_custom_geo_collection_patch_document** | [**JsonApiCustomGeoCollectionPatchDocument**](JsonApiCustomGeoCollectionPatchDocument.md)| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + +### Return type + +[**JsonApiCustomGeoCollectionOutDocument**](JsonApiCustomGeoCollectionOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **patch_entity_knowledge_recommendations** +> JsonApiKnowledgeRecommendationOutDocument patch_entity_knowledge_recommendations(workspace_id, object_id, json_api_knowledge_recommendation_patch_document) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.json_api_knowledge_recommendation_patch_document import JsonApiKnowledgeRecommendationPatchDocument +from gooddata_api_client.model.json_api_knowledge_recommendation_out_document import JsonApiKnowledgeRecommendationOutDocument +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | + json_api_knowledge_recommendation_patch_document = JsonApiKnowledgeRecommendationPatchDocument( + data=JsonApiKnowledgeRecommendationPatch( + attributes=JsonApiKnowledgeRecommendationPatchAttributes( + analytical_dashboard_title="Portfolio Health Insights", + analyzed_period="2023-07", + analyzed_value=None, + are_relations_valid=True, + comparison_type="MONTH", + confidence=None, + description="description_example", + direction="DECREASED", + metric_title="Revenue", + recommendations={}, + reference_period="2023-06", + reference_value=None, + source_count=2, + tags=[ + "tags_example", + ], + title="title_example", + widget_id="widget-123", + widget_name="Revenue Trend", + ), + id="id1", + relationships=JsonApiKnowledgeRecommendationOutRelationships( + analytical_dashboard=JsonApiAutomationInRelationshipsAnalyticalDashboard( + data=JsonApiAnalyticalDashboardToOneLinkage(None), + ), + metric=JsonApiKnowledgeRecommendationInRelationshipsMetric( + data=JsonApiMetricToOneLinkage(None), + ), + ), + type="knowledgeRecommendation", + ), + ) # JsonApiKnowledgeRecommendationPatchDocument | + filter = "title==someString;description==someString;metric.id==321;analyticalDashboard.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "metric,analyticalDashboard", + ] # [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 + try: + api_response = api_instance.patch_entity_knowledge_recommendations(workspace_id, object_id, json_api_knowledge_recommendation_patch_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->patch_entity_knowledge_recommendations: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.patch_entity_knowledge_recommendations(workspace_id, object_id, json_api_knowledge_recommendation_patch_document, filter=filter, include=include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->patch_entity_knowledge_recommendations: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **object_id** | **str**| | + **json_api_knowledge_recommendation_patch_document** | [**JsonApiKnowledgeRecommendationPatchDocument**](JsonApiKnowledgeRecommendationPatchDocument.md)| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[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] + +### Return type + +[**JsonApiKnowledgeRecommendationOutDocument**](JsonApiKnowledgeRecommendationOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **patch_entity_memory_items** +> JsonApiMemoryItemOutDocument patch_entity_memory_items(workspace_id, object_id, json_api_memory_item_patch_document) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.json_api_memory_item_patch_document import JsonApiMemoryItemPatchDocument +from gooddata_api_client.model.json_api_memory_item_out_document import JsonApiMemoryItemOutDocument +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | + json_api_memory_item_patch_document = JsonApiMemoryItemPatchDocument( + data=JsonApiMemoryItemPatch( + attributes=JsonApiMemoryItemPatchAttributes( + are_relations_valid=True, + description="description_example", + instruction="instruction_example", + is_disabled=True, + keywords=[ + "keywords_example", + ], + strategy="ALWAYS", + tags=[ + "tags_example", + ], + title="title_example", + ), + id="id1", + type="memoryItem", + ), + ) # JsonApiMemoryItemPatchDocument | + filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "createdBy,modifiedBy", + ] # [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 + try: + api_response = api_instance.patch_entity_memory_items(workspace_id, object_id, json_api_memory_item_patch_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->patch_entity_memory_items: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.patch_entity_memory_items(workspace_id, object_id, json_api_memory_item_patch_document, filter=filter, include=include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->patch_entity_memory_items: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **object_id** | **str**| | + **json_api_memory_item_patch_document** | [**JsonApiMemoryItemPatchDocument**](JsonApiMemoryItemPatchDocument.md)| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[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] + +### Return type + +[**JsonApiMemoryItemOutDocument**](JsonApiMemoryItemOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_knowledge_recommendations** +> JsonApiKnowledgeRecommendationOutList search_entities_knowledge_recommendations(workspace_id, entity_search_body) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.json_api_knowledge_recommendation_out_list import JsonApiKnowledgeRecommendationOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.search_entities_knowledge_recommendations(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->search_entities_knowledge_recommendations: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.search_entities_knowledge_recommendations(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->search_entities_knowledge_recommendations: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiKnowledgeRecommendationOutList**](JsonApiKnowledgeRecommendationOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_memory_items** +> JsonApiMemoryItemOutList search_entities_memory_items(workspace_id, entity_search_body) + +Search request for MemoryItem + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.json_api_memory_item_out_list import JsonApiMemoryItemOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for MemoryItem + api_response = api_instance.search_entities_memory_items(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->search_entities_memory_items: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for MemoryItem + api_response = api_instance.search_entities_memory_items(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->search_entities_memory_items: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiMemoryItemOutList**](JsonApiMemoryItemOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **set_analytics_model_aac** +> set_analytics_model_aac(workspace_id, aac_analytics_model) + +Set analytics model from AAC format + + Set the analytics model of the workspace using Analytics as Code format. The input format is compatible with the YAML definitions used by the GoodData Analytics as Code VSCode extension. This replaces the entire analytics model with the provided definition, including metrics, dashboards, visualizations, plugins, and attribute hierarchies. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.aac_analytics_model import AacAnalyticsModel +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + aac_analytics_model = AacAnalyticsModel( + attribute_hierarchies=[ + AacAttributeHierarchy( + attributes=["attribute/country","attribute/state","attribute/city"], + description="description_example", + id="geo-hierarchy", + tags=[ + "tags_example", + ], + title="Geographic Hierarchy", + type="attribute_hierarchy", + ), + ], + dashboards=[ + AacDashboard( + active_tab_id="active_tab_id_example", + cross_filtering=True, + description="description_example", + enable_section_headers=True, + filter_views=True, + filters={ + "key": AacDashboardFilter( + date="date_example", + display_as="display_as_example", + _from=AacDashboardFilterFrom(None), + granularity="granularity_example", + metric_filters=[ + "metric_filters_example", + ], + mode="active", + multiselect=True, + parents=[ + JsonNode(), + ], + state=AacFilterState( + exclude=[ + "exclude_example", + ], + include=[ + "include_example", + ], + ), + title="title_example", + to=AacDashboardFilterFrom(None), + type="attribute_filter", + using="using_example", + ), + }, + id="sales-overview", + permissions=AacDashboardPermissions( + edit=AacPermission( + all=True, + user_groups=[ + "user_groups_example", + ], + users=[ + "users_example", + ], + ), + share=AacPermission( + all=True, + user_groups=[ + "user_groups_example", + ], + users=[ + "users_example", + ], + ), + view=AacPermission( + all=True, + user_groups=[ + "user_groups_example", + ], + users=[ + "users_example", + ], + ), + ), + plugins=[ + AacDashboardPluginLink( + id="id_example", + parameters=JsonNode(), + ), + ], + sections=[ + AacSection( + description="description_example", + header=True, + title="title_example", + widgets=[ + AacWidget( + additional_properties={ + "key": JsonNode(), + }, + columns=1, + content="content_example", + date="date_example", + description=AacWidgetDescription(None), + drill_down=JsonNode(), + ignore_dashboard_filters=[ + "ignore_dashboard_filters_example", + ], + ignored_filters=[ + "ignored_filters_example", + ], + interactions=[ + JsonNode(), + ], + metric="metric_example", + rows=1, + sections=[ + AacSection(), + ], + size=AacWidgetSize( + height=1, + height_as_ratio=True, + width=1, + ), + title=AacWidgetDescription(None), + type="visualization", + visualization="visualization_example", + zoom_data=True, + ), + ], + ), + ], + tabs=[ + AacTab( + filters={ + "key": AacDashboardFilter( + date="date_example", + display_as="display_as_example", + _from=AacDashboardFilterFrom(None), + granularity="granularity_example", + metric_filters=[ + "metric_filters_example", + ], + mode="active", + multiselect=True, + parents=[ + JsonNode(), + ], + state=AacFilterState( + exclude=[ + "exclude_example", + ], + include=[ + "include_example", + ], + ), + title="title_example", + to=AacDashboardFilterFrom(None), + type="attribute_filter", + using="using_example", + ), + }, + id="id_example", + sections=[ + AacSection( + description="description_example", + header=True, + title="title_example", + widgets=[ + AacWidget( + additional_properties={ + "key": JsonNode(), + }, + columns=1, + content="content_example", + date="date_example", + description=AacWidgetDescription(None), + drill_down=JsonNode(), + ignore_dashboard_filters=[ + "ignore_dashboard_filters_example", + ], + ignored_filters=[ + "ignored_filters_example", + ], + interactions=[ + JsonNode(), + ], + metric="metric_example", + rows=1, + sections=[ + AacSection(), + ], + size=AacWidgetSize( + height=1, + height_as_ratio=True, + width=1, + ), + title=AacWidgetDescription(None), + type="visualization", + visualization="visualization_example", + zoom_data=True, + ), + ], + ), + ], + title="title_example", + ), + ], + tags=[ + "tags_example", + ], + title="Sales Overview", + type="dashboard", + user_filters_reset=True, + user_filters_save=True, + ), + ], + metrics=[ + AacMetric( + description="description_example", + format="#,##0.00", + id="total-sales", + is_hidden=True, + maql="SELECT SUM({fact/amount})", + show_in_ai_results=True, + tags=[ + "tags_example", + ], + title="Total Sales", + type="metric", + ), + ], + plugins=[ + AacPlugin( + description="description_example", + id="my-plugin", + tags=[ + "tags_example", + ], + title="My Plugin", + type="plugin", + url="https://example.com/plugin.js", + ), + ], + visualizations=[ + AacVisualization( + additional_properties={ + "key": JsonNode(), + }, + attribute=[ + AacQueryFieldsValue(None), + ], + color=[ + AacQueryFieldsValue(None), + ], + columns=[ + AacQueryFieldsValue(None), + ], + config=JsonNode(), + description="description_example", + id="sales-by-region", + is_hidden=True, + location=[ + AacQueryFieldsValue(None), + ], + metrics=[ + AacQueryFieldsValue(None), + ], + primary_measures=[ + AacQueryFieldsValue(None), + ], + query=AacQuery( + fields={ + "key": AacQueryFieldsValue(None), + }, + filter_by={ + "key": AacQueryFilter( + additional_properties={ + "key": JsonNode(), + }, + attribute="attribute_example", + bottom=1, + condition="condition_example", + _from=AacDashboardFilterFrom(None), + granularity="granularity_example", + state=AacFilterState( + exclude=[ + "exclude_example", + ], + include=[ + "include_example", + ], + ), + to=AacDashboardFilterFrom(None), + top=1, + type="date_filter", + using="using_example", + value=3.14, + ), + }, + sort_by=[ + JsonNode(), + ], + ), + rows=[ + AacQueryFieldsValue(None), + ], + secondary_measures=[ + AacQueryFieldsValue(None), + ], + segment_by=[ + AacQueryFieldsValue(None), + ], + show_in_ai_results=True, + size=[ + AacQueryFieldsValue(None), + ], + stack=[ + AacQueryFieldsValue(None), + ], + tags=[ + "tags_example", + ], + title="Sales by Region", + trend=[ + AacQueryFieldsValue(None), + ], + type="bar_chart", + view_by=[ + AacQueryFieldsValue(None), + ], + ), + ], + ) # AacAnalyticsModel | + + # example passing only required values which don't have defaults set + try: + # Set analytics model from AAC format + api_instance.set_analytics_model_aac(workspace_id, aac_analytics_model) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->set_analytics_model_aac: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **aac_analytics_model** | [**AacAnalyticsModel**](AacAnalyticsModel.md)| | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Analytics model successfully set. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **set_logical_model_aac** +> set_logical_model_aac(workspace_id, aac_logical_model) + +Set logical model from AAC format + + Set the logical data model of the workspace using Analytics as Code format. The input format is compatible with the YAML definitions used by the GoodData Analytics as Code VSCode extension. This replaces the entire logical model with the provided definition. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.aac_logical_model import AacLogicalModel +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + aac_logical_model = AacLogicalModel( + datasets=[ + AacDataset( + data_source="my-postgres", + description="description_example", + fields={ + "key": AacField( + aggregated_as="SUM", + assigned_to="assigned_to_example", + data_type="STRING", + default_view="default_view_example", + description="description_example", + is_hidden=True, + labels={ + "key": AacLabel( + data_type="INT", + description="description_example", + geo_area_config=AacGeoAreaConfig( + collection=AacGeoCollectionIdentifier( + id="id_example", + kind="STATIC", + ), + ), + is_hidden=True, + locale="locale_example", + show_in_ai_results=True, + source_column="source_column_example", + tags=[ + "tags_example", + ], + title="title_example", + translations=[ + AacLabelTranslation( + locale="locale_example", + source_column="source_column_example", + ), + ], + value_type="TEXT", + ), + }, + locale="locale_example", + show_in_ai_results=True, + sort_column="sort_column_example", + sort_direction="ASC", + source_column="source_column_example", + tags=[ + "tags_example", + ], + title="title_example", + type="attribute", + ), + }, + id="customers", + precedence=1, + primary_key=AacDatasetPrimaryKey(None), + references=[ + AacReference( + dataset="orders", + multi_directional=True, + sources=[ + AacReferenceSource( + data_type="INT", + source_column="source_column_example", + target="target_example", + ), + ], + ), + ], + sql="sql_example", + table_path="public/customers", + tags=[ + "tags_example", + ], + title="Customers", + type="dataset", + workspace_data_filters=[ + AacWorkspaceDataFilter( + data_type="INT", + filter_id="filter_id_example", + source_column="source_column_example", + ), + ], + ), + ], + date_datasets=[ + AacDateDataset( + description="description_example", + granularities=[ + "granularities_example", + ], + id="date", + tags=[ + "tags_example", + ], + title="Date", + title_base="title_base_example", + title_pattern="title_pattern_example", + type="date", + ), + ], + ) # AacLogicalModel | + + # example passing only required values which don't have defaults set + try: + # Set logical model from AAC format + api_instance.set_logical_model_aac(workspace_id, aac_logical_model) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->set_logical_model_aac: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **aac_logical_model** | [**AacLogicalModel**](AacLogicalModel.md)| | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Logical model successfully set. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **set_user_data_filters** +> set_user_data_filters(workspace_id, declarative_user_data_filters) + +Set user data filters + +Set user data filters assigned to the workspace. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.declarative_user_data_filters import DeclarativeUserDataFilters +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + declarative_user_data_filters = DeclarativeUserDataFilters( + user_data_filters=[ + DeclarativeUserDataFilter( + description="ID of country setting", + id="country_id_setting", + maql="{label/country} = "USA" AND {label/date.year} = THIS(YEAR)", + tags=["Revenues"], + title="Country ID setting", + user=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + user_group=DeclarativeUserGroupIdentifier( + id="group.admins", + type="userGroup", + ), + ), + ], + ) # DeclarativeUserDataFilters | + + # example passing only required values which don't have defaults set + try: + # Set user data filters + api_instance.set_user_data_filters(workspace_id, declarative_user_data_filters) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->set_user_data_filters: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **declarative_user_data_filters** | [**DeclarativeUserDataFilters**](DeclarativeUserDataFilters.md)| | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | User data filters successfully set. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **switch_active_identity_provider** +> switch_active_identity_provider(switch_identity_provider_request) + +Switch Active Identity Provider + +Switch the active identity provider for the organization. Requires MANAGE permission on the organization. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.switch_identity_provider_request import SwitchIdentityProviderRequest +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + switch_identity_provider_request = SwitchIdentityProviderRequest( + idp_id="my-idp-123", + ) # SwitchIdentityProviderRequest | + + # example passing only required values which don't have defaults set + try: + # Switch Active Identity Provider + api_instance.switch_active_identity_provider(switch_identity_provider_request) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->switch_active_identity_provider: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **switch_identity_provider_request** | [**SwitchIdentityProviderRequest**](SwitchIdentityProviderRequest.md)| | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | No Content | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_entity_custom_geo_collections** +> JsonApiCustomGeoCollectionOutDocument update_entity_custom_geo_collections(id, json_api_custom_geo_collection_in_document) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.json_api_custom_geo_collection_out_document import JsonApiCustomGeoCollectionOutDocument +from gooddata_api_client.model.json_api_custom_geo_collection_in_document import JsonApiCustomGeoCollectionInDocument +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + id = "/6bUUGjjNSwg0_bs" # str | + json_api_custom_geo_collection_in_document = JsonApiCustomGeoCollectionInDocument( + data=JsonApiCustomGeoCollectionIn( + id="id1", + type="customGeoCollection", + ), + ) # JsonApiCustomGeoCollectionInDocument | + filter = "" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.update_entity_custom_geo_collections(id, json_api_custom_geo_collection_in_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->update_entity_custom_geo_collections: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.update_entity_custom_geo_collections(id, json_api_custom_geo_collection_in_document, filter=filter) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->update_entity_custom_geo_collections: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **json_api_custom_geo_collection_in_document** | [**JsonApiCustomGeoCollectionInDocument**](JsonApiCustomGeoCollectionInDocument.md)| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + +### Return type + +[**JsonApiCustomGeoCollectionOutDocument**](JsonApiCustomGeoCollectionOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_entity_knowledge_recommendations** +> JsonApiKnowledgeRecommendationOutDocument update_entity_knowledge_recommendations(workspace_id, object_id, json_api_knowledge_recommendation_in_document) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.json_api_knowledge_recommendation_out_document import JsonApiKnowledgeRecommendationOutDocument +from gooddata_api_client.model.json_api_knowledge_recommendation_in_document import JsonApiKnowledgeRecommendationInDocument +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | + json_api_knowledge_recommendation_in_document = JsonApiKnowledgeRecommendationInDocument( + data=JsonApiKnowledgeRecommendationIn( + attributes=JsonApiKnowledgeRecommendationInAttributes( + analytical_dashboard_title="Portfolio Health Insights", + analyzed_period="2023-07", + analyzed_value=None, + are_relations_valid=True, + comparison_type="MONTH", + confidence=None, + description="description_example", + direction="DECREASED", + metric_title="Revenue", + recommendations={}, + reference_period="2023-06", + reference_value=None, + source_count=2, + tags=[ + "tags_example", + ], + title="title_example", + widget_id="widget-123", + widget_name="Revenue Trend", + ), + id="id1", + relationships=JsonApiKnowledgeRecommendationInRelationships( + analytical_dashboard=JsonApiAutomationInRelationshipsAnalyticalDashboard( + data=JsonApiAnalyticalDashboardToOneLinkage(None), + ), + metric=JsonApiKnowledgeRecommendationInRelationshipsMetric( + data=JsonApiMetricToOneLinkage(None), + ), + ), + type="knowledgeRecommendation", + ), + ) # JsonApiKnowledgeRecommendationInDocument | + filter = "title==someString;description==someString;metric.id==321;analyticalDashboard.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "metric,analyticalDashboard", + ] # [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 + try: + api_response = api_instance.update_entity_knowledge_recommendations(workspace_id, object_id, json_api_knowledge_recommendation_in_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->update_entity_knowledge_recommendations: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.update_entity_knowledge_recommendations(workspace_id, object_id, json_api_knowledge_recommendation_in_document, filter=filter, include=include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->update_entity_knowledge_recommendations: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **object_id** | **str**| | + **json_api_knowledge_recommendation_in_document** | [**JsonApiKnowledgeRecommendationInDocument**](JsonApiKnowledgeRecommendationInDocument.md)| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[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] + +### Return type + +[**JsonApiKnowledgeRecommendationOutDocument**](JsonApiKnowledgeRecommendationOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_entity_memory_items** +> JsonApiMemoryItemOutDocument update_entity_memory_items(workspace_id, object_id, json_api_memory_item_in_document) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import other_api +from gooddata_api_client.model.json_api_memory_item_in_document import JsonApiMemoryItemInDocument +from gooddata_api_client.model.json_api_memory_item_out_document import JsonApiMemoryItemOutDocument +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = other_api.OtherApi(api_client) + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | + json_api_memory_item_in_document = JsonApiMemoryItemInDocument( + data=JsonApiMemoryItemIn( + attributes=JsonApiMemoryItemInAttributes( + are_relations_valid=True, + description="description_example", + instruction="instruction_example", + is_disabled=True, + keywords=[ + "keywords_example", + ], + strategy="ALWAYS", + tags=[ + "tags_example", + ], + title="title_example", + ), + id="id1", + type="memoryItem", + ), + ) # JsonApiMemoryItemInDocument | + filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "createdBy,modifiedBy", + ] # [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 + try: + api_response = api_instance.update_entity_memory_items(workspace_id, object_id, json_api_memory_item_in_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->update_entity_memory_items: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.update_entity_memory_items(workspace_id, object_id, json_api_memory_item_in_document, filter=filter, include=include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OtherApi->update_entity_memory_items: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **object_id** | **str**| | + **json_api_memory_item_in_document** | [**JsonApiMemoryItemInDocument**](JsonApiMemoryItemInDocument.md)| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[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] + +### Return type + +[**JsonApiMemoryItemOutDocument**](JsonApiMemoryItemOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/gooddata-api-client/docs/OutlierDetectionRequest.md b/gooddata-api-client/docs/OutlierDetectionRequest.md new file mode 100644 index 000000000..0178600d3 --- /dev/null +++ b/gooddata-api-client/docs/OutlierDetectionRequest.md @@ -0,0 +1,17 @@ +# OutlierDetectionRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**[AttributeItem]**](AttributeItem.md) | Attributes to be used in the computation. | +**filters** | [**[ChangeAnalysisParamsFiltersInner]**](ChangeAnalysisParamsFiltersInner.md) | Various filter types to filter the execution result. | +**granularity** | **str** | Date granularity for anomaly detection. Only time-based granularities are supported (HOUR, DAY, WEEK, MONTH, QUARTER, YEAR). | +**measures** | [**[MeasureItem]**](MeasureItem.md) | | +**sensitivity** | **str** | Sensitivity level for outlier detection | +**aux_measures** | [**[MeasureItem]**](MeasureItem.md) | Metrics to be referenced from other AFM objects (e.g. filters) but not included in the result. | [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/OutlierDetectionResponse.md b/gooddata-api-client/docs/OutlierDetectionResponse.md new file mode 100644 index 000000000..063a8d3c6 --- /dev/null +++ b/gooddata-api-client/docs/OutlierDetectionResponse.md @@ -0,0 +1,12 @@ +# OutlierDetectionResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**links** | [**ExecutionLinks**](ExecutionLinks.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/OutlierDetectionResult.md b/gooddata-api-client/docs/OutlierDetectionResult.md new file mode 100644 index 000000000..a33c45e38 --- /dev/null +++ b/gooddata-api-client/docs/OutlierDetectionResult.md @@ -0,0 +1,13 @@ +# OutlierDetectionResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attribute** | **[str], none_type** | Attribute values for outlier detection results. | +**values** | **{str: ([float, none_type], none_type)}, none_type** | Map of measure identifiers to their outlier detection values. Each value is a list of nullable numbers. | +**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/PluginsApi.md b/gooddata-api-client/docs/PluginsApi.md index 4bb541404..a558fc701 100644 --- a/gooddata-api-client/docs/PluginsApi.md +++ b/gooddata-api-client/docs/PluginsApi.md @@ -9,6 +9,7 @@ Method | HTTP request | Description [**get_all_entities_dashboard_plugins**](PluginsApi.md#get_all_entities_dashboard_plugins) | **GET** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins | Get all Plugins [**get_entity_dashboard_plugins**](PluginsApi.md#get_entity_dashboard_plugins) | **GET** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Get a Plugin [**patch_entity_dashboard_plugins**](PluginsApi.md#patch_entity_dashboard_plugins) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Patch a Plugin +[**search_entities_dashboard_plugins**](PluginsApi.md#search_entities_dashboard_plugins) | **POST** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/search | Search request for DashboardPlugin [**update_entity_dashboard_plugins**](PluginsApi.md#update_entity_dashboard_plugins) | **PUT** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Put a Plugin @@ -99,8 +100,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -271,7 +272,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -359,7 +360,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -457,8 +458,107 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_dashboard_plugins** +> JsonApiDashboardPluginOutList search_entities_dashboard_plugins(workspace_id, entity_search_body) + +Search request for DashboardPlugin + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import plugins_api +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from gooddata_api_client.model.json_api_dashboard_plugin_out_list import JsonApiDashboardPluginOutList +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = plugins_api.PluginsApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for DashboardPlugin + api_response = api_instance.search_entities_dashboard_plugins(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling PluginsApi->search_entities_dashboard_plugins: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for DashboardPlugin + api_response = api_instance.search_entities_dashboard_plugins(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling PluginsApi->search_entities_dashboard_plugins: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiDashboardPluginOutList**](JsonApiDashboardPluginOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -556,8 +656,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/Profile.md b/gooddata-api-client/docs/Profile.md new file mode 100644 index 000000000..f0ad17785 --- /dev/null +++ b/gooddata-api-client/docs/Profile.md @@ -0,0 +1,20 @@ +# Profile + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**entitlements** | [**[ApiEntitlement]**](ApiEntitlement.md) | Defines entitlements for given organization. | +**features** | [**ProfileFeatures**](ProfileFeatures.md) | | +**links** | [**ProfileLinks**](ProfileLinks.md) | | +**organization_id** | **str** | | +**organization_name** | **str** | | +**permissions** | **[str]** | | +**telemetry_config** | [**TelemetryConfig**](TelemetryConfig.md) | | +**user_id** | **str** | | +**name** | **str** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/ProfileFeatures.md b/gooddata-api-client/docs/ProfileFeatures.md new file mode 100644 index 000000000..8b695529c --- /dev/null +++ b/gooddata-api-client/docs/ProfileFeatures.md @@ -0,0 +1,13 @@ +# ProfileFeatures + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**live** | [**LiveFeaturesLive**](LiveFeaturesLive.md) | | [optional] +**static** | [**StaticFeaturesStatic**](StaticFeaturesStatic.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/ProfileLinks.md b/gooddata-api-client/docs/ProfileLinks.md new file mode 100644 index 000000000..c8690d9a9 --- /dev/null +++ b/gooddata-api-client/docs/ProfileLinks.md @@ -0,0 +1,14 @@ +# ProfileLinks + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**organization** | **str** | | +**_self** | **str** | | +**user** | **str** | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/RangeCondition.md b/gooddata-api-client/docs/RangeCondition.md new file mode 100644 index 000000000..37ee3541c --- /dev/null +++ b/gooddata-api-client/docs/RangeCondition.md @@ -0,0 +1,13 @@ +# RangeCondition + +Condition that checks if the metric value is within a given range. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**range** | [**RangeConditionRange**](RangeConditionRange.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/RangeConditionRange.md b/gooddata-api-client/docs/RangeConditionRange.md new file mode 100644 index 000000000..c0a84e866 --- /dev/null +++ b/gooddata-api-client/docs/RangeConditionRange.md @@ -0,0 +1,14 @@ +# RangeConditionRange + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**_from** | **float** | | +**operator** | **str** | | +**to** | **float** | | +**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/ReadCsvFileManifestsRequest.md b/gooddata-api-client/docs/ReadCsvFileManifestsRequest.md new file mode 100644 index 000000000..8ab382add --- /dev/null +++ b/gooddata-api-client/docs/ReadCsvFileManifestsRequest.md @@ -0,0 +1,13 @@ +# ReadCsvFileManifestsRequest + +Request to read the manifests of the specified CSV files. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**manifest_requests** | [**[ReadCsvFileManifestsRequestItem]**](ReadCsvFileManifestsRequestItem.md) | Files to read the manifests for. | +**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/ReadCsvFileManifestsRequestItem.md b/gooddata-api-client/docs/ReadCsvFileManifestsRequestItem.md new file mode 100644 index 000000000..6f85b235e --- /dev/null +++ b/gooddata-api-client/docs/ReadCsvFileManifestsRequestItem.md @@ -0,0 +1,14 @@ +# ReadCsvFileManifestsRequestItem + +Request to read the manifest of a single CSV file. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**file_name** | **str** | Name of the CSV file to read the manifest for. | +**version** | **int** | Optional version of the file to read the manifest for. If null or not specified, the latest version is read. | [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/ReadCsvFileManifestsResponse.md b/gooddata-api-client/docs/ReadCsvFileManifestsResponse.md new file mode 100644 index 000000000..8819669cb --- /dev/null +++ b/gooddata-api-client/docs/ReadCsvFileManifestsResponse.md @@ -0,0 +1,15 @@ +# ReadCsvFileManifestsResponse + +Describes the results of a CSV manifest read of a single file. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**manifest** | [**CsvManifestBody**](CsvManifestBody.md) | | +**name** | **str** | Name of the file in the source data source. | +**version** | **int** | Version of the file in the source data source. | +**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/Reasoning.md b/gooddata-api-client/docs/Reasoning.md new file mode 100644 index 000000000..6c60c1b38 --- /dev/null +++ b/gooddata-api-client/docs/Reasoning.md @@ -0,0 +1,14 @@ +# Reasoning + +Reasoning wrapper containing steps taken during request handling. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**steps** | [**[ReasoningStep]**](ReasoningStep.md) | Steps taken during processing, showing the AI's reasoning process. | +**answer** | **str** | Final answer/reasoning from the use case result. | [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/ReasoningStep.md b/gooddata-api-client/docs/ReasoningStep.md new file mode 100644 index 000000000..090920705 --- /dev/null +++ b/gooddata-api-client/docs/ReasoningStep.md @@ -0,0 +1,14 @@ +# ReasoningStep + +Steps taken during processing, showing the AI's reasoning process. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**thoughts** | [**[Thought]**](Thought.md) | Detailed thoughts/messages within this step. | +**title** | **str** | Title describing this reasoning step. | +**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/ReferenceSourceColumn.md b/gooddata-api-client/docs/ReferenceSourceColumn.md index 7de996605..ffe080e9d 100644 --- a/gooddata-api-client/docs/ReferenceSourceColumn.md +++ b/gooddata-api-client/docs/ReferenceSourceColumn.md @@ -7,6 +7,8 @@ Name | Type | Description | Notes **column** | **str** | | **target** | [**DatasetGrain**](DatasetGrain.md) | | **data_type** | **str** | | [optional] +**is_nullable** | **bool** | | [optional] +**null_value** | **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/SearchResult.md b/gooddata-api-client/docs/SearchResult.md index 8ccddcf01..0b7b34798 100644 --- a/gooddata-api-client/docs/SearchResult.md +++ b/gooddata-api-client/docs/SearchResult.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**reasoning** | **str** | If something is not working properly this field will contain explanation. | +**reasoning** | **str** | DEPRECATED: Use top-level reasoning.steps instead. If something is not working properly this field will contain explanation. | **relationships** | [**[SearchRelationshipObject]**](SearchRelationshipObject.md) | | **results** | [**[SearchResultObject]**](SearchResultObject.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] diff --git a/gooddata-api-client/docs/StaticFeatures.md b/gooddata-api-client/docs/StaticFeatures.md new file mode 100644 index 000000000..db1efcc95 --- /dev/null +++ b/gooddata-api-client/docs/StaticFeatures.md @@ -0,0 +1,13 @@ +# StaticFeatures + +Structure for offline feature flag + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**static** | [**StaticFeaturesStatic**](StaticFeaturesStatic.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/StaticFeaturesStatic.md b/gooddata-api-client/docs/StaticFeaturesStatic.md new file mode 100644 index 000000000..6240d1377 --- /dev/null +++ b/gooddata-api-client/docs/StaticFeaturesStatic.md @@ -0,0 +1,13 @@ +# StaticFeaturesStatic + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**context** | [**FeatureFlagsContext**](FeatureFlagsContext.md) | | +**items** | **{str: (str,)}** | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/StaticFeaturesStaticAllOf.md b/gooddata-api-client/docs/StaticFeaturesStaticAllOf.md new file mode 100644 index 000000000..f70ac22be --- /dev/null +++ b/gooddata-api-client/docs/StaticFeaturesStaticAllOf.md @@ -0,0 +1,12 @@ +# StaticFeaturesStaticAllOf + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**items** | **{str: (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/TelemetryConfig.md b/gooddata-api-client/docs/TelemetryConfig.md new file mode 100644 index 000000000..29a8e567f --- /dev/null +++ b/gooddata-api-client/docs/TelemetryConfig.md @@ -0,0 +1,14 @@ +# TelemetryConfig + +Telemetry-related configuration. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**context** | [**TelemetryContext**](TelemetryContext.md) | | +**services** | [**TelemetryServices**](TelemetryServices.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/TelemetryContext.md b/gooddata-api-client/docs/TelemetryContext.md new file mode 100644 index 000000000..e339c0227 --- /dev/null +++ b/gooddata-api-client/docs/TelemetryContext.md @@ -0,0 +1,15 @@ +# TelemetryContext + +The telemetry context. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**deployment_id** | **str** | Identification of the deployment. | +**organization_hash** | **str** | Organization hash. | +**user_hash** | **str** | User hash. | +**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/TelemetryServices.md b/gooddata-api-client/docs/TelemetryServices.md new file mode 100644 index 000000000..86ec17a79 --- /dev/null +++ b/gooddata-api-client/docs/TelemetryServices.md @@ -0,0 +1,15 @@ +# TelemetryServices + +Available telemetry services. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**amplitude** | [**AmplitudeService**](AmplitudeService.md) | | [optional] +**matomo** | [**MatomoService**](MatomoService.md) | | [optional] +**open_telemetry** | [**OpenTelemetryService**](OpenTelemetryService.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/Thought.md b/gooddata-api-client/docs/Thought.md new file mode 100644 index 000000000..eccfe8f66 --- /dev/null +++ b/gooddata-api-client/docs/Thought.md @@ -0,0 +1,13 @@ +# Thought + +Detailed thoughts/messages within this step. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**text** | **str** | The text content of this thought. | +**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/UploadFileResponse.md b/gooddata-api-client/docs/UploadFileResponse.md new file mode 100644 index 000000000..901d8ef7e --- /dev/null +++ b/gooddata-api-client/docs/UploadFileResponse.md @@ -0,0 +1,13 @@ +# UploadFileResponse + +Information related to the file uploaded to the staging area. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location** | **str** | Location to use when referencing the uploaded file in subsequent requests. | +**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/UploadGeoCollectionFileResponse.md b/gooddata-api-client/docs/UploadGeoCollectionFileResponse.md new file mode 100644 index 000000000..4a5b03e60 --- /dev/null +++ b/gooddata-api-client/docs/UploadGeoCollectionFileResponse.md @@ -0,0 +1,13 @@ +# UploadGeoCollectionFileResponse + +Information related to the geo collection file uploaded to the staging area. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location** | **str** | Location to use when referencing the uploaded file in subsequent requests. | +**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/UserAuthorizationApi.md b/gooddata-api-client/docs/UserAuthorizationApi.md new file mode 100644 index 000000000..795b33d8f --- /dev/null +++ b/gooddata-api-client/docs/UserAuthorizationApi.md @@ -0,0 +1,491 @@ +# gooddata_api_client.UserAuthorizationApi + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_user**](UserAuthorizationApi.md#create_user) | **POST** /api/v1/auth/users | Create a user +[**delete_user**](UserAuthorizationApi.md#delete_user) | **DELETE** /api/v1/auth/users/{userEmail} | Delete a user +[**get_profile**](UserAuthorizationApi.md#get_profile) | **GET** /api/v1/profile | Get Profile +[**get_user**](UserAuthorizationApi.md#get_user) | **GET** /api/v1/auth/users/{userEmail} | Get a user +[**get_users**](UserAuthorizationApi.md#get_users) | **GET** /api/v1/auth/users | Get all users +[**process_invitation**](UserAuthorizationApi.md#process_invitation) | **POST** /api/v1/actions/invite | Invite User +[**update_user**](UserAuthorizationApi.md#update_user) | **PUT** /api/v1/auth/users/{userEmail} | Update a user + + +# **create_user** +> AuthUser create_user(auth_user) + +Create a user + +Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import user_authorization_api +from gooddata_api_client.model.auth_user import AuthUser +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = user_authorization_api.UserAuthorizationApi(api_client) + auth_user = AuthUser( + authentication_id="authentication_id_example", + display_name="jeremy", + email="zeus@example.com", + password="password_example", + ) # AuthUser | + + # example passing only required values which don't have defaults set + try: + # Create a user + api_response = api_instance.create_user(auth_user) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling UserAuthorizationApi->create_user: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **auth_user** | [**AuthUser**](AuthUser.md)| | + +### Return type + +[**AuthUser**](AuthUser.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_user** +> delete_user(user_email) + +Delete a user + +Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import user_authorization_api +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = user_authorization_api.UserAuthorizationApi(api_client) + user_email = "userEmail_example" # str | + + # example passing only required values which don't have defaults set + try: + # Delete a user + api_instance.delete_user(user_email) + except gooddata_api_client.ApiException as e: + print("Exception when calling UserAuthorizationApi->delete_user: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_email** | **str**| | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | No Content | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_profile** +> Profile get_profile() + +Get Profile + +Returns a Profile including Organization and Current User Information. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import user_authorization_api +from gooddata_api_client.model.profile import Profile +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = user_authorization_api.UserAuthorizationApi(api_client) + + # example, this endpoint has no required or optional parameters + try: + # Get Profile + api_response = api_instance.get_profile() + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling UserAuthorizationApi->get_profile: %s\n" % e) +``` + + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**Profile**](Profile.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_user** +> AuthUser get_user(user_email) + +Get a user + +Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import user_authorization_api +from gooddata_api_client.model.auth_user import AuthUser +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = user_authorization_api.UserAuthorizationApi(api_client) + user_email = "userEmail_example" # str | + + # example passing only required values which don't have defaults set + try: + # Get a user + api_response = api_instance.get_user(user_email) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling UserAuthorizationApi->get_user: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_email** | **str**| | + +### Return type + +[**AuthUser**](AuthUser.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_users** +> [AuthUser] get_users() + +Get all users + +Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import user_authorization_api +from gooddata_api_client.model.auth_user import AuthUser +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = user_authorization_api.UserAuthorizationApi(api_client) + + # example, this endpoint has no required or optional parameters + try: + # Get all users + api_response = api_instance.get_users() + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling UserAuthorizationApi->get_users: %s\n" % e) +``` + + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**[AuthUser]**](AuthUser.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **process_invitation** +> process_invitation(invitation) + +Invite User + +Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import user_authorization_api +from gooddata_api_client.model.invitation import Invitation +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = user_authorization_api.UserAuthorizationApi(api_client) + invitation = Invitation( + email="email_example", + first_name="first_name_example", + force_send=True, + last_name="last_name_example", + user_id="user_id_example", + ) # Invitation | + + # example passing only required values which don't have defaults set + try: + # Invite User + api_instance.process_invitation(invitation) + except gooddata_api_client.ApiException as e: + print("Exception when calling UserAuthorizationApi->process_invitation: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **invitation** | [**Invitation**](Invitation.md)| | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | No Content | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_user** +> AuthUser update_user(user_email, auth_user) + +Update a user + +Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import user_authorization_api +from gooddata_api_client.model.auth_user import AuthUser +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = user_authorization_api.UserAuthorizationApi(api_client) + user_email = "userEmail_example" # str | + auth_user = AuthUser( + authentication_id="authentication_id_example", + display_name="jeremy", + email="zeus@example.com", + password="password_example", + ) # AuthUser | + + # example passing only required values which don't have defaults set + try: + # Update a user + api_response = api_instance.update_user(user_email, auth_user) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling UserAuthorizationApi->update_user: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_email** | **str**| | + **auth_user** | [**AuthUser**](AuthUser.md)| | + +### Return type + +[**AuthUser**](AuthUser.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/gooddata-api-client/docs/UserGroupsEntityAPIsApi.md b/gooddata-api-client/docs/UserGroupsEntityAPIsApi.md index e02a85710..c82c30f9e 100644 --- a/gooddata-api-client/docs/UserGroupsEntityAPIsApi.md +++ b/gooddata-api-client/docs/UserGroupsEntityAPIsApi.md @@ -99,8 +99,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -259,7 +259,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -341,7 +341,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -443,8 +443,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -546,8 +546,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/UserIdentifiersApi.md b/gooddata-api-client/docs/UserIdentifiersApi.md index e2e074072..09c164d38 100644 --- a/gooddata-api-client/docs/UserIdentifiersApi.md +++ b/gooddata-api-client/docs/UserIdentifiersApi.md @@ -77,7 +77,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -155,7 +155,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/UserManagementApi.md b/gooddata-api-client/docs/UserManagementApi.md index a2a5e3881..e8ea3cb5c 100644 --- a/gooddata-api-client/docs/UserManagementApi.md +++ b/gooddata-api-client/docs/UserManagementApi.md @@ -11,6 +11,8 @@ Method | HTTP request | Description [**list_permissions_for_user_group**](UserManagementApi.md#list_permissions_for_user_group) | **GET** /api/v1/actions/userManagement/userGroups/{userGroupId}/permissions | [**list_user_groups**](UserManagementApi.md#list_user_groups) | **GET** /api/v1/actions/userManagement/userGroups | [**list_users**](UserManagementApi.md#list_users) | **GET** /api/v1/actions/userManagement/users | +[**list_workspace_user_groups**](UserManagementApi.md#list_workspace_user_groups) | **GET** /api/v1/actions/workspaces/{workspaceId}/userGroups | +[**list_workspace_users**](UserManagementApi.md#list_workspace_users) | **GET** /api/v1/actions/workspaces/{workspaceId}/users | [**manage_permissions_for_user**](UserManagementApi.md#manage_permissions_for_user) | **POST** /api/v1/actions/userManagement/users/{userId}/permissions | [**manage_permissions_for_user_group**](UserManagementApi.md#manage_permissions_for_user_group) | **POST** /api/v1/actions/userManagement/userGroups/{userGroupId}/permissions | [**remove_group_members**](UserManagementApi.md#remove_group_members) | **POST** /api/v1/actions/userManagement/userGroups/{userGroupId}/removeMembers | @@ -510,6 +512,162 @@ No authorization required - **Accept**: application/json +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **list_workspace_user_groups** +> WorkspaceUserGroups list_workspace_user_groups(workspace_id) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import user_management_api +from gooddata_api_client.model.workspace_user_groups import WorkspaceUserGroups +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = user_management_api.UserManagementApi(api_client) + workspace_id = "workspaceId_example" # str | + page = page=0 # int | Zero-based page index (0..N) (optional) if omitted the server will use the default value of 0 + size = size=20 # int | The size of the page to be returned. (optional) if omitted the server will use the default value of 20 + name = "name=charles" # str | Filter by user name. Note that user name is case insensitive. (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.list_workspace_user_groups(workspace_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling UserManagementApi->list_workspace_user_groups: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.list_workspace_user_groups(workspace_id, page=page, size=size, name=name) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling UserManagementApi->list_workspace_user_groups: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **page** | **int**| Zero-based page index (0..N) | [optional] if omitted the server will use the default value of 0 + **size** | **int**| The size of the page to be returned. | [optional] if omitted the server will use the default value of 20 + **name** | **str**| Filter by user name. Note that user name is case insensitive. | [optional] + +### Return type + +[**WorkspaceUserGroups**](WorkspaceUserGroups.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **list_workspace_users** +> WorkspaceUsers list_workspace_users(workspace_id) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import user_management_api +from gooddata_api_client.model.workspace_users import WorkspaceUsers +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = user_management_api.UserManagementApi(api_client) + workspace_id = "workspaceId_example" # str | + page = page=0 # int | Zero-based page index (0..N) (optional) if omitted the server will use the default value of 0 + size = size=20 # int | The size of the page to be returned. (optional) if omitted the server will use the default value of 20 + name = "name=charles" # str | Filter by user name. Note that user name is case insensitive. (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.list_workspace_users(workspace_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling UserManagementApi->list_workspace_users: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.list_workspace_users(workspace_id, page=page, size=size, name=name) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling UserManagementApi->list_workspace_users: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **page** | **int**| Zero-based page index (0..N) | [optional] if omitted the server will use the default value of 0 + **size** | **int**| The size of the page to be returned. | [optional] if omitted the server will use the default value of 20 + **name** | **str**| Filter by user name. Note that user name is case insensitive. | [optional] + +### Return type + +[**WorkspaceUsers**](WorkspaceUsers.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + ### HTTP response details | Status code | Description | Response headers | diff --git a/gooddata-api-client/docs/UserSettingsApi.md b/gooddata-api-client/docs/UserSettingsApi.md index 867dbcc39..df298fbd7 100644 --- a/gooddata-api-client/docs/UserSettingsApi.md +++ b/gooddata-api-client/docs/UserSettingsApi.md @@ -76,8 +76,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -240,7 +240,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -318,7 +318,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -407,8 +407,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/UsersEntityAPIsApi.md b/gooddata-api-client/docs/UsersEntityAPIsApi.md index 6fdf6f43c..1a8fc78af 100644 --- a/gooddata-api-client/docs/UsersEntityAPIsApi.md +++ b/gooddata-api-client/docs/UsersEntityAPIsApi.md @@ -102,8 +102,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -262,7 +262,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -344,7 +344,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -449,8 +449,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -555,8 +555,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/VisualizationObjectApi.md b/gooddata-api-client/docs/VisualizationObjectApi.md index dfceada8f..0568dec14 100644 --- a/gooddata-api-client/docs/VisualizationObjectApi.md +++ b/gooddata-api-client/docs/VisualizationObjectApi.md @@ -9,6 +9,7 @@ Method | HTTP request | Description [**get_all_entities_visualization_objects**](VisualizationObjectApi.md#get_all_entities_visualization_objects) | **GET** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects | Get all Visualization Objects [**get_entity_visualization_objects**](VisualizationObjectApi.md#get_entity_visualization_objects) | **GET** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Get a Visualization Object [**patch_entity_visualization_objects**](VisualizationObjectApi.md#patch_entity_visualization_objects) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Patch a Visualization Object +[**search_entities_visualization_objects**](VisualizationObjectApi.md#search_entities_visualization_objects) | **POST** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/search | Search request for VisualizationObject [**update_entity_visualization_objects**](VisualizationObjectApi.md#update_entity_visualization_objects) | **PUT** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Put a Visualization Object @@ -100,8 +101,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -272,7 +273,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -360,7 +361,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -459,8 +460,107 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_visualization_objects** +> JsonApiVisualizationObjectOutList search_entities_visualization_objects(workspace_id, entity_search_body) + +Search request for VisualizationObject + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import visualization_object_api +from gooddata_api_client.model.json_api_visualization_object_out_list import JsonApiVisualizationObjectOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = visualization_object_api.VisualizationObjectApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for VisualizationObject + api_response = api_instance.search_entities_visualization_objects(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling VisualizationObjectApi->search_entities_visualization_objects: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for VisualizationObject + api_response = api_instance.search_entities_visualization_objects(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling VisualizationObjectApi->search_entities_visualization_objects: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiVisualizationObjectOutList**](JsonApiVisualizationObjectOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -559,8 +659,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/Webhook.md b/gooddata-api-client/docs/Webhook.md index 81cc3adc8..cbd46e96d 100644 --- a/gooddata-api-client/docs/Webhook.md +++ b/gooddata-api-client/docs/Webhook.md @@ -6,7 +6,9 @@ Webhook destination for notifications. The property url is required on create an Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **str** | The destination type. | defaults to "WEBHOOK" +**has_secret_key** | **bool, none_type** | Flag indicating if webhook has a hmac secret key. | [optional] [readonly] **has_token** | **bool, none_type** | Flag indicating if webhook has a token. | [optional] [readonly] +**secret_key** | **str, none_type** | Hmac secret key for the webhook signature. | [optional] **token** | **str, none_type** | Bearer token for the webhook. | [optional] **url** | **str** | The webhook URL. | [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/WebhookAllOf.md b/gooddata-api-client/docs/WebhookAllOf.md index 1da385e28..9097a0fcb 100644 --- a/gooddata-api-client/docs/WebhookAllOf.md +++ b/gooddata-api-client/docs/WebhookAllOf.md @@ -4,7 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**has_secret_key** | **bool, none_type** | Flag indicating if webhook has a hmac secret key. | [optional] [readonly] **has_token** | **bool, none_type** | Flag indicating if webhook has a token. | [optional] [readonly] +**secret_key** | **str, none_type** | Hmac secret key for the webhook signature. | [optional] **token** | **str, none_type** | Bearer token for the webhook. | [optional] **type** | **str** | The destination type. | [optional] if omitted the server will use the default value of "WEBHOOK" **url** | **str** | The webhook URL. | [optional] diff --git a/gooddata-api-client/docs/WorkspaceCacheSettings.md b/gooddata-api-client/docs/WorkspaceCacheSettings.md new file mode 100644 index 000000000..cdaf219b5 --- /dev/null +++ b/gooddata-api-client/docs/WorkspaceCacheSettings.md @@ -0,0 +1,13 @@ +# WorkspaceCacheSettings + +Cache settings for the workspace. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**extra_cache** | **int** | Extra cache for the workspace, in bytes. | +**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/WorkspaceCacheUsage.md b/gooddata-api-client/docs/WorkspaceCacheUsage.md new file mode 100644 index 000000000..206f58e5d --- /dev/null +++ b/gooddata-api-client/docs/WorkspaceCacheUsage.md @@ -0,0 +1,15 @@ +# WorkspaceCacheUsage + +Data about a particular workspace cache usage. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**current** | [**WorkspaceCurrentCacheUsage**](WorkspaceCurrentCacheUsage.md) | | +**removal_intervals** | [**[CacheRemovalInterval]**](CacheRemovalInterval.md) | List of cache removal intervals for workspace. | +**settings** | [**WorkspaceCacheSettings**](WorkspaceCacheSettings.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/WorkspaceCurrentCacheUsage.md b/gooddata-api-client/docs/WorkspaceCurrentCacheUsage.md new file mode 100644 index 000000000..3f35ad54f --- /dev/null +++ b/gooddata-api-client/docs/WorkspaceCurrentCacheUsage.md @@ -0,0 +1,16 @@ +# WorkspaceCurrentCacheUsage + +Current cache usage of the workspace. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cache_available** | **int** | Cache available for the workspace. | +**cache_used** | **int** | Cache used by the workspace. | +**removal_period_start** | **datetime** | Start timestamp of removal period for the workspace. | +**removed_since_start** | **int** | Bytes removed since start due to insufficient cache for the workspace. | +**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/WorkspacesDeclarativeAPIsApi.md b/gooddata-api-client/docs/WorkspacesDeclarativeAPIsApi.md index 33dc9f1be..a75545b63 100644 --- a/gooddata-api-client/docs/WorkspacesDeclarativeAPIsApi.md +++ b/gooddata-api-client/docs/WorkspacesDeclarativeAPIsApi.md @@ -349,6 +349,8 @@ with gooddata_api_client.ApiClient() as api_client: DeclarativeAggregatedFact( description="A number of orders created by the customer - including all orders, even the non-delivered ones.", id="fact.customer_order_count", + is_nullable=False, + null_value="0", source_column="customer_order_count", source_column_data_type="NUMERIC", source_fact_reference=DeclarativeSourceFactReference( @@ -370,17 +372,21 @@ with gooddata_api_client.ApiClient() as api_client: description="Customer name including first and last name.", id="attr.customers.customer_name", is_hidden=False, + is_nullable=False, labels=[ DeclarativeLabel( description="Customer name", geo_area_config=GeoAreaConfig( - collection=GeoCollection( + collection=GeoCollectionIdentifier( id="id_example", + kind="STATIC", ), ), id="label.customer_name", is_hidden=False, + is_nullable=False, locale="en-US", + null_value="empty_value", source_column="customer_name", source_column_data_type="STRING", tags=["Customers"], @@ -395,6 +401,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ], locale="en-US", + null_value="empty_value", sort_column="customer_name", sort_direction="ASC" | "DESC", source_column="customer_name", @@ -415,6 +422,8 @@ with gooddata_api_client.ApiClient() as api_client: description="A number of orders created by the customer - including all orders, even the non-delivered ones.", id="fact.customer_order_count", is_hidden=False, + is_nullable=False, + null_value="0", source_column="customer_order_count", source_column_data_type="NUMERIC", tags=["Customers"], @@ -444,6 +453,8 @@ with gooddata_api_client.ApiClient() as api_client: DeclarativeReferenceSource( column="customer_id", data_type="STRING", + is_nullable=False, + null_value="empty_value", target=GrainIdentifier( id="attr.customers.customer_name", type="ATTRIBUTE", @@ -686,7 +697,16 @@ with gooddata_api_client.ApiClient() as api_client: ), ), ], - metadata=AutomationMetadata(), + metadata=AutomationMetadata( + visible_filters=[ + VisibleFilter( + is_all_time_date_filter=False, + local_identifier="local_identifier_example", + title="title_example", + ), + ], + widget="widget_example", + ), modified_at="2023-07-20 12:30", modified_by=DeclarativeUserIdentifier( id="employee123", @@ -1053,6 +1073,8 @@ with gooddata_api_client.ApiClient() as api_client: DeclarativeAggregatedFact( description="A number of orders created by the customer - including all orders, even the non-delivered ones.", id="fact.customer_order_count", + is_nullable=False, + null_value="0", source_column="customer_order_count", source_column_data_type="NUMERIC", source_fact_reference=DeclarativeSourceFactReference( @@ -1074,17 +1096,21 @@ with gooddata_api_client.ApiClient() as api_client: description="Customer name including first and last name.", id="attr.customers.customer_name", is_hidden=False, + is_nullable=False, labels=[ DeclarativeLabel( description="Customer name", geo_area_config=GeoAreaConfig( - collection=GeoCollection( + collection=GeoCollectionIdentifier( id="id_example", + kind="STATIC", ), ), id="label.customer_name", is_hidden=False, + is_nullable=False, locale="en-US", + null_value="empty_value", source_column="customer_name", source_column_data_type="STRING", tags=["Customers"], @@ -1099,6 +1125,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ], locale="en-US", + null_value="empty_value", sort_column="customer_name", sort_direction="ASC" | "DESC", source_column="customer_name", @@ -1119,6 +1146,8 @@ with gooddata_api_client.ApiClient() as api_client: description="A number of orders created by the customer - including all orders, even the non-delivered ones.", id="fact.customer_order_count", is_hidden=False, + is_nullable=False, + null_value="0", source_column="customer_order_count", source_column_data_type="NUMERIC", tags=["Customers"], @@ -1148,6 +1177,8 @@ with gooddata_api_client.ApiClient() as api_client: DeclarativeReferenceSource( column="customer_id", data_type="STRING", + is_nullable=False, + null_value="empty_value", target=GrainIdentifier( id="attr.customers.customer_name", type="ATTRIBUTE", diff --git a/gooddata-api-client/docs/WorkspacesEntityAPIsApi.md b/gooddata-api-client/docs/WorkspacesEntityAPIsApi.md index 349658e87..7871c39a0 100644 --- a/gooddata-api-client/docs/WorkspacesEntityAPIsApi.md +++ b/gooddata-api-client/docs/WorkspacesEntityAPIsApi.md @@ -71,7 +71,7 @@ with gooddata_api_client.ApiClient() as api_client: "parent", ] # [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=config,permissions,hierarchy,dataModelDatasets,all", + "metaInclude=permissions,config,hierarchy,dataModelDatasets,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set @@ -111,8 +111,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -235,7 +235,7 @@ with gooddata_api_client.ApiClient() as api_client: "sort_example", ] # [str] | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) meta_include = [ - "metaInclude=config,permissions,hierarchy,dataModelDatasets,page,all", + "metaInclude=permissions,config,hierarchy,dataModelDatasets,page,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set @@ -271,7 +271,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -315,7 +315,7 @@ with gooddata_api_client.ApiClient() as api_client: "parent", ] # [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=config,permissions,hierarchy,dataModelDatasets,all", + "metaInclude=permissions,config,hierarchy,dataModelDatasets,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set @@ -357,7 +357,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -467,8 +467,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -578,8 +578,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/WorkspacesSettingsApi.md b/gooddata-api-client/docs/WorkspacesSettingsApi.md index 2443000a6..c294fa4e6 100644 --- a/gooddata-api-client/docs/WorkspacesSettingsApi.md +++ b/gooddata-api-client/docs/WorkspacesSettingsApi.md @@ -14,6 +14,8 @@ Method | HTTP request | Description [**get_entity_workspace_settings**](WorkspacesSettingsApi.md#get_entity_workspace_settings) | **GET** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Get a Setting for Workspace [**patch_entity_custom_application_settings**](WorkspacesSettingsApi.md#patch_entity_custom_application_settings) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Patch a Custom Application Setting [**patch_entity_workspace_settings**](WorkspacesSettingsApi.md#patch_entity_workspace_settings) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Patch a Setting for Workspace +[**search_entities_custom_application_settings**](WorkspacesSettingsApi.md#search_entities_custom_application_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/search | Search request for CustomApplicationSetting +[**search_entities_workspace_settings**](WorkspacesSettingsApi.md#search_entities_workspace_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/search | [**update_entity_custom_application_settings**](WorkspacesSettingsApi.md#update_entity_custom_application_settings) | **PUT** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Put a Custom Application Setting [**update_entity_workspace_settings**](WorkspacesSettingsApi.md#update_entity_workspace_settings) | **PUT** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Put a Setting for a Workspace [**workspace_resolve_all_settings**](WorkspacesSettingsApi.md#workspace_resolve_all_settings) | **GET** /api/v1/actions/workspaces/{workspaceId}/resolveSettings | Values for all settings. @@ -98,8 +100,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -188,8 +190,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -431,7 +433,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -523,7 +525,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -607,7 +609,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -691,7 +693,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -780,8 +782,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -870,8 +872,204 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_custom_application_settings** +> JsonApiCustomApplicationSettingOutList search_entities_custom_application_settings(workspace_id, entity_search_body) + +Search request for CustomApplicationSetting + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import workspaces_settings_api +from gooddata_api_client.model.json_api_custom_application_setting_out_list import JsonApiCustomApplicationSettingOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = workspaces_settings_api.WorkspacesSettingsApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Search request for CustomApplicationSetting + api_response = api_instance.search_entities_custom_application_settings(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling WorkspacesSettingsApi->search_entities_custom_application_settings: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Search request for CustomApplicationSetting + api_response = api_instance.search_entities_custom_application_settings(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling WorkspacesSettingsApi->search_entities_custom_application_settings: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiCustomApplicationSettingOutList**](JsonApiCustomApplicationSettingOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_entities_workspace_settings** +> JsonApiWorkspaceSettingOutList search_entities_workspace_settings(workspace_id, entity_search_body) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import workspaces_settings_api +from gooddata_api_client.model.json_api_workspace_setting_out_list import JsonApiWorkspaceSettingOutList +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = workspaces_settings_api.WorkspacesSettingsApi(api_client) + workspace_id = "workspaceId_example" # str | + entity_search_body = EntitySearchBody( + filter="filter_example", + include=[ + "include_example", + ], + meta_include=[ + "meta_include_example", + ], + page=EntitySearchPage( + index=0, + size=100, + ), + sort=[ + EntitySearchSort( + direction="ASC", + _property="_property_example", + ), + ], + ) # EntitySearchBody | Search request body with filter, pagination, and sorting options + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.search_entities_workspace_settings(workspace_id, entity_search_body) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling WorkspacesSettingsApi->search_entities_workspace_settings: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.search_entities_workspace_settings(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling WorkspacesSettingsApi->search_entities_workspace_settings: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **entity_search_body** | [**EntitySearchBody**](EntitySearchBody.md)| Search request body with filter, pagination, and sorting options | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiWorkspaceSettingOutList**](JsonApiWorkspaceSettingOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -960,8 +1158,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details @@ -1050,8 +1248,8 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details diff --git a/gooddata-api-client/docs/Xliff.md b/gooddata-api-client/docs/Xliff.md index 6bfea0d90..6bdde8c9a 100644 --- a/gooddata-api-client/docs/Xliff.md +++ b/gooddata-api-client/docs/Xliff.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**file** | [**[File]**](File.md) | | [optional] +**file** | [**[File]**](File.md) | | **other_attributes** | **{str: (str,)}** | | [optional] **space** | **str** | | [optional] **src_lang** | **str** | | [optional] diff --git a/gooddata-api-client/gooddata_api_client/__init__.py b/gooddata-api-client/gooddata_api_client/__init__.py index f310e9fb3..414d8b5b9 100644 --- a/gooddata-api-client/gooddata_api_client/__init__.py +++ b/gooddata-api-client/gooddata_api_client/__init__.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/__init__.py b/gooddata-api-client/gooddata_api_client/api/__init__.py index ec1c32836..84578bba0 100644 --- a/gooddata-api-client/gooddata_api_client/api/__init__.py +++ b/gooddata-api-client/gooddata_api_client/api/__init__.py @@ -1,3 +1,3 @@ # do not import all apis into this module because that uses a lot of memory and stack frames # if you need the ability to import all apis from one package, import them with -# from gooddata_api_client.apis import AIApi +# from gooddata_api_client.apis import APITokensApi diff --git a/gooddata-api-client/gooddata_api_client/api/analytics_model_api.py b/gooddata-api-client/gooddata_api_client/api/analytics_model_api.py index 6fac04e08..57b666e7d 100644 --- a/gooddata-api-client/gooddata_api_client/api/analytics_model_api.py +++ b/gooddata-api-client/gooddata_api_client/api/analytics_model_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/api_tokens_api.py b/gooddata-api-client/gooddata_api_client/api/api_tokens_api.py index cd8c80aa7..69cd10a8c 100644 --- a/gooddata-api-client/gooddata_api_client/api/api_tokens_api.py +++ b/gooddata-api-client/gooddata_api_client/api/api_tokens_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -86,9 +86,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -240,6 +242,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -307,6 +310,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], diff --git a/gooddata-api-client/gooddata_api_client/api/appearance_api.py b/gooddata-api-client/gooddata_api_client/api/appearance_api.py index 34c1e7d72..db141b446 100644 --- a/gooddata-api-client/gooddata_api_client/api/appearance_api.py +++ b/gooddata-api-client/gooddata_api_client/api/appearance_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -85,9 +85,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -135,9 +137,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -335,6 +339,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -415,6 +420,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -476,6 +482,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -537,6 +544,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -603,9 +611,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -671,9 +681,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -739,9 +751,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -807,9 +821,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, diff --git a/gooddata-api-client/gooddata_api_client/api/attribute_hierarchies_api.py b/gooddata-api-client/gooddata_api_client/api/attribute_hierarchies_api.py index f18c58fbd..63dcd3fb2 100644 --- a/gooddata-api-client/gooddata_api_client/api/attribute_hierarchies_api.py +++ b/gooddata-api-client/gooddata_api_client/api/attribute_hierarchies_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -22,6 +22,7 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.entity_search_body import EntitySearchBody from gooddata_api_client.model.json_api_attribute_hierarchy_in_document import JsonApiAttributeHierarchyInDocument from gooddata_api_client.model.json_api_attribute_hierarchy_out_document import JsonApiAttributeHierarchyOutDocument from gooddata_api_client.model.json_api_attribute_hierarchy_out_list import JsonApiAttributeHierarchyOutList @@ -119,9 +120,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -299,6 +302,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -396,6 +400,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -476,14 +481,90 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, api_client=api_client ) + self.search_entities_attribute_hierarchies_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiAttributeHierarchyOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/search', + 'operation_id': 'search_entities_attribute_hierarchies', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.update_entity_attribute_hierarchies_endpoint = _Endpoint( settings={ 'response_type': (JsonApiAttributeHierarchyOutDocument,), @@ -558,9 +639,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -1014,6 +1097,94 @@ def patch_entity_attribute_hierarchies( json_api_attribute_hierarchy_patch_document return self.patch_entity_attribute_hierarchies_endpoint.call_with_http_info(**kwargs) + def search_entities_attribute_hierarchies( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for AttributeHierarchy # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_attribute_hierarchies(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiAttributeHierarchyOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_attribute_hierarchies_endpoint.call_with_http_info(**kwargs) + def update_entity_attribute_hierarchies( self, workspace_id, diff --git a/gooddata-api-client/gooddata_api_client/api/attributes_api.py b/gooddata-api-client/gooddata_api_client/api/attributes_api.py index 5b03f29f4..c33ad535a 100644 --- a/gooddata-api-client/gooddata_api_client/api/attributes_api.py +++ b/gooddata-api-client/gooddata_api_client/api/attributes_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -22,6 +22,7 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.entity_search_body import EntitySearchBody from gooddata_api_client.model.json_api_attribute_out_document import JsonApiAttributeOutDocument from gooddata_api_client.model.json_api_attribute_out_list import JsonApiAttributeOutList from gooddata_api_client.model.json_api_attribute_patch_document import JsonApiAttributePatchDocument @@ -153,6 +154,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -251,6 +253,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -332,14 +335,90 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, api_client=api_client ) + self.search_entities_attributes_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiAttributeOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/attributes/search', + 'operation_id': 'search_entities_attributes', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) def get_all_entities_attributes( self, @@ -613,3 +692,91 @@ def patch_entity_attributes( json_api_attribute_patch_document return self.patch_entity_attributes_endpoint.call_with_http_info(**kwargs) + def search_entities_attributes( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for Attribute # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_attributes(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiAttributeOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_attributes_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/automations_api.py b/gooddata-api-client/gooddata_api_client/api/automations_api.py index 121846d97..e5bfb6295 100644 --- a/gooddata-api-client/gooddata_api_client/api/automations_api.py +++ b/gooddata-api-client/gooddata_api_client/api/automations_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -23,10 +23,12 @@ validate_and_convert_types ) from gooddata_api_client.model.declarative_automation import DeclarativeAutomation +from gooddata_api_client.model.entity_search_body import EntitySearchBody from gooddata_api_client.model.json_api_automation_in_document import JsonApiAutomationInDocument from gooddata_api_client.model.json_api_automation_out_document import JsonApiAutomationOutDocument from gooddata_api_client.model.json_api_automation_out_list import JsonApiAutomationOutList from gooddata_api_client.model.json_api_automation_patch_document import JsonApiAutomationPatchDocument +from gooddata_api_client.model.json_api_automation_result_out_list import JsonApiAutomationResultOutList from gooddata_api_client.model.json_api_workspace_automation_out_list import JsonApiWorkspaceAutomationOutList from gooddata_api_client.model.organization_automation_management_bulk_request import OrganizationAutomationManagementBulkRequest from gooddata_api_client.model.trigger_automation_request import TriggerAutomationRequest @@ -131,9 +133,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -397,6 +401,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -524,6 +529,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -688,6 +694,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -775,9 +782,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -885,6 +894,154 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.search_entities_automation_results_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiAutomationResultOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/automationResults/search', + 'operation_id': 'search_entities_automation_results', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.search_entities_automations_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiAutomationOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/automations/search', + 'operation_id': 'search_entities_automations', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.set_automations_endpoint = _Endpoint( settings={ 'response_type': None, @@ -1471,9 +1628,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -2430,6 +2589,182 @@ def pause_workspace_automations( workspace_automation_management_bulk_request return self.pause_workspace_automations_endpoint.call_with_http_info(**kwargs) + def search_entities_automation_results( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for AutomationResult # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_automation_results(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiAutomationResultOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_automation_results_endpoint.call_with_http_info(**kwargs) + + def search_entities_automations( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for Automation # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_automations(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiAutomationOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_automations_endpoint.call_with_http_info(**kwargs) + def set_automations( self, workspace_id, diff --git a/gooddata-api-client/gooddata_api_client/api/available_drivers_api.py b/gooddata-api-client/gooddata_api_client/api/available_drivers_api.py index 7b0c2d7bc..54deb9e50 100644 --- a/gooddata-api-client/gooddata_api_client/api/available_drivers_api.py +++ b/gooddata-api-client/gooddata_api_client/api/available_drivers_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/cache_usage_api.py b/gooddata-api-client/gooddata_api_client/api/cache_usage_api.py new file mode 100644 index 000000000..cf96f2a0b --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/api/cache_usage_api.py @@ -0,0 +1,159 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.api_client import ApiClient, Endpoint as _Endpoint +from gooddata_api_client.model_utils import ( # noqa: F401 + check_allowed_values, + check_validations, + date, + datetime, + file_type, + none_type, + validate_and_convert_types +) +from gooddata_api_client.model.cache_usage_data import CacheUsageData + + +class CacheUsageApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + self.collect_cache_usage_endpoint = _Endpoint( + settings={ + 'response_type': (CacheUsageData,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/collectCacheUsage', + 'operation_id': 'collect_cache_usage', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + ], + 'required': [], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + }, + 'attribute_map': { + }, + 'location_map': { + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + + def collect_cache_usage( + self, + **kwargs + ): + """Collect data about the current cache usage # noqa: E501 + + Get the detailed data about how much cache your organization is currently using, broken down by individual workspaces. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.collect_cache_usage(async_req=True) + >>> result = thread.get() + + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + CacheUsageData + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + return self.collect_cache_usage_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/computation_api.py b/gooddata-api-client/gooddata_api_client/api/computation_api.py index d99a4b863..5dc74c37b 100644 --- a/gooddata-api-client/gooddata_api_client/api/computation_api.py +++ b/gooddata-api-client/gooddata_api_client/api/computation_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -22,6 +22,7 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.afm_cancel_tokens import AfmCancelTokens from gooddata_api_client.model.afm_execution import AfmExecution from gooddata_api_client.model.afm_execution_response import AfmExecutionResponse from gooddata_api_client.model.afm_valid_descendants_query import AfmValidDescendantsQuery @@ -39,6 +40,9 @@ from gooddata_api_client.model.key_drivers_request import KeyDriversRequest from gooddata_api_client.model.key_drivers_response import KeyDriversResponse from gooddata_api_client.model.key_drivers_result import KeyDriversResult +from gooddata_api_client.model.outlier_detection_request import OutlierDetectionRequest +from gooddata_api_client.model.outlier_detection_response import OutlierDetectionResponse +from gooddata_api_client.model.outlier_detection_result import OutlierDetectionResult from gooddata_api_client.model.result_cache_metadata import ResultCacheMetadata @@ -53,6 +57,69 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client + self.cancel_executions_endpoint = _Endpoint( + settings={ + 'response_type': (AfmCancelTokens,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/execution/afm/cancel', + 'operation_id': 'cancel_executions', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'afm_cancel_tokens', + ], + 'required': [ + 'workspace_id', + 'afm_cancel_tokens', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'workspace_id', + ] + }, + root_map={ + 'validations': { + ('workspace_id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'afm_cancel_tokens': + (AfmCancelTokens,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + }, + 'location_map': { + 'workspace_id': 'path', + 'afm_cancel_tokens': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.change_analysis_endpoint = _Endpoint( settings={ 'response_type': (ChangeAnalysisResponse,), @@ -749,6 +816,146 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.outlier_detection_endpoint = _Endpoint( + settings={ + 'response_type': (OutlierDetectionResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/execution/detectOutliers', + 'operation_id': 'outlier_detection', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'outlier_detection_request', + 'skip_cache', + ], + 'required': [ + 'workspace_id', + 'outlier_detection_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'workspace_id', + ] + }, + root_map={ + 'validations': { + ('workspace_id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'outlier_detection_request': + (OutlierDetectionRequest,), + 'skip_cache': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'skip_cache': 'skip-cache', + }, + 'location_map': { + 'workspace_id': 'path', + 'outlier_detection_request': 'body', + 'skip_cache': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.outlier_detection_result_endpoint = _Endpoint( + settings={ + 'response_type': (OutlierDetectionResult,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/execution/detectOutliers/result/{resultId}', + 'operation_id': 'outlier_detection_result', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'result_id', + 'offset', + 'limit', + ], + 'required': [ + 'workspace_id', + 'result_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'workspace_id', + ] + }, + root_map={ + 'validations': { + ('workspace_id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'result_id': + (str,), + 'offset': + (int,), + 'limit': + (int,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'result_id': 'resultId', + 'offset': 'offset', + 'limit': 'limit', + }, + 'location_map': { + 'workspace_id': 'path', + 'result_id': 'path', + 'offset': 'query', + 'limit': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.retrieve_execution_metadata_endpoint = _Endpoint( settings={ 'response_type': (ResultCacheMetadata,), @@ -897,6 +1104,93 @@ def __init__(self, api_client=None): api_client=api_client ) + def cancel_executions( + self, + workspace_id, + afm_cancel_tokens, + **kwargs + ): + """Applies all the given cancel tokens. # noqa: E501 + + Each cancel token corresponds to one unique execution request for the same result id. If all cancel tokens for the same result id are applied, the execution for this result id is cancelled. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.cancel_executions(workspace_id, afm_cancel_tokens, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): Workspace identifier + afm_cancel_tokens (AfmCancelTokens): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AfmCancelTokens + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['afm_cancel_tokens'] = \ + afm_cancel_tokens + return self.cancel_executions_endpoint.call_with_http_info(**kwargs) + def change_analysis( self, workspace_id, @@ -1776,6 +2070,183 @@ def key_driver_analysis_result( result_id return self.key_driver_analysis_result_endpoint.call_with_http_info(**kwargs) + def outlier_detection( + self, + workspace_id, + outlier_detection_request, + **kwargs + ): + """(BETA) Outlier Detection # noqa: E501 + + (BETA) Computes outlier detection for the provided execution definition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.outlier_detection(workspace_id, outlier_detection_request, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): Workspace identifier + outlier_detection_request (OutlierDetectionRequest): + + Keyword Args: + skip_cache (bool): Ignore all caches during execution of current request.. [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + OutlierDetectionResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['outlier_detection_request'] = \ + outlier_detection_request + return self.outlier_detection_endpoint.call_with_http_info(**kwargs) + + def outlier_detection_result( + self, + workspace_id, + result_id, + **kwargs + ): + """(BETA) Outlier Detection Result # noqa: E501 + + (BETA) Gets outlier detection result. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.outlier_detection_result(workspace_id, result_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): Workspace identifier + result_id (str): Result ID + + Keyword Args: + offset (int): [optional] + limit (int): [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + OutlierDetectionResult + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['result_id'] = \ + result_id + return self.outlier_detection_result_endpoint.call_with_http_info(**kwargs) + def retrieve_execution_metadata( self, workspace_id, diff --git a/gooddata-api-client/gooddata_api_client/api/cookie_security_configuration_api.py b/gooddata-api-client/gooddata_api_client/api/cookie_security_configuration_api.py index d98cb6022..b2cdbdfc5 100644 --- a/gooddata-api-client/gooddata_api_client/api/cookie_security_configuration_api.py +++ b/gooddata-api-client/gooddata_api_client/api/cookie_security_configuration_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -93,6 +93,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -159,9 +160,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -227,9 +230,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, diff --git a/gooddata-api-client/gooddata_api_client/api/csp_directives_api.py b/gooddata-api-client/gooddata_api_client/api/csp_directives_api.py index 865fb9ce1..005742b35 100644 --- a/gooddata-api-client/gooddata_api_client/api/csp_directives_api.py +++ b/gooddata-api-client/gooddata_api_client/api/csp_directives_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -81,9 +81,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -222,6 +224,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -283,6 +286,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -349,9 +353,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -417,9 +423,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, diff --git a/gooddata-api-client/gooddata_api_client/api/dashboards_api.py b/gooddata-api-client/gooddata_api_client/api/dashboards_api.py index 359ba474a..f552e11eb 100644 --- a/gooddata-api-client/gooddata_api_client/api/dashboards_api.py +++ b/gooddata-api-client/gooddata_api_client/api/dashboards_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -22,6 +22,7 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.entity_search_body import EntitySearchBody from gooddata_api_client.model.json_api_analytical_dashboard_in_document import JsonApiAnalyticalDashboardInDocument from gooddata_api_client.model.json_api_analytical_dashboard_out_document import JsonApiAnalyticalDashboardOutDocument from gooddata_api_client.model.json_api_analytical_dashboard_out_list import JsonApiAnalyticalDashboardOutList @@ -128,9 +129,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -316,6 +319,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -421,6 +425,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -507,14 +512,90 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, api_client=api_client ) + self.search_entities_analytical_dashboards_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiAnalyticalDashboardOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/search', + 'operation_id': 'search_entities_analytical_dashboards', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.update_entity_analytical_dashboards_endpoint = _Endpoint( settings={ 'response_type': (JsonApiAnalyticalDashboardOutDocument,), @@ -595,9 +676,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -1051,6 +1134,94 @@ def patch_entity_analytical_dashboards( json_api_analytical_dashboard_patch_document return self.patch_entity_analytical_dashboards_endpoint.call_with_http_info(**kwargs) + def search_entities_analytical_dashboards( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for AnalyticalDashboard # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_analytical_dashboards(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiAnalyticalDashboardOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_analytical_dashboards_endpoint.call_with_http_info(**kwargs) + def update_entity_analytical_dashboards( self, workspace_id, diff --git a/gooddata-api-client/gooddata_api_client/api/data_filters_api.py b/gooddata-api-client/gooddata_api_client/api/data_filters_api.py index c1f2df288..c6843d5e7 100644 --- a/gooddata-api-client/gooddata_api_client/api/data_filters_api.py +++ b/gooddata-api-client/gooddata_api_client/api/data_filters_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -23,6 +23,7 @@ validate_and_convert_types ) from gooddata_api_client.model.declarative_workspace_data_filters import DeclarativeWorkspaceDataFilters +from gooddata_api_client.model.entity_search_body import EntitySearchBody from gooddata_api_client.model.json_api_user_data_filter_in_document import JsonApiUserDataFilterInDocument from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument from gooddata_api_client.model.json_api_user_data_filter_out_list import JsonApiUserDataFilterOutList @@ -134,9 +135,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -220,9 +223,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -306,9 +311,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -607,6 +614,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -725,6 +733,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -843,6 +852,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -945,6 +955,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -1040,6 +1051,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -1135,6 +1147,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -1262,9 +1275,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -1342,9 +1357,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -1422,14 +1439,238 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, api_client=api_client ) + self.search_entities_user_data_filters_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiUserDataFilterOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/userDataFilters/search', + 'operation_id': 'search_entities_user_data_filters', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.search_entities_workspace_data_filter_settings_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiWorkspaceDataFilterSettingOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/search', + 'operation_id': 'search_entities_workspace_data_filter_settings', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.search_entities_workspace_data_filters_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiWorkspaceDataFilterOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/search', + 'operation_id': 'search_entities_workspace_data_filters', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.set_workspace_data_filters_layout_endpoint = _Endpoint( settings={ 'response_type': None, @@ -1557,9 +1798,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -1637,9 +1880,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -1717,9 +1962,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -3145,6 +3392,270 @@ def patch_entity_workspace_data_filters( json_api_workspace_data_filter_patch_document return self.patch_entity_workspace_data_filters_endpoint.call_with_http_info(**kwargs) + def search_entities_user_data_filters( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for UserDataFilter # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_user_data_filters(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiUserDataFilterOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_user_data_filters_endpoint.call_with_http_info(**kwargs) + + def search_entities_workspace_data_filter_settings( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for WorkspaceDataFilterSetting # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_workspace_data_filter_settings(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiWorkspaceDataFilterSettingOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_workspace_data_filter_settings_endpoint.call_with_http_info(**kwargs) + + def search_entities_workspace_data_filters( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for WorkspaceDataFilter # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_workspace_data_filters(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiWorkspaceDataFilterOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_workspace_data_filters_endpoint.call_with_http_info(**kwargs) + def set_workspace_data_filters_layout( self, declarative_workspace_data_filters, diff --git a/gooddata-api-client/gooddata_api_client/api/data_source_declarative_apis_api.py b/gooddata-api-client/gooddata_api_client/api/data_source_declarative_apis_api.py index a63d928ef..1927d4e84 100644 --- a/gooddata-api-client/gooddata_api_client/api/data_source_declarative_apis_api.py +++ b/gooddata-api-client/gooddata_api_client/api/data_source_declarative_apis_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/data_source_entity_apis_api.py b/gooddata-api-client/gooddata_api_client/api/data_source_entity_apis_api.py index d2784a1b8..f01191fcf 100644 --- a/gooddata-api-client/gooddata_api_client/api/data_source_entity_apis_api.py +++ b/gooddata-api-client/gooddata_api_client/api/data_source_entity_apis_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -100,9 +100,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -242,6 +244,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -323,6 +326,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -401,6 +405,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -479,6 +484,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -545,9 +551,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -613,9 +621,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, diff --git a/gooddata-api-client/gooddata_api_client/api/data_source_files_analysis_api.py b/gooddata-api-client/gooddata_api_client/api/data_source_files_analysis_api.py new file mode 100644 index 000000000..92c101db8 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/api/data_source_files_analysis_api.py @@ -0,0 +1,173 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.api_client import ApiClient, Endpoint as _Endpoint +from gooddata_api_client.model_utils import ( # noqa: F401 + check_allowed_values, + check_validations, + date, + datetime, + file_type, + none_type, + validate_and_convert_types +) +from gooddata_api_client.model.analyze_csv_request import AnalyzeCsvRequest +from gooddata_api_client.model.analyze_csv_response import AnalyzeCsvResponse + + +class DataSourceFilesAnalysisApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + self.analyze_csv_endpoint = _Endpoint( + settings={ + 'response_type': ([AnalyzeCsvResponse],), + 'auth': [], + 'endpoint_path': '/api/v1/actions/fileStorage/staging/analyzeCsv', + 'operation_id': 'analyze_csv', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'analyze_csv_request', + ], + 'required': [ + 'analyze_csv_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'analyze_csv_request': + (AnalyzeCsvRequest,), + }, + 'attribute_map': { + }, + 'location_map': { + 'analyze_csv_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + + def analyze_csv( + self, + analyze_csv_request, + **kwargs + ): + """Analyze CSV # noqa: E501 + + Analyzes CSV files at the given locations # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.analyze_csv(analyze_csv_request, async_req=True) + >>> result = thread.get() + + Args: + analyze_csv_request (AnalyzeCsvRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + [AnalyzeCsvResponse] + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['analyze_csv_request'] = \ + analyze_csv_request + return self.analyze_csv_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/data_source_files_deletion_api.py b/gooddata-api-client/gooddata_api_client/api/data_source_files_deletion_api.py new file mode 100644 index 000000000..379d03ff0 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/api/data_source_files_deletion_api.py @@ -0,0 +1,180 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.api_client import ApiClient, Endpoint as _Endpoint +from gooddata_api_client.model_utils import ( # noqa: F401 + check_allowed_values, + check_validations, + date, + datetime, + file_type, + none_type, + validate_and_convert_types +) +from gooddata_api_client.model.delete_files_request import DeleteFilesRequest + + +class DataSourceFilesDeletionApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + self.delete_files_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/actions/fileStorage/dataSources/{dataSourceId}/deleteFiles', + 'operation_id': 'delete_files', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'data_source_id', + 'delete_files_request', + ], + 'required': [ + 'data_source_id', + 'delete_files_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'data_source_id': + (str,), + 'delete_files_request': + (DeleteFilesRequest,), + }, + 'attribute_map': { + 'data_source_id': 'dataSourceId', + }, + 'location_map': { + 'data_source_id': 'path', + 'delete_files_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + + def delete_files( + self, + data_source_id, + delete_files_request, + **kwargs + ): + """Delete datasource files # noqa: E501 + + Delete the files in the given data source. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_files(data_source_id, delete_files_request, async_req=True) + >>> result = thread.get() + + Args: + data_source_id (str): + delete_files_request (DeleteFilesRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['data_source_id'] = \ + data_source_id + kwargs['delete_files_request'] = \ + delete_files_request + return self.delete_files_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/data_source_files_import_api.py b/gooddata-api-client/gooddata_api_client/api/data_source_files_import_api.py new file mode 100644 index 000000000..36a70eae6 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/api/data_source_files_import_api.py @@ -0,0 +1,183 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.api_client import ApiClient, Endpoint as _Endpoint +from gooddata_api_client.model_utils import ( # noqa: F401 + check_allowed_values, + check_validations, + date, + datetime, + file_type, + none_type, + validate_and_convert_types +) +from gooddata_api_client.model.import_csv_request import ImportCsvRequest +from gooddata_api_client.model.import_csv_response import ImportCsvResponse + + +class DataSourceFilesImportApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + self.import_csv_endpoint = _Endpoint( + settings={ + 'response_type': ([ImportCsvResponse],), + 'auth': [], + 'endpoint_path': '/api/v1/actions/fileStorage/dataSources/{dataSourceId}/importCsv', + 'operation_id': 'import_csv', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'data_source_id', + 'import_csv_request', + ], + 'required': [ + 'data_source_id', + 'import_csv_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'data_source_id': + (str,), + 'import_csv_request': + (ImportCsvRequest,), + }, + 'attribute_map': { + 'data_source_id': 'dataSourceId', + }, + 'location_map': { + 'data_source_id': 'path', + 'import_csv_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + + def import_csv( + self, + data_source_id, + import_csv_request, + **kwargs + ): + """Import CSV # noqa: E501 + + Import the CSV files at the given locations in the staging area to the final location. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.import_csv(data_source_id, import_csv_request, async_req=True) + >>> result = thread.get() + + Args: + data_source_id (str): + import_csv_request (ImportCsvRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + [ImportCsvResponse] + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['data_source_id'] = \ + data_source_id + kwargs['import_csv_request'] = \ + import_csv_request + return self.import_csv_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/data_source_files_listing_api.py b/gooddata-api-client/gooddata_api_client/api/data_source_files_listing_api.py new file mode 100644 index 000000000..52a891b1c --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/api/data_source_files_listing_api.py @@ -0,0 +1,171 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.api_client import ApiClient, Endpoint as _Endpoint +from gooddata_api_client.model_utils import ( # noqa: F401 + check_allowed_values, + check_validations, + date, + datetime, + file_type, + none_type, + validate_and_convert_types +) +from gooddata_api_client.model.gd_storage_file import GdStorageFile + + +class DataSourceFilesListingApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + self.list_files_endpoint = _Endpoint( + settings={ + 'response_type': ([GdStorageFile],), + 'auth': [], + 'endpoint_path': '/api/v1/actions/fileStorage/dataSources/{dataSourceId}/listFiles', + 'operation_id': 'list_files', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'data_source_id', + ], + 'required': [ + 'data_source_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'data_source_id': + (str,), + }, + 'attribute_map': { + 'data_source_id': 'dataSourceId', + }, + 'location_map': { + 'data_source_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + + def list_files( + self, + data_source_id, + **kwargs + ): + """List datasource files # noqa: E501 + + List all the files in the given data source. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.list_files(data_source_id, async_req=True) + >>> result = thread.get() + + Args: + data_source_id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + [GdStorageFile] + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['data_source_id'] = \ + data_source_id + return self.list_files_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/data_source_files_manifest_read_api.py b/gooddata-api-client/gooddata_api_client/api/data_source_files_manifest_read_api.py new file mode 100644 index 000000000..962da4f4f --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/api/data_source_files_manifest_read_api.py @@ -0,0 +1,183 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.api_client import ApiClient, Endpoint as _Endpoint +from gooddata_api_client.model_utils import ( # noqa: F401 + check_allowed_values, + check_validations, + date, + datetime, + file_type, + none_type, + validate_and_convert_types +) +from gooddata_api_client.model.read_csv_file_manifests_request import ReadCsvFileManifestsRequest +from gooddata_api_client.model.read_csv_file_manifests_response import ReadCsvFileManifestsResponse + + +class DataSourceFilesManifestReadApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + self.read_csv_file_manifests_endpoint = _Endpoint( + settings={ + 'response_type': ([ReadCsvFileManifestsResponse],), + 'auth': [], + 'endpoint_path': '/api/v1/actions/fileStorage/dataSources/{dataSourceId}/readCsvFileManifests', + 'operation_id': 'read_csv_file_manifests', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'data_source_id', + 'read_csv_file_manifests_request', + ], + 'required': [ + 'data_source_id', + 'read_csv_file_manifests_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'data_source_id': + (str,), + 'read_csv_file_manifests_request': + (ReadCsvFileManifestsRequest,), + }, + 'attribute_map': { + 'data_source_id': 'dataSourceId', + }, + 'location_map': { + 'data_source_id': 'path', + 'read_csv_file_manifests_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + + def read_csv_file_manifests( + self, + data_source_id, + read_csv_file_manifests_request, + **kwargs + ): + """Read CSV file manifests # noqa: E501 + + Read the manifests of the CSV files in the given data source. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.read_csv_file_manifests(data_source_id, read_csv_file_manifests_request, async_req=True) + >>> result = thread.get() + + Args: + data_source_id (str): + read_csv_file_manifests_request (ReadCsvFileManifestsRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + [ReadCsvFileManifestsResponse] + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['data_source_id'] = \ + data_source_id + kwargs['read_csv_file_manifests_request'] = \ + read_csv_file_manifests_request + return self.read_csv_file_manifests_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/data_source_staging_location_api.py b/gooddata-api-client/gooddata_api_client/api/data_source_staging_location_api.py new file mode 100644 index 000000000..95ce562ec --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/api/data_source_staging_location_api.py @@ -0,0 +1,173 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.api_client import ApiClient, Endpoint as _Endpoint +from gooddata_api_client.model_utils import ( # noqa: F401 + check_allowed_values, + check_validations, + date, + datetime, + file_type, + none_type, + validate_and_convert_types +) +from gooddata_api_client.model.upload_file_response import UploadFileResponse + + +class DataSourceStagingLocationApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + self.staging_upload_endpoint = _Endpoint( + settings={ + 'response_type': (UploadFileResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/fileStorage/staging/upload', + 'operation_id': 'staging_upload', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'file', + ], + 'required': [ + 'file', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'file': + (file_type,), + }, + 'attribute_map': { + 'file': 'file', + }, + 'location_map': { + 'file': 'form', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'multipart/form-data' + ] + }, + api_client=api_client + ) + + def staging_upload( + self, + file, + **kwargs + ): + """Upload a file to the staging area # noqa: E501 + + Provides a location for uploading staging files. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.staging_upload(file, async_req=True) + >>> result = thread.get() + + Args: + file (file_type): The file to upload. + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + UploadFileResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['file'] = \ + file + return self.staging_upload_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/datasets_api.py b/gooddata-api-client/gooddata_api_client/api/datasets_api.py index c5f64c153..9270b0897 100644 --- a/gooddata-api-client/gooddata_api_client/api/datasets_api.py +++ b/gooddata-api-client/gooddata_api_client/api/datasets_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -22,6 +22,7 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.entity_search_body import EntitySearchBody from gooddata_api_client.model.json_api_dataset_out_document import JsonApiDatasetOutDocument from gooddata_api_client.model.json_api_dataset_out_list import JsonApiDatasetOutList from gooddata_api_client.model.json_api_dataset_patch_document import JsonApiDatasetPatchDocument @@ -154,6 +155,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -253,6 +255,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -335,14 +338,90 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, api_client=api_client ) + self.search_entities_datasets_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiDatasetOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/datasets/search', + 'operation_id': 'search_entities_datasets', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) def get_all_entities_datasets( self, @@ -616,3 +695,91 @@ def patch_entity_datasets( json_api_dataset_patch_document return self.patch_entity_datasets_endpoint.call_with_http_info(**kwargs) + def search_entities_datasets( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for Dataset # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_datasets(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiDatasetOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_datasets_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/dependency_graph_api.py b/gooddata-api-client/gooddata_api_client/api/dependency_graph_api.py index 90226ee00..10cd2ca65 100644 --- a/gooddata-api-client/gooddata_api_client/api/dependency_graph_api.py +++ b/gooddata-api-client/gooddata_api_client/api/dependency_graph_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/entitlement_api.py b/gooddata-api-client/gooddata_api_client/api/entitlement_api.py index abaa854a3..a59ab2833 100644 --- a/gooddata-api-client/gooddata_api_client/api/entitlement_api.py +++ b/gooddata-api-client/gooddata_api_client/api/entitlement_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -113,6 +113,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -174,6 +175,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], diff --git a/gooddata-api-client/gooddata_api_client/api/export_definitions_api.py b/gooddata-api-client/gooddata_api_client/api/export_definitions_api.py index 374bb9649..b3bfcea88 100644 --- a/gooddata-api-client/gooddata_api_client/api/export_definitions_api.py +++ b/gooddata-api-client/gooddata_api_client/api/export_definitions_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -22,6 +22,7 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.entity_search_body import EntitySearchBody from gooddata_api_client.model.json_api_export_definition_in_document import JsonApiExportDefinitionInDocument from gooddata_api_client.model.json_api_export_definition_out_document import JsonApiExportDefinitionOutDocument from gooddata_api_client.model.json_api_export_definition_out_list import JsonApiExportDefinitionOutList @@ -125,9 +126,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -310,6 +313,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -412,6 +416,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -497,14 +502,90 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, api_client=api_client ) + self.search_entities_export_definitions_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiExportDefinitionOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/exportDefinitions/search', + 'operation_id': 'search_entities_export_definitions', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.update_entity_export_definitions_endpoint = _Endpoint( settings={ 'response_type': (JsonApiExportDefinitionOutDocument,), @@ -584,9 +665,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -1040,6 +1123,94 @@ def patch_entity_export_definitions( json_api_export_definition_patch_document return self.patch_entity_export_definitions_endpoint.call_with_http_info(**kwargs) + def search_entities_export_definitions( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for ExportDefinition # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_export_definitions(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiExportDefinitionOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_export_definitions_endpoint.call_with_http_info(**kwargs) + def update_entity_export_definitions( self, workspace_id, diff --git a/gooddata-api-client/gooddata_api_client/api/export_templates_api.py b/gooddata-api-client/gooddata_api_client/api/export_templates_api.py index d8f125af0..7198e3920 100644 --- a/gooddata-api-client/gooddata_api_client/api/export_templates_api.py +++ b/gooddata-api-client/gooddata_api_client/api/export_templates_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -82,9 +82,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -223,6 +225,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -284,6 +287,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -350,9 +354,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -418,9 +424,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, diff --git a/gooddata-api-client/gooddata_api_client/api/facts_api.py b/gooddata-api-client/gooddata_api_client/api/facts_api.py index fcd13d965..36c79cad8 100644 --- a/gooddata-api-client/gooddata_api_client/api/facts_api.py +++ b/gooddata-api-client/gooddata_api_client/api/facts_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -22,6 +22,9 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from gooddata_api_client.model.json_api_aggregated_fact_out_document import JsonApiAggregatedFactOutDocument +from gooddata_api_client.model.json_api_aggregated_fact_out_list import JsonApiAggregatedFactOutList from gooddata_api_client.model.json_api_fact_out_document import JsonApiFactOutDocument from gooddata_api_client.model.json_api_fact_out_list import JsonApiFactOutList from gooddata_api_client.model.json_api_fact_patch_document import JsonApiFactPatchDocument @@ -38,6 +41,127 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client + self.get_all_entities_aggregated_facts_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiAggregatedFactOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/aggregatedFacts', + 'operation_id': 'get_all_entities_aggregated_facts', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'origin', + 'filter', + 'include', + 'page', + 'size', + 'sort', + 'x_gdc_validate_relations', + 'meta_include', + ], + 'required': [ + 'workspace_id', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + 'include', + 'meta_include', + ], + 'validation': [ + 'meta_include', + ] + }, + root_map={ + 'validations': { + ('meta_include',): { + + }, + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + ('include',): { + + "DATASETS": "datasets", + "FACTS": "facts", + "DATASET": "dataset", + "SOURCEFACT": "sourceFact", + "ALL": "ALL" + }, + ('meta_include',): { + + "ORIGIN": "origin", + "PAGE": "page", + "ALL": "all", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'origin': + (str,), + 'filter': + (str,), + 'include': + ([str],), + 'page': + (int,), + 'size': + (int,), + 'sort': + ([str],), + 'x_gdc_validate_relations': + (bool,), + 'meta_include': + ([str],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'filter': 'filter', + 'include': 'include', + 'page': 'page', + 'size': 'size', + 'sort': 'sort', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + 'meta_include': 'metaInclude', + }, + 'location_map': { + 'workspace_id': 'path', + 'origin': 'query', + 'filter': 'query', + 'include': 'query', + 'page': 'query', + 'size': 'query', + 'sort': 'query', + 'x_gdc_validate_relations': 'header', + 'meta_include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + 'sort': 'multi', + 'meta_include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.get_all_entities_facts_endpoint = _Endpoint( settings={ 'response_type': (JsonApiFactOutList,), @@ -150,6 +274,105 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_entity_aggregated_facts_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiAggregatedFactOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/{objectId}', + 'operation_id': 'get_entity_aggregated_facts', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'object_id', + 'filter', + 'include', + 'x_gdc_validate_relations', + 'meta_include', + ], + 'required': [ + 'workspace_id', + 'object_id', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + 'meta_include', + ], + 'validation': [ + 'meta_include', + ] + }, + root_map={ + 'validations': { + ('meta_include',): { + + }, + }, + 'allowed_values': { + ('include',): { + + "DATASETS": "datasets", + "FACTS": "facts", + "DATASET": "dataset", + "SOURCEFACT": "sourceFact", + "ALL": "ALL" + }, + ('meta_include',): { + + "ORIGIN": "origin", + "ALL": "all", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'object_id': + (str,), + 'filter': + (str,), + 'include': + ([str],), + 'x_gdc_validate_relations': + (bool,), + 'meta_include': + ([str],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'object_id': 'objectId', + 'filter': 'filter', + 'include': 'include', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + 'meta_include': 'metaInclude', + }, + 'location_map': { + 'workspace_id': 'path', + 'object_id': 'path', + 'filter': 'query', + 'include': 'query', + 'x_gdc_validate_relations': 'header', + 'meta_include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + 'meta_include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -245,6 +468,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -323,40 +547,280 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, api_client=api_client ) + self.search_entities_aggregated_facts_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiAggregatedFactOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/search', + 'operation_id': 'search_entities_aggregated_facts', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { - def get_all_entities_facts( - self, - workspace_id, - **kwargs - ): - """Get all Facts # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_all_entities_facts(workspace_id, async_req=True) - >>> result = thread.get() - - Args: - workspace_id (str): - - Keyword Args: - origin (str): [optional] if omitted the server will use the default value of "ALL" - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] - include ([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 (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 - size (int): The size of the page to be returned. [optional] if omitted the server will use the default value of 20 - sort ([str]): Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.. [optional] - x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False - meta_include ([str]): Include Meta objects.. [optional] + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.search_entities_facts_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiFactOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/facts/search', + 'operation_id': 'search_entities_facts', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + + def get_all_entities_aggregated_facts( + self, + workspace_id, + **kwargs + ): + """get_all_entities_aggregated_facts # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_all_entities_aggregated_facts(workspace_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([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 (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 + size (int): The size of the page to be returned. [optional] if omitted the server will use the default value of 20 + sort ([str]): Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.. [optional] + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + meta_include ([str]): Include Meta objects.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiAggregatedFactOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + return self.get_all_entities_aggregated_facts_endpoint.call_with_http_info(**kwargs) + + def get_all_entities_facts( + self, + workspace_id, + **kwargs + ): + """Get all Facts # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_all_entities_facts(workspace_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([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 (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 + size (int): The size of the page to be returned. [optional] if omitted the server will use the default value of 20 + sort ([str]): Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.. [optional] + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + meta_include ([str]): Include Meta objects.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -422,6 +886,96 @@ def get_all_entities_facts( workspace_id return self.get_all_entities_facts_endpoint.call_with_http_info(**kwargs) + def get_entity_aggregated_facts( + self, + workspace_id, + object_id, + **kwargs + ): + """get_entity_aggregated_facts # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_entity_aggregated_facts(workspace_id, object_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + object_id (str): + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([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 (bool): [optional] if omitted the server will use the default value of False + meta_include ([str]): Include Meta objects.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiAggregatedFactOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.get_entity_aggregated_facts_endpoint.call_with_http_info(**kwargs) + def get_entity_facts( self, workspace_id, @@ -604,3 +1158,179 @@ def patch_entity_facts( json_api_fact_patch_document return self.patch_entity_facts_endpoint.call_with_http_info(**kwargs) + def search_entities_aggregated_facts( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for AggregatedFact # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_aggregated_facts(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiAggregatedFactOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_aggregated_facts_endpoint.call_with_http_info(**kwargs) + + def search_entities_facts( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for Fact # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_facts(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiFactOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_facts_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/filter_context_api.py b/gooddata-api-client/gooddata_api_client/api/filter_context_api.py new file mode 100644 index 000000000..df59a81ee --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/api/filter_context_api.py @@ -0,0 +1,1275 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.api_client import ApiClient, Endpoint as _Endpoint +from gooddata_api_client.model_utils import ( # noqa: F401 + check_allowed_values, + check_validations, + date, + datetime, + file_type, + none_type, + validate_and_convert_types +) +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from gooddata_api_client.model.json_api_filter_context_in_document import JsonApiFilterContextInDocument +from gooddata_api_client.model.json_api_filter_context_out_document import JsonApiFilterContextOutDocument +from gooddata_api_client.model.json_api_filter_context_out_list import JsonApiFilterContextOutList +from gooddata_api_client.model.json_api_filter_context_patch_document import JsonApiFilterContextPatchDocument +from gooddata_api_client.model.json_api_filter_context_post_optional_id_document import JsonApiFilterContextPostOptionalIdDocument + + +class FilterContextApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + self.create_entity_filter_contexts_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiFilterContextOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/filterContexts', + 'operation_id': 'create_entity_filter_contexts', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'json_api_filter_context_post_optional_id_document', + 'include', + 'meta_include', + ], + 'required': [ + 'workspace_id', + 'json_api_filter_context_post_optional_id_document', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + 'meta_include', + ], + 'validation': [ + 'meta_include', + ] + }, + root_map={ + 'validations': { + ('meta_include',): { + + }, + }, + 'allowed_values': { + ('include',): { + + "ATTRIBUTES": "attributes", + "DATASETS": "datasets", + "LABELS": "labels", + "ALL": "ALL" + }, + ('meta_include',): { + + "ORIGIN": "origin", + "ALL": "all", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'json_api_filter_context_post_optional_id_document': + (JsonApiFilterContextPostOptionalIdDocument,), + 'include': + ([str],), + 'meta_include': + ([str],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'include': 'include', + 'meta_include': 'metaInclude', + }, + 'location_map': { + 'workspace_id': 'path', + 'json_api_filter_context_post_optional_id_document': 'body', + 'include': 'query', + 'meta_include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + 'meta_include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ] + }, + api_client=api_client + ) + self.delete_entity_filter_contexts_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId}', + 'operation_id': 'delete_entity_filter_contexts', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'object_id', + 'filter', + ], + 'required': [ + 'workspace_id', + 'object_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'object_id': + (str,), + 'filter': + (str,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'object_id': 'objectId', + 'filter': 'filter', + }, + 'location_map': { + 'workspace_id': 'path', + 'object_id': 'path', + 'filter': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) + self.get_all_entities_filter_contexts_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiFilterContextOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/filterContexts', + 'operation_id': 'get_all_entities_filter_contexts', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'origin', + 'filter', + 'include', + 'page', + 'size', + 'sort', + 'x_gdc_validate_relations', + 'meta_include', + ], + 'required': [ + 'workspace_id', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + 'include', + 'meta_include', + ], + 'validation': [ + 'meta_include', + ] + }, + root_map={ + 'validations': { + ('meta_include',): { + + }, + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + ('include',): { + + "ATTRIBUTES": "attributes", + "DATASETS": "datasets", + "LABELS": "labels", + "ALL": "ALL" + }, + ('meta_include',): { + + "ORIGIN": "origin", + "PAGE": "page", + "ALL": "all", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'origin': + (str,), + 'filter': + (str,), + 'include': + ([str],), + 'page': + (int,), + 'size': + (int,), + 'sort': + ([str],), + 'x_gdc_validate_relations': + (bool,), + 'meta_include': + ([str],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'filter': 'filter', + 'include': 'include', + 'page': 'page', + 'size': 'size', + 'sort': 'sort', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + 'meta_include': 'metaInclude', + }, + 'location_map': { + 'workspace_id': 'path', + 'origin': 'query', + 'filter': 'query', + 'include': 'query', + 'page': 'query', + 'size': 'query', + 'sort': 'query', + 'x_gdc_validate_relations': 'header', + 'meta_include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + 'sort': 'multi', + 'meta_include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_entity_filter_contexts_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiFilterContextOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId}', + 'operation_id': 'get_entity_filter_contexts', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'object_id', + 'filter', + 'include', + 'x_gdc_validate_relations', + 'meta_include', + ], + 'required': [ + 'workspace_id', + 'object_id', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + 'meta_include', + ], + 'validation': [ + 'meta_include', + ] + }, + root_map={ + 'validations': { + ('meta_include',): { + + }, + }, + 'allowed_values': { + ('include',): { + + "ATTRIBUTES": "attributes", + "DATASETS": "datasets", + "LABELS": "labels", + "ALL": "ALL" + }, + ('meta_include',): { + + "ORIGIN": "origin", + "ALL": "all", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'object_id': + (str,), + 'filter': + (str,), + 'include': + ([str],), + 'x_gdc_validate_relations': + (bool,), + 'meta_include': + ([str],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'object_id': 'objectId', + 'filter': 'filter', + 'include': 'include', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + 'meta_include': 'metaInclude', + }, + 'location_map': { + 'workspace_id': 'path', + 'object_id': 'path', + 'filter': 'query', + 'include': 'query', + 'x_gdc_validate_relations': 'header', + 'meta_include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + 'meta_include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.patch_entity_filter_contexts_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiFilterContextOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId}', + 'operation_id': 'patch_entity_filter_contexts', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'object_id', + 'json_api_filter_context_patch_document', + 'filter', + 'include', + ], + 'required': [ + 'workspace_id', + 'object_id', + 'json_api_filter_context_patch_document', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('include',): { + + "ATTRIBUTES": "attributes", + "DATASETS": "datasets", + "LABELS": "labels", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'object_id': + (str,), + 'json_api_filter_context_patch_document': + (JsonApiFilterContextPatchDocument,), + 'filter': + (str,), + 'include': + ([str],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'object_id': 'objectId', + 'filter': 'filter', + 'include': 'include', + }, + 'location_map': { + 'workspace_id': 'path', + 'object_id': 'path', + 'json_api_filter_context_patch_document': 'body', + 'filter': 'query', + 'include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ] + }, + api_client=api_client + ) + self.search_entities_filter_contexts_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiFilterContextOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/filterContexts/search', + 'operation_id': 'search_entities_filter_contexts', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.update_entity_filter_contexts_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiFilterContextOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId}', + 'operation_id': 'update_entity_filter_contexts', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'object_id', + 'json_api_filter_context_in_document', + 'filter', + 'include', + ], + 'required': [ + 'workspace_id', + 'object_id', + 'json_api_filter_context_in_document', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('include',): { + + "ATTRIBUTES": "attributes", + "DATASETS": "datasets", + "LABELS": "labels", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'object_id': + (str,), + 'json_api_filter_context_in_document': + (JsonApiFilterContextInDocument,), + 'filter': + (str,), + 'include': + ([str],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'object_id': 'objectId', + 'filter': 'filter', + 'include': 'include', + }, + 'location_map': { + 'workspace_id': 'path', + 'object_id': 'path', + 'json_api_filter_context_in_document': 'body', + 'filter': 'query', + 'include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ] + }, + api_client=api_client + ) + + def create_entity_filter_contexts( + self, + workspace_id, + json_api_filter_context_post_optional_id_document, + **kwargs + ): + """Post Filter Context # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_entity_filter_contexts(workspace_id, json_api_filter_context_post_optional_id_document, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + json_api_filter_context_post_optional_id_document (JsonApiFilterContextPostOptionalIdDocument): + + Keyword Args: + include ([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 ([str]): Include Meta objects.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiFilterContextOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['json_api_filter_context_post_optional_id_document'] = \ + json_api_filter_context_post_optional_id_document + return self.create_entity_filter_contexts_endpoint.call_with_http_info(**kwargs) + + def delete_entity_filter_contexts( + self, + workspace_id, + object_id, + **kwargs + ): + """Delete a Filter Context # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_entity_filter_contexts(workspace_id, object_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + object_id (str): + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.delete_entity_filter_contexts_endpoint.call_with_http_info(**kwargs) + + def get_all_entities_filter_contexts( + self, + workspace_id, + **kwargs + ): + """Get all Filter Context # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_all_entities_filter_contexts(workspace_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([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 (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 + size (int): The size of the page to be returned. [optional] if omitted the server will use the default value of 20 + sort ([str]): Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.. [optional] + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + meta_include ([str]): Include Meta objects.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiFilterContextOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + return self.get_all_entities_filter_contexts_endpoint.call_with_http_info(**kwargs) + + def get_entity_filter_contexts( + self, + workspace_id, + object_id, + **kwargs + ): + """Get a Filter Context # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_entity_filter_contexts(workspace_id, object_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + object_id (str): + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([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 (bool): [optional] if omitted the server will use the default value of False + meta_include ([str]): Include Meta objects.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiFilterContextOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.get_entity_filter_contexts_endpoint.call_with_http_info(**kwargs) + + def patch_entity_filter_contexts( + self, + workspace_id, + object_id, + json_api_filter_context_patch_document, + **kwargs + ): + """Patch a Filter Context # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.patch_entity_filter_contexts(workspace_id, object_id, json_api_filter_context_patch_document, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + object_id (str): + json_api_filter_context_patch_document (JsonApiFilterContextPatchDocument): + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([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] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiFilterContextOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + kwargs['json_api_filter_context_patch_document'] = \ + json_api_filter_context_patch_document + return self.patch_entity_filter_contexts_endpoint.call_with_http_info(**kwargs) + + def search_entities_filter_contexts( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for FilterContext # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_filter_contexts(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiFilterContextOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_filter_contexts_endpoint.call_with_http_info(**kwargs) + + def update_entity_filter_contexts( + self, + workspace_id, + object_id, + json_api_filter_context_in_document, + **kwargs + ): + """Put a Filter Context # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_entity_filter_contexts(workspace_id, object_id, json_api_filter_context_in_document, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + object_id (str): + json_api_filter_context_in_document (JsonApiFilterContextInDocument): + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([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] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiFilterContextOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + kwargs['json_api_filter_context_in_document'] = \ + json_api_filter_context_in_document + return self.update_entity_filter_contexts_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/filter_views_api.py b/gooddata-api-client/gooddata_api_client/api/filter_views_api.py index 38dc1af63..7c989b739 100644 --- a/gooddata-api-client/gooddata_api_client/api/filter_views_api.py +++ b/gooddata-api-client/gooddata_api_client/api/filter_views_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -23,6 +23,7 @@ validate_and_convert_types ) from gooddata_api_client.model.declarative_filter_view import DeclarativeFilterView +from gooddata_api_client.model.entity_search_body import EntitySearchBody from gooddata_api_client.model.json_api_filter_view_in_document import JsonApiFilterViewInDocument from gooddata_api_client.model.json_api_filter_view_out_document import JsonApiFilterViewOutDocument from gooddata_api_client.model.json_api_filter_view_out_list import JsonApiFilterViewOutList @@ -103,9 +104,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -282,6 +285,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -362,6 +366,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -502,14 +507,90 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, api_client=api_client ) + self.search_entities_filter_views_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiFilterViewOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/filterViews/search', + 'operation_id': 'search_entities_filter_views', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.set_filter_views_endpoint = _Endpoint( settings={ 'response_type': None, @@ -638,9 +719,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -1176,6 +1259,94 @@ def patch_entity_filter_views( json_api_filter_view_patch_document return self.patch_entity_filter_views_endpoint.call_with_http_info(**kwargs) + def search_entities_filter_views( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for FilterView # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_filter_views(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiFilterViewOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_filter_views_endpoint.call_with_http_info(**kwargs) + def set_filter_views( self, workspace_id, diff --git a/gooddata-api-client/gooddata_api_client/api/generate_logical_data_model_api.py b/gooddata-api-client/gooddata_api_client/api/generate_logical_data_model_api.py index edd7e6116..56946cd58 100644 --- a/gooddata-api-client/gooddata_api_client/api/generate_logical_data_model_api.py +++ b/gooddata-api-client/gooddata_api_client/api/generate_logical_data_model_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -22,6 +22,7 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.aac_logical_model import AacLogicalModel from gooddata_api_client.model.declarative_model import DeclarativeModel from gooddata_api_client.model.generate_ldm_request import GenerateLdmRequest @@ -93,6 +94,62 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.generate_logical_model_aac_endpoint = _Endpoint( + settings={ + 'response_type': (AacLogicalModel,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/dataSources/{dataSourceId}/generateLogicalModelAac', + 'operation_id': 'generate_logical_model_aac', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'data_source_id', + 'generate_ldm_request', + ], + 'required': [ + 'data_source_id', + 'generate_ldm_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'data_source_id': + (str,), + 'generate_ldm_request': + (GenerateLdmRequest,), + }, + 'attribute_map': { + 'data_source_id': 'dataSourceId', + }, + 'location_map': { + 'data_source_id': 'path', + 'generate_ldm_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) def generate_logical_model( self, @@ -181,3 +238,90 @@ def generate_logical_model( generate_ldm_request return self.generate_logical_model_endpoint.call_with_http_info(**kwargs) + def generate_logical_model_aac( + self, + data_source_id, + generate_ldm_request, + **kwargs + ): + """Generate logical data model in AAC format from physical data model (PDM) # noqa: E501 + + Generate logical data model (LDM) from physical data model (PDM) stored in data source, returning the result in Analytics as Code (AAC) format compatible with the GoodData VSCode extension YAML definitions. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.generate_logical_model_aac(data_source_id, generate_ldm_request, async_req=True) + >>> result = thread.get() + + Args: + data_source_id (str): + generate_ldm_request (GenerateLdmRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AacLogicalModel + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['data_source_id'] = \ + data_source_id + kwargs['generate_ldm_request'] = \ + generate_ldm_request + return self.generate_logical_model_aac_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/hierarchy_api.py b/gooddata-api-client/gooddata_api_client/api/hierarchy_api.py index ea52a0287..5726342dc 100644 --- a/gooddata-api-client/gooddata_api_client/api/hierarchy_api.py +++ b/gooddata-api-client/gooddata_api_client/api/hierarchy_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/identity_providers_api.py b/gooddata-api-client/gooddata_api_client/api/identity_providers_api.py index ecb434656..8932673f3 100644 --- a/gooddata-api-client/gooddata_api_client/api/identity_providers_api.py +++ b/gooddata-api-client/gooddata_api_client/api/identity_providers_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -82,9 +82,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -223,6 +225,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -284,6 +287,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -392,9 +396,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -508,9 +514,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, diff --git a/gooddata-api-client/gooddata_api_client/api/image_export_api.py b/gooddata-api-client/gooddata_api_client/api/image_export_api.py index bf670ba89..c7f626fc0 100644 --- a/gooddata-api-client/gooddata_api_client/api/image_export_api.py +++ b/gooddata-api-client/gooddata_api_client/api/image_export_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/invalidate_cache_api.py b/gooddata-api-client/gooddata_api_client/api/invalidate_cache_api.py index beed031e8..2239eacaa 100644 --- a/gooddata-api-client/gooddata_api_client/api/invalidate_cache_api.py +++ b/gooddata-api-client/gooddata_api_client/api/invalidate_cache_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/jwks_api.py b/gooddata-api-client/gooddata_api_client/api/jwks_api.py index 3ff22db27..bd6c6102b 100644 --- a/gooddata-api-client/gooddata_api_client/api/jwks_api.py +++ b/gooddata-api-client/gooddata_api_client/api/jwks_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -81,9 +81,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -222,6 +224,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -283,6 +286,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -349,9 +353,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -417,9 +423,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, diff --git a/gooddata-api-client/gooddata_api_client/api/labels_api.py b/gooddata-api-client/gooddata_api_client/api/labels_api.py index 3f15385c2..07366372d 100644 --- a/gooddata-api-client/gooddata_api_client/api/labels_api.py +++ b/gooddata-api-client/gooddata_api_client/api/labels_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -22,6 +22,7 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.entity_search_body import EntitySearchBody from gooddata_api_client.model.json_api_label_out_document import JsonApiLabelOutDocument from gooddata_api_client.model.json_api_label_out_list import JsonApiLabelOutList from gooddata_api_client.model.json_api_label_patch_document import JsonApiLabelPatchDocument @@ -150,6 +151,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -245,6 +247,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -323,14 +326,90 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, api_client=api_client ) + self.search_entities_labels_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiLabelOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/labels/search', + 'operation_id': 'search_entities_labels', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) def get_all_entities_labels( self, @@ -604,3 +683,91 @@ def patch_entity_labels( json_api_label_patch_document return self.patch_entity_labels_endpoint.call_with_http_info(**kwargs) + def search_entities_labels( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for Label # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_labels(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiLabelOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_labels_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/ldm_declarative_apis_api.py b/gooddata-api-client/gooddata_api_client/api/ldm_declarative_apis_api.py index e141191d1..4d9fd74d1 100644 --- a/gooddata-api-client/gooddata_api_client/api/ldm_declarative_apis_api.py +++ b/gooddata-api-client/gooddata_api_client/api/ldm_declarative_apis_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/llm_endpoints_api.py b/gooddata-api-client/gooddata_api_client/api/llm_endpoints_api.py index 833edfedc..31a168615 100644 --- a/gooddata-api-client/gooddata_api_client/api/llm_endpoints_api.py +++ b/gooddata-api-client/gooddata_api_client/api/llm_endpoints_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -81,9 +81,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -222,6 +224,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -283,6 +286,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -349,9 +353,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -417,9 +423,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, diff --git a/gooddata-api-client/gooddata_api_client/api/manage_permissions_api.py b/gooddata-api-client/gooddata_api_client/api/manage_permissions_api.py index e3a612827..40b383bd7 100644 --- a/gooddata-api-client/gooddata_api_client/api/manage_permissions_api.py +++ b/gooddata-api-client/gooddata_api_client/api/manage_permissions_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/metrics_api.py b/gooddata-api-client/gooddata_api_client/api/metrics_api.py index 79f9d22b4..8619aa67c 100644 --- a/gooddata-api-client/gooddata_api_client/api/metrics_api.py +++ b/gooddata-api-client/gooddata_api_client/api/metrics_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -22,6 +22,7 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.entity_search_body import EntitySearchBody from gooddata_api_client.model.json_api_metric_in_document import JsonApiMetricInDocument from gooddata_api_client.model.json_api_metric_out_document import JsonApiMetricOutDocument from gooddata_api_client.model.json_api_metric_out_list import JsonApiMetricOutList @@ -124,9 +125,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -308,6 +311,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -409,6 +413,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -493,14 +498,90 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, api_client=api_client ) + self.search_entities_metrics_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiMetricOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/metrics/search', + 'operation_id': 'search_entities_metrics', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.update_entity_metrics_endpoint = _Endpoint( settings={ 'response_type': (JsonApiMetricOutDocument,), @@ -579,9 +660,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -1035,6 +1118,94 @@ def patch_entity_metrics( json_api_metric_patch_document return self.patch_entity_metrics_endpoint.call_with_http_info(**kwargs) + def search_entities_metrics( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for Metric # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_metrics(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiMetricOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_metrics_endpoint.call_with_http_info(**kwargs) + def update_entity_metrics( self, workspace_id, diff --git a/gooddata-api-client/gooddata_api_client/api/notification_channels_api.py b/gooddata-api-client/gooddata_api_client/api/notification_channels_api.py index b542a3ae7..e503f1235 100644 --- a/gooddata-api-client/gooddata_api_client/api/notification_channels_api.py +++ b/gooddata-api-client/gooddata_api_client/api/notification_channels_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -89,9 +89,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -230,6 +232,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -310,6 +313,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -371,6 +375,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -432,6 +437,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -760,9 +766,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -1029,9 +1037,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, diff --git a/gooddata-api-client/gooddata_api_client/api/options_api.py b/gooddata-api-client/gooddata_api_client/api/options_api.py index be170edaa..5018bb126 100644 --- a/gooddata-api-client/gooddata_api_client/api/options_api.py +++ b/gooddata-api-client/gooddata_api_client/api/options_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/organization_declarative_apis_api.py b/gooddata-api-client/gooddata_api_client/api/organization_declarative_apis_api.py index 8478f9bd3..38781426d 100644 --- a/gooddata-api-client/gooddata_api_client/api/organization_declarative_apis_api.py +++ b/gooddata-api-client/gooddata_api_client/api/organization_declarative_apis_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -22,6 +22,7 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.declarative_custom_geo_collections import DeclarativeCustomGeoCollections from gooddata_api_client.model.declarative_organization import DeclarativeOrganization @@ -36,6 +37,48 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client + self.get_custom_geo_collections_layout_endpoint = _Endpoint( + settings={ + 'response_type': (DeclarativeCustomGeoCollections,), + 'auth': [], + 'endpoint_path': '/api/v1/layout/customGeoCollections', + 'operation_id': 'get_custom_geo_collections_layout', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + ], + 'required': [], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + }, + 'attribute_map': { + }, + 'location_map': { + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.get_organization_layout_endpoint = _Endpoint( settings={ 'response_type': (DeclarativeOrganization,), @@ -89,6 +132,54 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.set_custom_geo_collections_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/layout/customGeoCollections', + 'operation_id': 'set_custom_geo_collections', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'declarative_custom_geo_collections', + ], + 'required': [ + 'declarative_custom_geo_collections', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'declarative_custom_geo_collections': + (DeclarativeCustomGeoCollections,), + }, + 'attribute_map': { + }, + 'location_map': { + 'declarative_custom_geo_collections': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.set_organization_layout_endpoint = _Endpoint( settings={ 'response_type': None, @@ -138,6 +229,84 @@ def __init__(self, api_client=None): api_client=api_client ) + def get_custom_geo_collections_layout( + self, + **kwargs + ): + """Get all custom geo collections layout # noqa: E501 + + Gets complete layout of custom geo collections. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_custom_geo_collections_layout(async_req=True) + >>> result = thread.get() + + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + DeclarativeCustomGeoCollections + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + return self.get_custom_geo_collections_layout_endpoint.call_with_http_info(**kwargs) + def get_organization_layout( self, **kwargs @@ -217,6 +386,89 @@ def get_organization_layout( kwargs['_request_auths'] = kwargs.get('_request_auths', None) return self.get_organization_layout_endpoint.call_with_http_info(**kwargs) + def set_custom_geo_collections( + self, + declarative_custom_geo_collections, + **kwargs + ): + """Set all custom geo collections # noqa: E501 + + Sets custom geo collections in organization. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.set_custom_geo_collections(declarative_custom_geo_collections, async_req=True) + >>> result = thread.get() + + Args: + declarative_custom_geo_collections (DeclarativeCustomGeoCollections): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['declarative_custom_geo_collections'] = \ + declarative_custom_geo_collections + return self.set_custom_geo_collections_endpoint.call_with_http_info(**kwargs) + def set_organization_layout( self, declarative_organization, diff --git a/gooddata-api-client/gooddata_api_client/api/organization_entity_apis_api.py b/gooddata-api-client/gooddata_api_client/api/organization_entity_apis_api.py index f9a79997b..cefa5af19 100644 --- a/gooddata-api-client/gooddata_api_client/api/organization_entity_apis_api.py +++ b/gooddata-api-client/gooddata_api_client/api/organization_entity_apis_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -84,9 +84,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -225,6 +227,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -286,6 +289,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -381,6 +385,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -503,9 +508,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -588,9 +595,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -656,9 +665,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -741,9 +752,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, diff --git a/gooddata-api-client/gooddata_api_client/api/other_api.py b/gooddata-api-client/gooddata_api_client/api/other_api.py new file mode 100644 index 000000000..fec677653 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/api/other_api.py @@ -0,0 +1,5351 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.api_client import ApiClient, Endpoint as _Endpoint +from gooddata_api_client.model_utils import ( # noqa: F401 + check_allowed_values, + check_validations, + date, + datetime, + file_type, + none_type, + validate_and_convert_types +) +from gooddata_api_client.model.aac_analytics_model import AacAnalyticsModel +from gooddata_api_client.model.aac_logical_model import AacLogicalModel +from gooddata_api_client.model.declarative_user_data_filters import DeclarativeUserDataFilters +from gooddata_api_client.model.entity_search_body import EntitySearchBody +from gooddata_api_client.model.geo_json_feature_collection import GeoJsonFeatureCollection +from gooddata_api_client.model.import_geo_collection_request import ImportGeoCollectionRequest +from gooddata_api_client.model.import_geo_collection_response import ImportGeoCollectionResponse +from gooddata_api_client.model.json_api_custom_geo_collection_in_document import JsonApiCustomGeoCollectionInDocument +from gooddata_api_client.model.json_api_custom_geo_collection_out_document import JsonApiCustomGeoCollectionOutDocument +from gooddata_api_client.model.json_api_custom_geo_collection_out_list import JsonApiCustomGeoCollectionOutList +from gooddata_api_client.model.json_api_custom_geo_collection_patch_document import JsonApiCustomGeoCollectionPatchDocument +from gooddata_api_client.model.json_api_knowledge_recommendation_in_document import JsonApiKnowledgeRecommendationInDocument +from gooddata_api_client.model.json_api_knowledge_recommendation_out_document import JsonApiKnowledgeRecommendationOutDocument +from gooddata_api_client.model.json_api_knowledge_recommendation_out_list import JsonApiKnowledgeRecommendationOutList +from gooddata_api_client.model.json_api_knowledge_recommendation_patch_document import JsonApiKnowledgeRecommendationPatchDocument +from gooddata_api_client.model.json_api_knowledge_recommendation_post_optional_id_document import JsonApiKnowledgeRecommendationPostOptionalIdDocument +from gooddata_api_client.model.json_api_memory_item_in_document import JsonApiMemoryItemInDocument +from gooddata_api_client.model.json_api_memory_item_out_document import JsonApiMemoryItemOutDocument +from gooddata_api_client.model.json_api_memory_item_out_list import JsonApiMemoryItemOutList +from gooddata_api_client.model.json_api_memory_item_patch_document import JsonApiMemoryItemPatchDocument +from gooddata_api_client.model.json_api_memory_item_post_optional_id_document import JsonApiMemoryItemPostOptionalIdDocument +from gooddata_api_client.model.switch_identity_provider_request import SwitchIdentityProviderRequest +from gooddata_api_client.model.upload_geo_collection_file_response import UploadGeoCollectionFileResponse + + +class OtherApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + self.create_entity_custom_geo_collections_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiCustomGeoCollectionOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/customGeoCollections', + 'operation_id': 'create_entity_custom_geo_collections', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'json_api_custom_geo_collection_in_document', + ], + 'required': [ + 'json_api_custom_geo_collection_in_document', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'json_api_custom_geo_collection_in_document': + (JsonApiCustomGeoCollectionInDocument,), + }, + 'attribute_map': { + }, + 'location_map': { + 'json_api_custom_geo_collection_in_document': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ] + }, + api_client=api_client + ) + self.create_entity_knowledge_recommendations_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiKnowledgeRecommendationOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations', + 'operation_id': 'create_entity_knowledge_recommendations', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'json_api_knowledge_recommendation_post_optional_id_document', + 'include', + 'meta_include', + ], + 'required': [ + 'workspace_id', + 'json_api_knowledge_recommendation_post_optional_id_document', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + 'meta_include', + ], + 'validation': [ + 'meta_include', + ] + }, + root_map={ + 'validations': { + ('meta_include',): { + + }, + }, + 'allowed_values': { + ('include',): { + + "METRICS": "metrics", + "ANALYTICALDASHBOARDS": "analyticalDashboards", + "METRIC": "metric", + "ANALYTICALDASHBOARD": "analyticalDashboard", + "ALL": "ALL" + }, + ('meta_include',): { + + "ORIGIN": "origin", + "ALL": "all", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'json_api_knowledge_recommendation_post_optional_id_document': + (JsonApiKnowledgeRecommendationPostOptionalIdDocument,), + 'include': + ([str],), + 'meta_include': + ([str],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'include': 'include', + 'meta_include': 'metaInclude', + }, + 'location_map': { + 'workspace_id': 'path', + 'json_api_knowledge_recommendation_post_optional_id_document': 'body', + 'include': 'query', + 'meta_include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + 'meta_include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ] + }, + api_client=api_client + ) + self.create_entity_memory_items_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiMemoryItemOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/memoryItems', + 'operation_id': 'create_entity_memory_items', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'json_api_memory_item_post_optional_id_document', + 'include', + 'meta_include', + ], + 'required': [ + 'workspace_id', + 'json_api_memory_item_post_optional_id_document', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + 'meta_include', + ], + 'validation': [ + 'meta_include', + ] + }, + root_map={ + 'validations': { + ('meta_include',): { + + }, + }, + 'allowed_values': { + ('include',): { + + "USERIDENTIFIERS": "userIdentifiers", + "CREATEDBY": "createdBy", + "MODIFIEDBY": "modifiedBy", + "ALL": "ALL" + }, + ('meta_include',): { + + "ORIGIN": "origin", + "ALL": "all", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'json_api_memory_item_post_optional_id_document': + (JsonApiMemoryItemPostOptionalIdDocument,), + 'include': + ([str],), + 'meta_include': + ([str],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'include': 'include', + 'meta_include': 'metaInclude', + }, + 'location_map': { + 'workspace_id': 'path', + 'json_api_memory_item_post_optional_id_document': 'body', + 'include': 'query', + 'meta_include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + 'meta_include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ] + }, + api_client=api_client + ) + self.custom_geo_collection_staging_upload_endpoint = _Endpoint( + settings={ + 'response_type': (UploadGeoCollectionFileResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/customGeoCollection/staging/upload', + 'operation_id': 'custom_geo_collection_staging_upload', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'file', + ], + 'required': [ + 'file', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'file': + (file_type,), + }, + 'attribute_map': { + 'file': 'file', + }, + 'location_map': { + 'file': 'form', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + '*/*' + ], + 'content_type': [ + 'multipart/form-data' + ] + }, + api_client=api_client + ) + self.delete_entity_custom_geo_collections_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/entities/customGeoCollections/{id}', + 'operation_id': 'delete_entity_custom_geo_collections', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'filter', + ], + 'required': [ + 'id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + 'filter': + (str,), + }, + 'attribute_map': { + 'id': 'id', + 'filter': 'filter', + }, + 'location_map': { + 'id': 'path', + 'filter': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) + self.delete_entity_knowledge_recommendations_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId}', + 'operation_id': 'delete_entity_knowledge_recommendations', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'object_id', + 'filter', + ], + 'required': [ + 'workspace_id', + 'object_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'object_id': + (str,), + 'filter': + (str,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'object_id': 'objectId', + 'filter': 'filter', + }, + 'location_map': { + 'workspace_id': 'path', + 'object_id': 'path', + 'filter': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) + self.delete_entity_memory_items_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId}', + 'operation_id': 'delete_entity_memory_items', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'object_id', + 'filter', + ], + 'required': [ + 'workspace_id', + 'object_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'object_id': + (str,), + 'filter': + (str,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'object_id': 'objectId', + 'filter': 'filter', + }, + 'location_map': { + 'workspace_id': 'path', + 'object_id': 'path', + 'filter': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) + self.get_all_entities_custom_geo_collections_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiCustomGeoCollectionOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/customGeoCollections', + 'operation_id': 'get_all_entities_custom_geo_collections', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'filter', + 'page', + 'size', + 'sort', + 'meta_include', + ], + 'required': [], + 'nullable': [ + ], + 'enum': [ + 'meta_include', + ], + 'validation': [ + 'meta_include', + ] + }, + root_map={ + 'validations': { + ('meta_include',): { + + }, + }, + 'allowed_values': { + ('meta_include',): { + + "PAGE": "page", + "ALL": "all", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'filter': + (str,), + 'page': + (int,), + 'size': + (int,), + 'sort': + ([str],), + 'meta_include': + ([str],), + }, + 'attribute_map': { + 'filter': 'filter', + 'page': 'page', + 'size': 'size', + 'sort': 'sort', + 'meta_include': 'metaInclude', + }, + 'location_map': { + 'filter': 'query', + 'page': 'query', + 'size': 'query', + 'sort': 'query', + 'meta_include': 'query', + }, + 'collection_format_map': { + 'sort': 'multi', + 'meta_include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_all_entities_knowledge_recommendations_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiKnowledgeRecommendationOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations', + 'operation_id': 'get_all_entities_knowledge_recommendations', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'origin', + 'filter', + 'include', + 'page', + 'size', + 'sort', + 'x_gdc_validate_relations', + 'meta_include', + ], + 'required': [ + 'workspace_id', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + 'include', + 'meta_include', + ], + 'validation': [ + 'meta_include', + ] + }, + root_map={ + 'validations': { + ('meta_include',): { + + }, + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + ('include',): { + + "METRICS": "metrics", + "ANALYTICALDASHBOARDS": "analyticalDashboards", + "METRIC": "metric", + "ANALYTICALDASHBOARD": "analyticalDashboard", + "ALL": "ALL" + }, + ('meta_include',): { + + "ORIGIN": "origin", + "PAGE": "page", + "ALL": "all", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'origin': + (str,), + 'filter': + (str,), + 'include': + ([str],), + 'page': + (int,), + 'size': + (int,), + 'sort': + ([str],), + 'x_gdc_validate_relations': + (bool,), + 'meta_include': + ([str],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'filter': 'filter', + 'include': 'include', + 'page': 'page', + 'size': 'size', + 'sort': 'sort', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + 'meta_include': 'metaInclude', + }, + 'location_map': { + 'workspace_id': 'path', + 'origin': 'query', + 'filter': 'query', + 'include': 'query', + 'page': 'query', + 'size': 'query', + 'sort': 'query', + 'x_gdc_validate_relations': 'header', + 'meta_include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + 'sort': 'multi', + 'meta_include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_all_entities_memory_items_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiMemoryItemOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/memoryItems', + 'operation_id': 'get_all_entities_memory_items', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'origin', + 'filter', + 'include', + 'page', + 'size', + 'sort', + 'x_gdc_validate_relations', + 'meta_include', + ], + 'required': [ + 'workspace_id', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + 'include', + 'meta_include', + ], + 'validation': [ + 'meta_include', + ] + }, + root_map={ + 'validations': { + ('meta_include',): { + + }, + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + ('include',): { + + "USERIDENTIFIERS": "userIdentifiers", + "CREATEDBY": "createdBy", + "MODIFIEDBY": "modifiedBy", + "ALL": "ALL" + }, + ('meta_include',): { + + "ORIGIN": "origin", + "PAGE": "page", + "ALL": "all", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'origin': + (str,), + 'filter': + (str,), + 'include': + ([str],), + 'page': + (int,), + 'size': + (int,), + 'sort': + ([str],), + 'x_gdc_validate_relations': + (bool,), + 'meta_include': + ([str],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'filter': 'filter', + 'include': 'include', + 'page': 'page', + 'size': 'size', + 'sort': 'sort', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + 'meta_include': 'metaInclude', + }, + 'location_map': { + 'workspace_id': 'path', + 'origin': 'query', + 'filter': 'query', + 'include': 'query', + 'page': 'query', + 'size': 'query', + 'sort': 'query', + 'x_gdc_validate_relations': 'header', + 'meta_include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + 'sort': 'multi', + 'meta_include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_analytics_model_aac_endpoint = _Endpoint( + settings={ + 'response_type': (AacAnalyticsModel,), + 'auth': [], + 'endpoint_path': '/api/v1/aac/workspaces/{workspaceId}/analyticsModel', + 'operation_id': 'get_analytics_model_aac', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'exclude', + ], + 'required': [ + 'workspace_id', + ], + 'nullable': [ + ], + 'enum': [ + 'exclude', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('exclude',): { + + "ACTIVITY_INFO": "ACTIVITY_INFO" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'exclude': + ([str],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'exclude': 'exclude', + }, + 'location_map': { + 'workspace_id': 'path', + 'exclude': 'query', + }, + 'collection_format_map': { + 'exclude': 'multi', + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_collection_items_endpoint = _Endpoint( + settings={ + 'response_type': (GeoJsonFeatureCollection,), + 'auth': [], + 'endpoint_path': '/api/v1/location/collections/{collectionId}/items', + 'operation_id': 'get_collection_items', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'collection_id', + 'limit', + 'bbox', + 'values', + ], + 'required': [ + 'collection_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'limit', + ] + }, + root_map={ + 'validations': { + ('limit',): { + + 'inclusive_maximum': 100, + 'inclusive_minimum': 1, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'collection_id': + (str,), + 'limit': + (int,), + 'bbox': + (str,), + 'values': + ([str],), + }, + 'attribute_map': { + 'collection_id': 'collectionId', + 'limit': 'limit', + 'bbox': 'bbox', + 'values': 'values', + }, + 'location_map': { + 'collection_id': 'path', + 'limit': 'query', + 'bbox': 'query', + 'values': 'query', + }, + 'collection_format_map': { + 'values': 'multi', + } + }, + headers_map={ + 'accept': [ + '*/*' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_custom_collection_items_endpoint = _Endpoint( + settings={ + 'response_type': (GeoJsonFeatureCollection,), + 'auth': [], + 'endpoint_path': '/api/v1/location/custom/collections/{collectionId}/items', + 'operation_id': 'get_custom_collection_items', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'collection_id', + 'limit', + 'bbox', + 'values', + ], + 'required': [ + 'collection_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'limit', + ] + }, + root_map={ + 'validations': { + ('limit',): { + + 'inclusive_maximum': 100, + 'inclusive_minimum': 1, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'collection_id': + (str,), + 'limit': + (int,), + 'bbox': + (str,), + 'values': + ([str],), + }, + 'attribute_map': { + 'collection_id': 'collectionId', + 'limit': 'limit', + 'bbox': 'bbox', + 'values': 'values', + }, + 'location_map': { + 'collection_id': 'path', + 'limit': 'query', + 'bbox': 'query', + 'values': 'query', + }, + 'collection_format_map': { + 'values': 'multi', + } + }, + headers_map={ + 'accept': [ + '*/*' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_entity_custom_geo_collections_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiCustomGeoCollectionOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/customGeoCollections/{id}', + 'operation_id': 'get_entity_custom_geo_collections', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'filter', + ], + 'required': [ + 'id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + 'filter': + (str,), + }, + 'attribute_map': { + 'id': 'id', + 'filter': 'filter', + }, + 'location_map': { + 'id': 'path', + 'filter': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_entity_knowledge_recommendations_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiKnowledgeRecommendationOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId}', + 'operation_id': 'get_entity_knowledge_recommendations', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'object_id', + 'filter', + 'include', + 'x_gdc_validate_relations', + 'meta_include', + ], + 'required': [ + 'workspace_id', + 'object_id', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + 'meta_include', + ], + 'validation': [ + 'meta_include', + ] + }, + root_map={ + 'validations': { + ('meta_include',): { + + }, + }, + 'allowed_values': { + ('include',): { + + "METRICS": "metrics", + "ANALYTICALDASHBOARDS": "analyticalDashboards", + "METRIC": "metric", + "ANALYTICALDASHBOARD": "analyticalDashboard", + "ALL": "ALL" + }, + ('meta_include',): { + + "ORIGIN": "origin", + "ALL": "all", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'object_id': + (str,), + 'filter': + (str,), + 'include': + ([str],), + 'x_gdc_validate_relations': + (bool,), + 'meta_include': + ([str],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'object_id': 'objectId', + 'filter': 'filter', + 'include': 'include', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + 'meta_include': 'metaInclude', + }, + 'location_map': { + 'workspace_id': 'path', + 'object_id': 'path', + 'filter': 'query', + 'include': 'query', + 'x_gdc_validate_relations': 'header', + 'meta_include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + 'meta_include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_entity_memory_items_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiMemoryItemOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId}', + 'operation_id': 'get_entity_memory_items', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'object_id', + 'filter', + 'include', + 'x_gdc_validate_relations', + 'meta_include', + ], + 'required': [ + 'workspace_id', + 'object_id', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + 'meta_include', + ], + 'validation': [ + 'meta_include', + ] + }, + root_map={ + 'validations': { + ('meta_include',): { + + }, + }, + 'allowed_values': { + ('include',): { + + "USERIDENTIFIERS": "userIdentifiers", + "CREATEDBY": "createdBy", + "MODIFIEDBY": "modifiedBy", + "ALL": "ALL" + }, + ('meta_include',): { + + "ORIGIN": "origin", + "ALL": "all", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'object_id': + (str,), + 'filter': + (str,), + 'include': + ([str],), + 'x_gdc_validate_relations': + (bool,), + 'meta_include': + ([str],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'object_id': 'objectId', + 'filter': 'filter', + 'include': 'include', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + 'meta_include': 'metaInclude', + }, + 'location_map': { + 'workspace_id': 'path', + 'object_id': 'path', + 'filter': 'query', + 'include': 'query', + 'x_gdc_validate_relations': 'header', + 'meta_include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + 'meta_include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_logical_model_aac_endpoint = _Endpoint( + settings={ + 'response_type': (AacLogicalModel,), + 'auth': [], + 'endpoint_path': '/api/v1/aac/workspaces/{workspaceId}/logicalModel', + 'operation_id': 'get_logical_model_aac', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'include_parents', + ], + 'required': [ + 'workspace_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'include_parents': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'include_parents': 'includeParents', + }, + 'location_map': { + 'workspace_id': 'path', + 'include_parents': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_user_data_filters_endpoint = _Endpoint( + settings={ + 'response_type': (DeclarativeUserDataFilters,), + 'auth': [], + 'endpoint_path': '/api/v1/layout/workspaces/{workspaceId}/userDataFilters', + 'operation_id': 'get_user_data_filters', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + ], + 'required': [ + 'workspace_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + }, + 'location_map': { + 'workspace_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.import_custom_geo_collection_endpoint = _Endpoint( + settings={ + 'response_type': (ImportGeoCollectionResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/customGeoCollection/{collectionId}/import', + 'operation_id': 'import_custom_geo_collection', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'collection_id', + 'import_geo_collection_request', + ], + 'required': [ + 'collection_id', + 'import_geo_collection_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'collection_id': + (str,), + 'import_geo_collection_request': + (ImportGeoCollectionRequest,), + }, + 'attribute_map': { + 'collection_id': 'collectionId', + }, + 'location_map': { + 'collection_id': 'path', + 'import_geo_collection_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + '*/*' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.metadata_check_organization_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/actions/organization/metadataCheck', + 'operation_id': 'metadata_check_organization', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + ], + 'required': [], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + }, + 'attribute_map': { + }, + 'location_map': { + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) + self.metadata_sync_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/metadataSync', + 'operation_id': 'metadata_sync', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + ], + 'required': [ + 'workspace_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + }, + 'location_map': { + 'workspace_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) + self.metadata_sync_organization_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/actions/organization/metadataSync', + 'operation_id': 'metadata_sync_organization', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + ], + 'required': [], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + }, + 'attribute_map': { + }, + 'location_map': { + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) + self.patch_entity_custom_geo_collections_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiCustomGeoCollectionOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/customGeoCollections/{id}', + 'operation_id': 'patch_entity_custom_geo_collections', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'json_api_custom_geo_collection_patch_document', + 'filter', + ], + 'required': [ + 'id', + 'json_api_custom_geo_collection_patch_document', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + 'json_api_custom_geo_collection_patch_document': + (JsonApiCustomGeoCollectionPatchDocument,), + 'filter': + (str,), + }, + 'attribute_map': { + 'id': 'id', + 'filter': 'filter', + }, + 'location_map': { + 'id': 'path', + 'json_api_custom_geo_collection_patch_document': 'body', + 'filter': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ] + }, + api_client=api_client + ) + self.patch_entity_knowledge_recommendations_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiKnowledgeRecommendationOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId}', + 'operation_id': 'patch_entity_knowledge_recommendations', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'object_id', + 'json_api_knowledge_recommendation_patch_document', + 'filter', + 'include', + ], + 'required': [ + 'workspace_id', + 'object_id', + 'json_api_knowledge_recommendation_patch_document', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('include',): { + + "METRICS": "metrics", + "ANALYTICALDASHBOARDS": "analyticalDashboards", + "METRIC": "metric", + "ANALYTICALDASHBOARD": "analyticalDashboard", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'object_id': + (str,), + 'json_api_knowledge_recommendation_patch_document': + (JsonApiKnowledgeRecommendationPatchDocument,), + 'filter': + (str,), + 'include': + ([str],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'object_id': 'objectId', + 'filter': 'filter', + 'include': 'include', + }, + 'location_map': { + 'workspace_id': 'path', + 'object_id': 'path', + 'json_api_knowledge_recommendation_patch_document': 'body', + 'filter': 'query', + 'include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ] + }, + api_client=api_client + ) + self.patch_entity_memory_items_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiMemoryItemOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId}', + 'operation_id': 'patch_entity_memory_items', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'object_id', + 'json_api_memory_item_patch_document', + 'filter', + 'include', + ], + 'required': [ + 'workspace_id', + 'object_id', + 'json_api_memory_item_patch_document', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('include',): { + + "USERIDENTIFIERS": "userIdentifiers", + "CREATEDBY": "createdBy", + "MODIFIEDBY": "modifiedBy", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'object_id': + (str,), + 'json_api_memory_item_patch_document': + (JsonApiMemoryItemPatchDocument,), + 'filter': + (str,), + 'include': + ([str],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'object_id': 'objectId', + 'filter': 'filter', + 'include': 'include', + }, + 'location_map': { + 'workspace_id': 'path', + 'object_id': 'path', + 'json_api_memory_item_patch_document': 'body', + 'filter': 'query', + 'include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ] + }, + api_client=api_client + ) + self.search_entities_knowledge_recommendations_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiKnowledgeRecommendationOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/search', + 'operation_id': 'search_entities_knowledge_recommendations', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.search_entities_memory_items_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiMemoryItemOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/memoryItems/search', + 'operation_id': 'search_entities_memory_items', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.set_analytics_model_aac_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/aac/workspaces/{workspaceId}/analyticsModel', + 'operation_id': 'set_analytics_model_aac', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'aac_analytics_model', + ], + 'required': [ + 'workspace_id', + 'aac_analytics_model', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'aac_analytics_model': + (AacAnalyticsModel,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + }, + 'location_map': { + 'workspace_id': 'path', + 'aac_analytics_model': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.set_logical_model_aac_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/aac/workspaces/{workspaceId}/logicalModel', + 'operation_id': 'set_logical_model_aac', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'aac_logical_model', + ], + 'required': [ + 'workspace_id', + 'aac_logical_model', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'aac_logical_model': + (AacLogicalModel,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + }, + 'location_map': { + 'workspace_id': 'path', + 'aac_logical_model': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.set_user_data_filters_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/layout/workspaces/{workspaceId}/userDataFilters', + 'operation_id': 'set_user_data_filters', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'declarative_user_data_filters', + ], + 'required': [ + 'workspace_id', + 'declarative_user_data_filters', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'declarative_user_data_filters': + (DeclarativeUserDataFilters,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + }, + 'location_map': { + 'workspace_id': 'path', + 'declarative_user_data_filters': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.switch_active_identity_provider_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/actions/organization/switchActiveIdentityProvider', + 'operation_id': 'switch_active_identity_provider', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'switch_identity_provider_request', + ], + 'required': [ + 'switch_identity_provider_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'switch_identity_provider_request': + (SwitchIdentityProviderRequest,), + }, + 'attribute_map': { + }, + 'location_map': { + 'switch_identity_provider_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.update_entity_custom_geo_collections_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiCustomGeoCollectionOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/customGeoCollections/{id}', + 'operation_id': 'update_entity_custom_geo_collections', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'json_api_custom_geo_collection_in_document', + 'filter', + ], + 'required': [ + 'id', + 'json_api_custom_geo_collection_in_document', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + 'json_api_custom_geo_collection_in_document': + (JsonApiCustomGeoCollectionInDocument,), + 'filter': + (str,), + }, + 'attribute_map': { + 'id': 'id', + 'filter': 'filter', + }, + 'location_map': { + 'id': 'path', + 'json_api_custom_geo_collection_in_document': 'body', + 'filter': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ] + }, + api_client=api_client + ) + self.update_entity_knowledge_recommendations_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiKnowledgeRecommendationOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId}', + 'operation_id': 'update_entity_knowledge_recommendations', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'object_id', + 'json_api_knowledge_recommendation_in_document', + 'filter', + 'include', + ], + 'required': [ + 'workspace_id', + 'object_id', + 'json_api_knowledge_recommendation_in_document', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('include',): { + + "METRICS": "metrics", + "ANALYTICALDASHBOARDS": "analyticalDashboards", + "METRIC": "metric", + "ANALYTICALDASHBOARD": "analyticalDashboard", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'object_id': + (str,), + 'json_api_knowledge_recommendation_in_document': + (JsonApiKnowledgeRecommendationInDocument,), + 'filter': + (str,), + 'include': + ([str],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'object_id': 'objectId', + 'filter': 'filter', + 'include': 'include', + }, + 'location_map': { + 'workspace_id': 'path', + 'object_id': 'path', + 'json_api_knowledge_recommendation_in_document': 'body', + 'filter': 'query', + 'include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ] + }, + api_client=api_client + ) + self.update_entity_memory_items_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiMemoryItemOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId}', + 'operation_id': 'update_entity_memory_items', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'object_id', + 'json_api_memory_item_in_document', + 'filter', + 'include', + ], + 'required': [ + 'workspace_id', + 'object_id', + 'json_api_memory_item_in_document', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('include',): { + + "USERIDENTIFIERS": "userIdentifiers", + "CREATEDBY": "createdBy", + "MODIFIEDBY": "modifiedBy", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'object_id': + (str,), + 'json_api_memory_item_in_document': + (JsonApiMemoryItemInDocument,), + 'filter': + (str,), + 'include': + ([str],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'object_id': 'objectId', + 'filter': 'filter', + 'include': 'include', + }, + 'location_map': { + 'workspace_id': 'path', + 'object_id': 'path', + 'json_api_memory_item_in_document': 'body', + 'filter': 'query', + 'include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ] + }, + api_client=api_client + ) + + def create_entity_custom_geo_collections( + self, + json_api_custom_geo_collection_in_document, + **kwargs + ): + """create_entity_custom_geo_collections # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_entity_custom_geo_collections(json_api_custom_geo_collection_in_document, async_req=True) + >>> result = thread.get() + + Args: + json_api_custom_geo_collection_in_document (JsonApiCustomGeoCollectionInDocument): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiCustomGeoCollectionOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['json_api_custom_geo_collection_in_document'] = \ + json_api_custom_geo_collection_in_document + return self.create_entity_custom_geo_collections_endpoint.call_with_http_info(**kwargs) + + def create_entity_knowledge_recommendations( + self, + workspace_id, + json_api_knowledge_recommendation_post_optional_id_document, + **kwargs + ): + """create_entity_knowledge_recommendations # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_entity_knowledge_recommendations(workspace_id, json_api_knowledge_recommendation_post_optional_id_document, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + json_api_knowledge_recommendation_post_optional_id_document (JsonApiKnowledgeRecommendationPostOptionalIdDocument): + + Keyword Args: + include ([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 ([str]): Include Meta objects.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiKnowledgeRecommendationOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['json_api_knowledge_recommendation_post_optional_id_document'] = \ + json_api_knowledge_recommendation_post_optional_id_document + return self.create_entity_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) + + def create_entity_memory_items( + self, + workspace_id, + json_api_memory_item_post_optional_id_document, + **kwargs + ): + """create_entity_memory_items # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_entity_memory_items(workspace_id, json_api_memory_item_post_optional_id_document, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + json_api_memory_item_post_optional_id_document (JsonApiMemoryItemPostOptionalIdDocument): + + Keyword Args: + include ([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 ([str]): Include Meta objects.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiMemoryItemOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['json_api_memory_item_post_optional_id_document'] = \ + json_api_memory_item_post_optional_id_document + return self.create_entity_memory_items_endpoint.call_with_http_info(**kwargs) + + def custom_geo_collection_staging_upload( + self, + file, + **kwargs + ): + """Upload a geo collection file to the staging area # noqa: E501 + + Provides a location for uploading staging files for custom geo collections. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.custom_geo_collection_staging_upload(file, async_req=True) + >>> result = thread.get() + + Args: + file (file_type): The geo collection file to upload. + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + UploadGeoCollectionFileResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['file'] = \ + file + return self.custom_geo_collection_staging_upload_endpoint.call_with_http_info(**kwargs) + + def delete_entity_custom_geo_collections( + self, + id, + **kwargs + ): + """delete_entity_custom_geo_collections # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_entity_custom_geo_collections(id, async_req=True) + >>> result = thread.get() + + Args: + id (str): + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['id'] = \ + id + return self.delete_entity_custom_geo_collections_endpoint.call_with_http_info(**kwargs) + + def delete_entity_knowledge_recommendations( + self, + workspace_id, + object_id, + **kwargs + ): + """delete_entity_knowledge_recommendations # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_entity_knowledge_recommendations(workspace_id, object_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + object_id (str): + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.delete_entity_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) + + def delete_entity_memory_items( + self, + workspace_id, + object_id, + **kwargs + ): + """delete_entity_memory_items # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_entity_memory_items(workspace_id, object_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + object_id (str): + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.delete_entity_memory_items_endpoint.call_with_http_info(**kwargs) + + def get_all_entities_custom_geo_collections( + self, + **kwargs + ): + """get_all_entities_custom_geo_collections # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_all_entities_custom_geo_collections(async_req=True) + >>> result = thread.get() + + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + page (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 + size (int): The size of the page to be returned. [optional] if omitted the server will use the default value of 20 + sort ([str]): Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.. [optional] + meta_include ([str]): Include Meta objects.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiCustomGeoCollectionOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + return self.get_all_entities_custom_geo_collections_endpoint.call_with_http_info(**kwargs) + + def get_all_entities_knowledge_recommendations( + self, + workspace_id, + **kwargs + ): + """get_all_entities_knowledge_recommendations # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_all_entities_knowledge_recommendations(workspace_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([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 (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 + size (int): The size of the page to be returned. [optional] if omitted the server will use the default value of 20 + sort ([str]): Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.. [optional] + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + meta_include ([str]): Include Meta objects.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiKnowledgeRecommendationOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + return self.get_all_entities_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) + + def get_all_entities_memory_items( + self, + workspace_id, + **kwargs + ): + """get_all_entities_memory_items # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_all_entities_memory_items(workspace_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([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 (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 + size (int): The size of the page to be returned. [optional] if omitted the server will use the default value of 20 + sort ([str]): Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.. [optional] + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + meta_include ([str]): Include Meta objects.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiMemoryItemOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + return self.get_all_entities_memory_items_endpoint.call_with_http_info(**kwargs) + + def get_analytics_model_aac( + self, + workspace_id, + **kwargs + ): + """Get analytics model in AAC format # noqa: E501 + + Retrieve the analytics model of the workspace in Analytics as Code format. The returned format is compatible with the YAML definitions used by the GoodData Analytics as Code VSCode extension. This includes metrics, dashboards, visualizations, plugins, and attribute hierarchies. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_analytics_model_aac(workspace_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + + Keyword Args: + exclude ([str]): [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AacAnalyticsModel + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + return self.get_analytics_model_aac_endpoint.call_with_http_info(**kwargs) + + def get_collection_items( + self, + collection_id, + **kwargs + ): + """Get collection features # noqa: E501 + + Retrieve features from a GeoCollections collection as GeoJSON # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_collection_items(collection_id, async_req=True) + >>> result = thread.get() + + Args: + collection_id (str): Collection identifier + + Keyword Args: + limit (int): Maximum number of features to return. [optional] + bbox (str): Bounding box filter (minx,miny,maxx,maxy). [optional] + values ([str]): List of values to filter features by. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + GeoJsonFeatureCollection + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['collection_id'] = \ + collection_id + return self.get_collection_items_endpoint.call_with_http_info(**kwargs) + + def get_custom_collection_items( + self, + collection_id, + **kwargs + ): + """Get custom collection features # noqa: E501 + + Retrieve features from a custom (organization-scoped) GeoCollections collection as GeoJSON # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_custom_collection_items(collection_id, async_req=True) + >>> result = thread.get() + + Args: + collection_id (str): Collection identifier + + Keyword Args: + limit (int): Maximum number of features to return. [optional] + bbox (str): Bounding box filter (minx,miny,maxx,maxy). [optional] + values ([str]): List of values to filter features by. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + GeoJsonFeatureCollection + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['collection_id'] = \ + collection_id + return self.get_custom_collection_items_endpoint.call_with_http_info(**kwargs) + + def get_entity_custom_geo_collections( + self, + id, + **kwargs + ): + """get_entity_custom_geo_collections # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_entity_custom_geo_collections(id, async_req=True) + >>> result = thread.get() + + Args: + id (str): + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiCustomGeoCollectionOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['id'] = \ + id + return self.get_entity_custom_geo_collections_endpoint.call_with_http_info(**kwargs) + + def get_entity_knowledge_recommendations( + self, + workspace_id, + object_id, + **kwargs + ): + """get_entity_knowledge_recommendations # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_entity_knowledge_recommendations(workspace_id, object_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + object_id (str): + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([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 (bool): [optional] if omitted the server will use the default value of False + meta_include ([str]): Include Meta objects.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiKnowledgeRecommendationOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.get_entity_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) + + def get_entity_memory_items( + self, + workspace_id, + object_id, + **kwargs + ): + """get_entity_memory_items # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_entity_memory_items(workspace_id, object_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + object_id (str): + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([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 (bool): [optional] if omitted the server will use the default value of False + meta_include ([str]): Include Meta objects.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiMemoryItemOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.get_entity_memory_items_endpoint.call_with_http_info(**kwargs) + + def get_logical_model_aac( + self, + workspace_id, + **kwargs + ): + """Get logical model in AAC format # noqa: E501 + + Retrieve the logical data model of the workspace in Analytics as Code format. The returned format is compatible with the YAML definitions used by the GoodData Analytics as Code VSCode extension. Use this for exporting models that can be directly used as YAML configuration files. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_logical_model_aac(workspace_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + + Keyword Args: + include_parents (bool): [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AacLogicalModel + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + return self.get_logical_model_aac_endpoint.call_with_http_info(**kwargs) + + def get_user_data_filters( + self, + workspace_id, + **kwargs + ): + """Get user data filters # noqa: E501 + + Retrieve current user data filters assigned to the workspace. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user_data_filters(workspace_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + DeclarativeUserDataFilters + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + return self.get_user_data_filters_endpoint.call_with_http_info(**kwargs) + + def import_custom_geo_collection( + self, + collection_id, + import_geo_collection_request, + **kwargs + ): + """Import custom geo collection # noqa: E501 + + Import a geo collection file from the staging area to be available for use. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.import_custom_geo_collection(collection_id, import_geo_collection_request, async_req=True) + >>> result = thread.get() + + Args: + collection_id (str): + import_geo_collection_request (ImportGeoCollectionRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + ImportGeoCollectionResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['collection_id'] = \ + collection_id + kwargs['import_geo_collection_request'] = \ + import_geo_collection_request + return self.import_custom_geo_collection_endpoint.call_with_http_info(**kwargs) + + def metadata_check_organization( + self, + **kwargs + ): + """(BETA) Check Organization Metadata Inconsistencies # noqa: E501 + + (BETA) Temporary solution. Resyncs all organization objects and full workspaces within the organization with target GEN_AI_CHECK. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.metadata_check_organization(async_req=True) + >>> result = thread.get() + + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + return self.metadata_check_organization_endpoint.call_with_http_info(**kwargs) + + def metadata_sync( + self, + workspace_id, + **kwargs + ): + """(BETA) Sync Metadata to other services # noqa: E501 + + (BETA) Temporary solution. Later relevant metadata actions will trigger it in its scope only. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.metadata_sync(workspace_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + return self.metadata_sync_endpoint.call_with_http_info(**kwargs) + + def metadata_sync_organization( + self, + **kwargs + ): + """(BETA) Sync organization scope Metadata to other services # noqa: E501 + + (BETA) Temporary solution. Later relevant metadata actions will trigger sync in their scope only. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.metadata_sync_organization(async_req=True) + >>> result = thread.get() + + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + return self.metadata_sync_organization_endpoint.call_with_http_info(**kwargs) + + def patch_entity_custom_geo_collections( + self, + id, + json_api_custom_geo_collection_patch_document, + **kwargs + ): + """patch_entity_custom_geo_collections # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.patch_entity_custom_geo_collections(id, json_api_custom_geo_collection_patch_document, async_req=True) + >>> result = thread.get() + + Args: + id (str): + json_api_custom_geo_collection_patch_document (JsonApiCustomGeoCollectionPatchDocument): + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiCustomGeoCollectionOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['id'] = \ + id + kwargs['json_api_custom_geo_collection_patch_document'] = \ + json_api_custom_geo_collection_patch_document + return self.patch_entity_custom_geo_collections_endpoint.call_with_http_info(**kwargs) + + def patch_entity_knowledge_recommendations( + self, + workspace_id, + object_id, + json_api_knowledge_recommendation_patch_document, + **kwargs + ): + """patch_entity_knowledge_recommendations # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.patch_entity_knowledge_recommendations(workspace_id, object_id, json_api_knowledge_recommendation_patch_document, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + object_id (str): + json_api_knowledge_recommendation_patch_document (JsonApiKnowledgeRecommendationPatchDocument): + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([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] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiKnowledgeRecommendationOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + kwargs['json_api_knowledge_recommendation_patch_document'] = \ + json_api_knowledge_recommendation_patch_document + return self.patch_entity_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) + + def patch_entity_memory_items( + self, + workspace_id, + object_id, + json_api_memory_item_patch_document, + **kwargs + ): + """patch_entity_memory_items # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.patch_entity_memory_items(workspace_id, object_id, json_api_memory_item_patch_document, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + object_id (str): + json_api_memory_item_patch_document (JsonApiMemoryItemPatchDocument): + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([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] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiMemoryItemOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + kwargs['json_api_memory_item_patch_document'] = \ + json_api_memory_item_patch_document + return self.patch_entity_memory_items_endpoint.call_with_http_info(**kwargs) + + def search_entities_knowledge_recommendations( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """search_entities_knowledge_recommendations # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_knowledge_recommendations(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiKnowledgeRecommendationOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) + + def search_entities_memory_items( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for MemoryItem # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_memory_items(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiMemoryItemOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_memory_items_endpoint.call_with_http_info(**kwargs) + + def set_analytics_model_aac( + self, + workspace_id, + aac_analytics_model, + **kwargs + ): + """Set analytics model from AAC format # noqa: E501 + + Set the analytics model of the workspace using Analytics as Code format. The input format is compatible with the YAML definitions used by the GoodData Analytics as Code VSCode extension. This replaces the entire analytics model with the provided definition, including metrics, dashboards, visualizations, plugins, and attribute hierarchies. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.set_analytics_model_aac(workspace_id, aac_analytics_model, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + aac_analytics_model (AacAnalyticsModel): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['aac_analytics_model'] = \ + aac_analytics_model + return self.set_analytics_model_aac_endpoint.call_with_http_info(**kwargs) + + def set_logical_model_aac( + self, + workspace_id, + aac_logical_model, + **kwargs + ): + """Set logical model from AAC format # noqa: E501 + + Set the logical data model of the workspace using Analytics as Code format. The input format is compatible with the YAML definitions used by the GoodData Analytics as Code VSCode extension. This replaces the entire logical model with the provided definition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.set_logical_model_aac(workspace_id, aac_logical_model, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + aac_logical_model (AacLogicalModel): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['aac_logical_model'] = \ + aac_logical_model + return self.set_logical_model_aac_endpoint.call_with_http_info(**kwargs) + + def set_user_data_filters( + self, + workspace_id, + declarative_user_data_filters, + **kwargs + ): + """Set user data filters # noqa: E501 + + Set user data filters assigned to the workspace. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.set_user_data_filters(workspace_id, declarative_user_data_filters, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + declarative_user_data_filters (DeclarativeUserDataFilters): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['declarative_user_data_filters'] = \ + declarative_user_data_filters + return self.set_user_data_filters_endpoint.call_with_http_info(**kwargs) + + def switch_active_identity_provider( + self, + switch_identity_provider_request, + **kwargs + ): + """Switch Active Identity Provider # noqa: E501 + + Switch the active identity provider for the organization. Requires MANAGE permission on the organization. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.switch_active_identity_provider(switch_identity_provider_request, async_req=True) + >>> result = thread.get() + + Args: + switch_identity_provider_request (SwitchIdentityProviderRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['switch_identity_provider_request'] = \ + switch_identity_provider_request + return self.switch_active_identity_provider_endpoint.call_with_http_info(**kwargs) + + def update_entity_custom_geo_collections( + self, + id, + json_api_custom_geo_collection_in_document, + **kwargs + ): + """update_entity_custom_geo_collections # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_entity_custom_geo_collections(id, json_api_custom_geo_collection_in_document, async_req=True) + >>> result = thread.get() + + Args: + id (str): + json_api_custom_geo_collection_in_document (JsonApiCustomGeoCollectionInDocument): + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiCustomGeoCollectionOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['id'] = \ + id + kwargs['json_api_custom_geo_collection_in_document'] = \ + json_api_custom_geo_collection_in_document + return self.update_entity_custom_geo_collections_endpoint.call_with_http_info(**kwargs) + + def update_entity_knowledge_recommendations( + self, + workspace_id, + object_id, + json_api_knowledge_recommendation_in_document, + **kwargs + ): + """update_entity_knowledge_recommendations # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_entity_knowledge_recommendations(workspace_id, object_id, json_api_knowledge_recommendation_in_document, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + object_id (str): + json_api_knowledge_recommendation_in_document (JsonApiKnowledgeRecommendationInDocument): + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([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] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiKnowledgeRecommendationOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + kwargs['json_api_knowledge_recommendation_in_document'] = \ + json_api_knowledge_recommendation_in_document + return self.update_entity_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) + + def update_entity_memory_items( + self, + workspace_id, + object_id, + json_api_memory_item_in_document, + **kwargs + ): + """update_entity_memory_items # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_entity_memory_items(workspace_id, object_id, json_api_memory_item_in_document, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + object_id (str): + json_api_memory_item_in_document (JsonApiMemoryItemInDocument): + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([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] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiMemoryItemOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + kwargs['json_api_memory_item_in_document'] = \ + json_api_memory_item_in_document + return self.update_entity_memory_items_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/permissions_api.py b/gooddata-api-client/gooddata_api_client/api/permissions_api.py index 7baeb5e83..1ded38d3f 100644 --- a/gooddata-api-client/gooddata_api_client/api/permissions_api.py +++ b/gooddata-api-client/gooddata_api_client/api/permissions_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/plugins_api.py b/gooddata-api-client/gooddata_api_client/api/plugins_api.py index ce7fe6df7..7a2754ea1 100644 --- a/gooddata-api-client/gooddata_api_client/api/plugins_api.py +++ b/gooddata-api-client/gooddata_api_client/api/plugins_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -22,6 +22,7 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.entity_search_body import EntitySearchBody from gooddata_api_client.model.json_api_dashboard_plugin_in_document import JsonApiDashboardPluginInDocument from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument from gooddata_api_client.model.json_api_dashboard_plugin_out_list import JsonApiDashboardPluginOutList @@ -119,9 +120,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -298,6 +301,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -394,6 +398,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -473,14 +478,90 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, api_client=api_client ) + self.search_entities_dashboard_plugins_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiDashboardPluginOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/search', + 'operation_id': 'search_entities_dashboard_plugins', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.update_entity_dashboard_plugins_endpoint = _Endpoint( settings={ 'response_type': (JsonApiDashboardPluginOutDocument,), @@ -554,9 +635,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -1010,6 +1093,94 @@ def patch_entity_dashboard_plugins( json_api_dashboard_plugin_patch_document return self.patch_entity_dashboard_plugins_endpoint.call_with_http_info(**kwargs) + def search_entities_dashboard_plugins( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for DashboardPlugin # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_dashboard_plugins(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiDashboardPluginOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_dashboard_plugins_endpoint.call_with_http_info(**kwargs) + def update_entity_dashboard_plugins( self, workspace_id, diff --git a/gooddata-api-client/gooddata_api_client/api/raw_export_api.py b/gooddata-api-client/gooddata_api_client/api/raw_export_api.py index 7066a0f4d..332d84ac0 100644 --- a/gooddata-api-client/gooddata_api_client/api/raw_export_api.py +++ b/gooddata-api-client/gooddata_api_client/api/raw_export_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/reporting_settings_api.py b/gooddata-api-client/gooddata_api_client/api/reporting_settings_api.py index f1a09a934..eb696304d 100644 --- a/gooddata-api-client/gooddata_api_client/api/reporting_settings_api.py +++ b/gooddata-api-client/gooddata_api_client/api/reporting_settings_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/scanning_api.py b/gooddata-api-client/gooddata_api_client/api/scanning_api.py index 6ec4bd866..a64567589 100644 --- a/gooddata-api-client/gooddata_api_client/api/scanning_api.py +++ b/gooddata-api-client/gooddata_api_client/api/scanning_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/slides_export_api.py b/gooddata-api-client/gooddata_api_client/api/slides_export_api.py index 5dd5deeeb..ddadb07c0 100644 --- a/gooddata-api-client/gooddata_api_client/api/slides_export_api.py +++ b/gooddata-api-client/gooddata_api_client/api/slides_export_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/smart_functions_api.py b/gooddata-api-client/gooddata_api_client/api/smart_functions_api.py index 10e2689f3..ff20e9858 100644 --- a/gooddata-api-client/gooddata_api_client/api/smart_functions_api.py +++ b/gooddata-api-client/gooddata_api_client/api/smart_functions_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/tabular_export_api.py b/gooddata-api-client/gooddata_api_client/api/tabular_export_api.py index 01533d77c..661fef360 100644 --- a/gooddata-api-client/gooddata_api_client/api/tabular_export_api.py +++ b/gooddata-api-client/gooddata_api_client/api/tabular_export_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/test_connection_api.py b/gooddata-api-client/gooddata_api_client/api/test_connection_api.py index b8533b90c..a030cf90d 100644 --- a/gooddata-api-client/gooddata_api_client/api/test_connection_api.py +++ b/gooddata-api-client/gooddata_api_client/api/test_connection_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/translations_api.py b/gooddata-api-client/gooddata_api_client/api/translations_api.py index 267a4919c..3417a025c 100644 --- a/gooddata-api-client/gooddata_api_client/api/translations_api.py +++ b/gooddata-api-client/gooddata_api_client/api/translations_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/usage_api.py b/gooddata-api-client/gooddata_api_client/api/usage_api.py index 45d593cc3..b043a33fe 100644 --- a/gooddata-api-client/gooddata_api_client/api/usage_api.py +++ b/gooddata-api-client/gooddata_api_client/api/usage_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/user_authorization_api.py b/gooddata-api-client/gooddata_api_client/api/user_authorization_api.py new file mode 100644 index 000000000..9637b7d4f --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/api/user_authorization_api.py @@ -0,0 +1,950 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.api_client import ApiClient, Endpoint as _Endpoint +from gooddata_api_client.model_utils import ( # noqa: F401 + check_allowed_values, + check_validations, + date, + datetime, + file_type, + none_type, + validate_and_convert_types +) +from gooddata_api_client.model.auth_user import AuthUser +from gooddata_api_client.model.invitation import Invitation +from gooddata_api_client.model.profile import Profile + + +class UserAuthorizationApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + self.create_user_endpoint = _Endpoint( + settings={ + 'response_type': (AuthUser,), + 'auth': [], + 'endpoint_path': '/api/v1/auth/users', + 'operation_id': 'create_user', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'auth_user', + ], + 'required': [ + 'auth_user', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'auth_user': + (AuthUser,), + }, + 'attribute_map': { + }, + 'location_map': { + 'auth_user': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.delete_user_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/auth/users/{userEmail}', + 'operation_id': 'delete_user', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_email', + ], + 'required': [ + 'user_email', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'user_email': + (str,), + }, + 'attribute_map': { + 'user_email': 'userEmail', + }, + 'location_map': { + 'user_email': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) + self.get_profile_endpoint = _Endpoint( + settings={ + 'response_type': (Profile,), + 'auth': [], + 'endpoint_path': '/api/v1/profile', + 'operation_id': 'get_profile', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + ], + 'required': [], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + }, + 'attribute_map': { + }, + 'location_map': { + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_user_endpoint = _Endpoint( + settings={ + 'response_type': (AuthUser,), + 'auth': [], + 'endpoint_path': '/api/v1/auth/users/{userEmail}', + 'operation_id': 'get_user', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_email', + ], + 'required': [ + 'user_email', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'user_email': + (str,), + }, + 'attribute_map': { + 'user_email': 'userEmail', + }, + 'location_map': { + 'user_email': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_users_endpoint = _Endpoint( + settings={ + 'response_type': ([AuthUser],), + 'auth': [], + 'endpoint_path': '/api/v1/auth/users', + 'operation_id': 'get_users', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + ], + 'required': [], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + }, + 'attribute_map': { + }, + 'location_map': { + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.process_invitation_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/actions/invite', + 'operation_id': 'process_invitation', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'invitation', + ], + 'required': [ + 'invitation', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'invitation': + (Invitation,), + }, + 'attribute_map': { + }, + 'location_map': { + 'invitation': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.update_user_endpoint = _Endpoint( + settings={ + 'response_type': (AuthUser,), + 'auth': [], + 'endpoint_path': '/api/v1/auth/users/{userEmail}', + 'operation_id': 'update_user', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_email', + 'auth_user', + ], + 'required': [ + 'user_email', + 'auth_user', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'user_email': + (str,), + 'auth_user': + (AuthUser,), + }, + 'attribute_map': { + 'user_email': 'userEmail', + }, + 'location_map': { + 'user_email': 'path', + 'auth_user': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + + def create_user( + self, + auth_user, + **kwargs + ): + """Create a user # noqa: E501 + + Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_user(auth_user, async_req=True) + >>> result = thread.get() + + Args: + auth_user (AuthUser): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AuthUser + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['auth_user'] = \ + auth_user + return self.create_user_endpoint.call_with_http_info(**kwargs) + + def delete_user( + self, + user_email, + **kwargs + ): + """Delete a user # noqa: E501 + + Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_user(user_email, async_req=True) + >>> result = thread.get() + + Args: + user_email (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['user_email'] = \ + user_email + return self.delete_user_endpoint.call_with_http_info(**kwargs) + + def get_profile( + self, + **kwargs + ): + """Get Profile # noqa: E501 + + Returns a Profile including Organization and Current User Information. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_profile(async_req=True) + >>> result = thread.get() + + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + Profile + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + return self.get_profile_endpoint.call_with_http_info(**kwargs) + + def get_user( + self, + user_email, + **kwargs + ): + """Get a user # noqa: E501 + + Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_user(user_email, async_req=True) + >>> result = thread.get() + + Args: + user_email (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AuthUser + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['user_email'] = \ + user_email + return self.get_user_endpoint.call_with_http_info(**kwargs) + + def get_users( + self, + **kwargs + ): + """Get all users # noqa: E501 + + Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_users(async_req=True) + >>> result = thread.get() + + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + [AuthUser] + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + return self.get_users_endpoint.call_with_http_info(**kwargs) + + def process_invitation( + self, + invitation, + **kwargs + ): + """Invite User # noqa: E501 + + Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.process_invitation(invitation, async_req=True) + >>> result = thread.get() + + Args: + invitation (Invitation): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['invitation'] = \ + invitation + return self.process_invitation_endpoint.call_with_http_info(**kwargs) + + def update_user( + self, + user_email, + auth_user, + **kwargs + ): + """Update a user # noqa: E501 + + Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_user(user_email, auth_user, async_req=True) + >>> result = thread.get() + + Args: + user_email (str): + auth_user (AuthUser): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AuthUser + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['user_email'] = \ + user_email + kwargs['auth_user'] = \ + auth_user + return self.update_user_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/user_groups_declarative_apis_api.py b/gooddata-api-client/gooddata_api_client/api/user_groups_declarative_apis_api.py index b81ca5d89..ba405ba6c 100644 --- a/gooddata-api-client/gooddata_api_client/api/user_groups_declarative_apis_api.py +++ b/gooddata-api-client/gooddata_api_client/api/user_groups_declarative_apis_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/user_groups_entity_apis_api.py b/gooddata-api-client/gooddata_api_client/api/user_groups_entity_apis_api.py index 89892b9a8..625eca539 100644 --- a/gooddata-api-client/gooddata_api_client/api/user_groups_entity_apis_api.py +++ b/gooddata-api-client/gooddata_api_client/api/user_groups_entity_apis_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -94,9 +94,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -248,6 +250,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -322,6 +325,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -401,9 +405,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -482,9 +488,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, diff --git a/gooddata-api-client/gooddata_api_client/api/user_identifiers_api.py b/gooddata-api-client/gooddata_api_client/api/user_identifiers_api.py index 64dd4a105..110e81b98 100644 --- a/gooddata-api-client/gooddata_api_client/api/user_identifiers_api.py +++ b/gooddata-api-client/gooddata_api_client/api/user_identifiers_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -111,6 +111,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -172,6 +173,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], diff --git a/gooddata-api-client/gooddata_api_client/api/user_management_api.py b/gooddata-api-client/gooddata_api_client/api/user_management_api.py index 9ce5cb9a9..1e496d754 100644 --- a/gooddata-api-client/gooddata_api_client/api/user_management_api.py +++ b/gooddata-api-client/gooddata_api_client/api/user_management_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -28,6 +28,8 @@ from gooddata_api_client.model.user_management_user_group_members import UserManagementUserGroupMembers from gooddata_api_client.model.user_management_user_groups import UserManagementUserGroups from gooddata_api_client.model.user_management_users import UserManagementUsers +from gooddata_api_client.model.workspace_user_groups import WorkspaceUserGroups +from gooddata_api_client.model.workspace_users import WorkspaceUsers class UserManagementApi(object): @@ -429,6 +431,134 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.list_workspace_user_groups_endpoint = _Endpoint( + settings={ + 'response_type': (WorkspaceUserGroups,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/userGroups', + 'operation_id': 'list_workspace_user_groups', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'page', + 'size', + 'name', + ], + 'required': [ + 'workspace_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'page': + (int,), + 'size': + (int,), + 'name': + (str,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'page': 'page', + 'size': 'size', + 'name': 'name', + }, + 'location_map': { + 'workspace_id': 'path', + 'page': 'query', + 'size': 'query', + 'name': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.list_workspace_users_endpoint = _Endpoint( + settings={ + 'response_type': (WorkspaceUsers,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/users', + 'operation_id': 'list_workspace_users', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'page', + 'size', + 'name', + ], + 'required': [ + 'workspace_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'page': + (int,), + 'size': + (int,), + 'name': + (str,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'page': 'page', + 'size': 'size', + 'name': 'name', + }, + 'location_map': { + 'workspace_id': 'path', + 'page': 'query', + 'size': 'query', + 'name': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.manage_permissions_for_user_endpoint = _Endpoint( settings={ 'response_type': None, @@ -1267,6 +1397,176 @@ def list_users( kwargs['_request_auths'] = kwargs.get('_request_auths', None) return self.list_users_endpoint.call_with_http_info(**kwargs) + def list_workspace_user_groups( + self, + workspace_id, + **kwargs + ): + """list_workspace_user_groups # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.list_workspace_user_groups(workspace_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + + Keyword Args: + page (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 + size (int): The size of the page to be returned.. [optional] if omitted the server will use the default value of 20 + name (str): Filter by user name. Note that user name is case insensitive.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + WorkspaceUserGroups + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + return self.list_workspace_user_groups_endpoint.call_with_http_info(**kwargs) + + def list_workspace_users( + self, + workspace_id, + **kwargs + ): + """list_workspace_users # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.list_workspace_users(workspace_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + + Keyword Args: + page (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 + size (int): The size of the page to be returned.. [optional] if omitted the server will use the default value of 20 + name (str): Filter by user name. Note that user name is case insensitive.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + WorkspaceUsers + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + return self.list_workspace_users_endpoint.call_with_http_info(**kwargs) + def manage_permissions_for_user( self, user_id, diff --git a/gooddata-api-client/gooddata_api_client/api/user_settings_api.py b/gooddata-api-client/gooddata_api_client/api/user_settings_api.py index 7be5321b0..91c06c70c 100644 --- a/gooddata-api-client/gooddata_api_client/api/user_settings_api.py +++ b/gooddata-api-client/gooddata_api_client/api/user_settings_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -86,9 +86,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -240,6 +242,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -307,6 +310,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -379,9 +383,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, diff --git a/gooddata-api-client/gooddata_api_client/api/users_declarative_apis_api.py b/gooddata-api-client/gooddata_api_client/api/users_declarative_apis_api.py index 3ca6ae84a..0da1c44ea 100644 --- a/gooddata-api-client/gooddata_api_client/api/users_declarative_apis_api.py +++ b/gooddata-api-client/gooddata_api_client/api/users_declarative_apis_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/users_entity_apis_api.py b/gooddata-api-client/gooddata_api_client/api/users_entity_apis_api.py index 209d2baf7..f9f1345ce 100644 --- a/gooddata-api-client/gooddata_api_client/api/users_entity_apis_api.py +++ b/gooddata-api-client/gooddata_api_client/api/users_entity_apis_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -93,9 +93,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -246,6 +248,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -319,6 +322,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -397,9 +401,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -477,9 +483,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, diff --git a/gooddata-api-client/gooddata_api_client/api/visual_export_api.py b/gooddata-api-client/gooddata_api_client/api/visual_export_api.py index c87a258bc..e4204761b 100644 --- a/gooddata-api-client/gooddata_api_client/api/visual_export_api.py +++ b/gooddata-api-client/gooddata_api_client/api/visual_export_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/visualization_object_api.py b/gooddata-api-client/gooddata_api_client/api/visualization_object_api.py index 9f6d97c68..91d070357 100644 --- a/gooddata-api-client/gooddata_api_client/api/visualization_object_api.py +++ b/gooddata-api-client/gooddata_api_client/api/visualization_object_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -22,6 +22,7 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.entity_search_body import EntitySearchBody from gooddata_api_client.model.json_api_visualization_object_in_document import JsonApiVisualizationObjectInDocument from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument from gooddata_api_client.model.json_api_visualization_object_out_list import JsonApiVisualizationObjectOutList @@ -124,9 +125,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -308,6 +311,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -409,6 +413,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -493,14 +498,90 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, api_client=api_client ) + self.search_entities_visualization_objects_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiVisualizationObjectOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/visualizationObjects/search', + 'operation_id': 'search_entities_visualization_objects', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.update_entity_visualization_objects_endpoint = _Endpoint( settings={ 'response_type': (JsonApiVisualizationObjectOutDocument,), @@ -579,9 +660,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -1035,6 +1118,94 @@ def patch_entity_visualization_objects( json_api_visualization_object_patch_document return self.patch_entity_visualization_objects_endpoint.call_with_http_info(**kwargs) + def search_entities_visualization_objects( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for VisualizationObject # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_visualization_objects(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiVisualizationObjectOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_visualization_objects_endpoint.call_with_http_info(**kwargs) + def update_entity_visualization_objects( self, workspace_id, diff --git a/gooddata-api-client/gooddata_api_client/api/workspaces_declarative_apis_api.py b/gooddata-api-client/gooddata_api_client/api/workspaces_declarative_apis_api.py index 6d3140872..71da67034 100644 --- a/gooddata-api-client/gooddata_api_client/api/workspaces_declarative_apis_api.py +++ b/gooddata-api-client/gooddata_api_client/api/workspaces_declarative_apis_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/api/workspaces_entity_apis_api.py b/gooddata-api-client/gooddata_api_client/api/workspaces_entity_apis_api.py index e01eea084..b8422b403 100644 --- a/gooddata-api-client/gooddata_api_client/api/workspaces_entity_apis_api.py +++ b/gooddata-api-client/gooddata_api_client/api/workspaces_entity_apis_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -82,8 +82,8 @@ def __init__(self, api_client=None): }, ('meta_include',): { - "CONFIG": "config", "PERMISSIONS": "permissions", + "CONFIG": "config", "HIERARCHY": "hierarchy", "DATAMODELDATASETS": "dataModelDatasets", "ALL": "all", @@ -114,9 +114,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -225,8 +227,8 @@ def __init__(self, api_client=None): }, ('meta_include',): { - "CONFIG": "config", "PERMISSIONS": "permissions", + "CONFIG": "config", "HIERARCHY": "hierarchy", "DATAMODELDATASETS": "dataModelDatasets", "PAGE": "page", @@ -272,6 +274,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -329,8 +332,8 @@ def __init__(self, api_client=None): }, ('meta_include',): { - "CONFIG": "config", "PERMISSIONS": "permissions", + "CONFIG": "config", "HIERARCHY": "hierarchy", "DATAMODELDATASETS": "dataModelDatasets", "ALL": "all", @@ -366,6 +369,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -445,9 +449,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -526,9 +532,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, diff --git a/gooddata-api-client/gooddata_api_client/api/workspaces_settings_api.py b/gooddata-api-client/gooddata_api_client/api/workspaces_settings_api.py index fd9aa05aa..1c19ca5a8 100644 --- a/gooddata-api-client/gooddata_api_client/api/workspaces_settings_api.py +++ b/gooddata-api-client/gooddata_api_client/api/workspaces_settings_api.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -22,6 +22,7 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.entity_search_body import EntitySearchBody from gooddata_api_client.model.json_api_custom_application_setting_in_document import JsonApiCustomApplicationSettingInDocument from gooddata_api_client.model.json_api_custom_application_setting_out_document import JsonApiCustomApplicationSettingOutDocument from gooddata_api_client.model.json_api_custom_application_setting_out_list import JsonApiCustomApplicationSettingOutList @@ -112,9 +113,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -185,9 +188,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -408,6 +413,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -513,6 +519,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -595,6 +602,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -677,6 +685,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [], @@ -742,9 +751,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -809,14 +820,164 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, api_client=api_client ) + self.search_entities_custom_application_settings_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiCustomApplicationSettingOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/search', + 'operation_id': 'search_entities_custom_application_settings', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.search_entities_workspace_settings_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiWorkspaceSettingOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/workspaceSettings/search', + 'operation_id': 'search_entities_workspace_settings', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.update_entity_custom_application_settings_endpoint = _Endpoint( settings={ 'response_type': (JsonApiCustomApplicationSettingOutDocument,), @@ -876,9 +1037,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -943,9 +1106,11 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ + 'application/json', 'application/vnd.gooddata.api+json' ], 'content_type': [ + 'application/json', 'application/vnd.gooddata.api+json' ] }, @@ -1943,6 +2108,182 @@ def patch_entity_workspace_settings( json_api_workspace_setting_patch_document return self.patch_entity_workspace_settings_endpoint.call_with_http_info(**kwargs) + def search_entities_custom_application_settings( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """Search request for CustomApplicationSetting # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_custom_application_settings(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiCustomApplicationSettingOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_custom_application_settings_endpoint.call_with_http_info(**kwargs) + + def search_entities_workspace_settings( + self, + workspace_id, + entity_search_body, + **kwargs + ): + """search_entities_workspace_settings # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_entities_workspace_settings(workspace_id, entity_search_body, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + + Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiWorkspaceSettingOutList + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_workspace_settings_endpoint.call_with_http_info(**kwargs) + def update_entity_custom_application_settings( self, workspace_id, diff --git a/gooddata-api-client/gooddata_api_client/api_client.py b/gooddata-api-client/gooddata_api_client/api_client.py index e9ef0db0d..bdc20a458 100644 --- a/gooddata-api-client/gooddata_api_client/api_client.py +++ b/gooddata-api-client/gooddata_api_client/api_client.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -802,11 +802,11 @@ def __call__(self, *args, **kwargs): """ This method is invoked when endpoints are called Example: - api_instance = AIApi() - api_instance.metadata_sync # this is an instance of the class Endpoint - api_instance.metadata_sync() # this invokes api_instance.metadata_sync.__call__() + api_instance = APITokensApi() + api_instance.create_entity_api_tokens # this is an instance of the class Endpoint + api_instance.create_entity_api_tokens() # this invokes api_instance.create_entity_api_tokens.__call__() which then invokes the callable functions stored in that endpoint at - api_instance.metadata_sync.callable or self.callable in this class + api_instance.create_entity_api_tokens.callable or self.callable in this class """ return self.callable(self, *args, **kwargs) diff --git a/gooddata-api-client/gooddata_api_client/apis/__init__.py b/gooddata-api-client/gooddata_api_client/apis/__init__.py index 2dc15f243..b5de67bf2 100644 --- a/gooddata-api-client/gooddata_api_client/apis/__init__.py +++ b/gooddata-api-client/gooddata_api_client/apis/__init__.py @@ -6,7 +6,7 @@ # raise a `RecursionError`. # In order to avoid this, import only the API that you directly need like: # -# from gooddata_api_client.api.ai_api import AIApi +# from gooddata_api_client.api.api_tokens_api import APITokensApi # # or import this package, but before doing it, use: # @@ -14,7 +14,6 @@ # sys.setrecursionlimit(n) # Import APIs into API package: -from gooddata_api_client.api.ai_api import AIApi from gooddata_api_client.api.api_tokens_api import APITokensApi from gooddata_api_client.api.analytics_model_api import AnalyticsModelApi from gooddata_api_client.api.appearance_api import AppearanceApi @@ -23,19 +22,26 @@ from gooddata_api_client.api.automations_api import AutomationsApi from gooddata_api_client.api.available_drivers_api import AvailableDriversApi from gooddata_api_client.api.csp_directives_api import CSPDirectivesApi +from gooddata_api_client.api.cache_usage_api import CacheUsageApi from gooddata_api_client.api.computation_api import ComputationApi -from gooddata_api_client.api.context_filters_api import ContextFiltersApi from gooddata_api_client.api.cookie_security_configuration_api import CookieSecurityConfigurationApi from gooddata_api_client.api.dashboards_api import DashboardsApi from gooddata_api_client.api.data_filters_api import DataFiltersApi from gooddata_api_client.api.data_source_declarative_apis_api import DataSourceDeclarativeAPIsApi from gooddata_api_client.api.data_source_entity_apis_api import DataSourceEntityAPIsApi +from gooddata_api_client.api.data_source_files_analysis_api import DataSourceFilesAnalysisApi +from gooddata_api_client.api.data_source_files_deletion_api import DataSourceFilesDeletionApi +from gooddata_api_client.api.data_source_files_import_api import DataSourceFilesImportApi +from gooddata_api_client.api.data_source_files_listing_api import DataSourceFilesListingApi +from gooddata_api_client.api.data_source_files_manifest_read_api import DataSourceFilesManifestReadApi +from gooddata_api_client.api.data_source_staging_location_api import DataSourceStagingLocationApi from gooddata_api_client.api.datasets_api import DatasetsApi from gooddata_api_client.api.dependency_graph_api import DependencyGraphApi from gooddata_api_client.api.entitlement_api import EntitlementApi from gooddata_api_client.api.export_definitions_api import ExportDefinitionsApi from gooddata_api_client.api.export_templates_api import ExportTemplatesApi from gooddata_api_client.api.facts_api import FactsApi +from gooddata_api_client.api.filter_context_api import FilterContextApi from gooddata_api_client.api.filter_views_api import FilterViewsApi from gooddata_api_client.api.generate_logical_data_model_api import GenerateLogicalDataModelApi from gooddata_api_client.api.hierarchy_api import HierarchyApi @@ -47,13 +53,12 @@ from gooddata_api_client.api.llm_endpoints_api import LLMEndpointsApi from gooddata_api_client.api.labels_api import LabelsApi from gooddata_api_client.api.manage_permissions_api import ManagePermissionsApi -from gooddata_api_client.api.metadata_sync_api import MetadataSyncApi from gooddata_api_client.api.metrics_api import MetricsApi from gooddata_api_client.api.notification_channels_api import NotificationChannelsApi from gooddata_api_client.api.options_api import OptionsApi -from gooddata_api_client.api.organization_api import OrganizationApi from gooddata_api_client.api.organization_declarative_apis_api import OrganizationDeclarativeAPIsApi from gooddata_api_client.api.organization_entity_apis_api import OrganizationEntityAPIsApi +from gooddata_api_client.api.other_api import OtherApi from gooddata_api_client.api.permissions_api import PermissionsApi from gooddata_api_client.api.plugins_api import PluginsApi from gooddata_api_client.api.raw_export_api import RawExportApi @@ -67,7 +72,7 @@ from gooddata_api_client.api.usage_api import UsageApi from gooddata_api_client.api.user_groups_declarative_apis_api import UserGroupsDeclarativeAPIsApi from gooddata_api_client.api.user_groups_entity_apis_api import UserGroupsEntityAPIsApi -from gooddata_api_client.api.user_data_filters_api import UserDataFiltersApi +from gooddata_api_client.api.user_authorization_api import UserAuthorizationApi from gooddata_api_client.api.user_identifiers_api import UserIdentifiersApi from gooddata_api_client.api.user_settings_api import UserSettingsApi from gooddata_api_client.api.user_management_api import UserManagementApi @@ -78,11 +83,3 @@ from gooddata_api_client.api.workspaces_declarative_apis_api import WorkspacesDeclarativeAPIsApi from gooddata_api_client.api.workspaces_entity_apis_api import WorkspacesEntityAPIsApi from gooddata_api_client.api.workspaces_settings_api import WorkspacesSettingsApi -from gooddata_api_client.api.actions_api import ActionsApi -from gooddata_api_client.api.automation_organization_view_controller_api import AutomationOrganizationViewControllerApi -from gooddata_api_client.api.entities_api import EntitiesApi -from gooddata_api_client.api.layout_api import LayoutApi -from gooddata_api_client.api.organization_controller_api import OrganizationControllerApi -from gooddata_api_client.api.organization_model_controller_api import OrganizationModelControllerApi -from gooddata_api_client.api.user_model_controller_api import UserModelControllerApi -from gooddata_api_client.api.workspace_object_controller_api import WorkspaceObjectControllerApi diff --git a/gooddata-api-client/gooddata_api_client/configuration.py b/gooddata-api-client/gooddata_api_client/configuration.py index 898f094c8..0e6b5a658 100644 --- a/gooddata-api-client/gooddata_api_client/configuration.py +++ b/gooddata-api-client/gooddata_api_client/configuration.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -380,7 +380,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: v0\n"\ + "Version of the API: 90a5773\n"\ "SDK Package Version: 1.57.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/gooddata-api-client/gooddata_api_client/exceptions.py b/gooddata-api-client/gooddata_api_client/exceptions.py index cfdbb9044..7ebc9285f 100644 --- a/gooddata-api-client/gooddata_api_client/exceptions.py +++ b/gooddata-api-client/gooddata_api_client/exceptions.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/aac_analytics_model.py b/gooddata-api-client/gooddata_api_client/model/aac_analytics_model.py new file mode 100644 index 000000000..82ac588ee --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_analytics_model.py @@ -0,0 +1,294 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.aac_attribute_hierarchy import AacAttributeHierarchy + from gooddata_api_client.model.aac_dashboard import AacDashboard + from gooddata_api_client.model.aac_metric import AacMetric + from gooddata_api_client.model.aac_plugin import AacPlugin + from gooddata_api_client.model.aac_visualization import AacVisualization + globals()['AacAttributeHierarchy'] = AacAttributeHierarchy + globals()['AacDashboard'] = AacDashboard + globals()['AacMetric'] = AacMetric + globals()['AacPlugin'] = AacPlugin + globals()['AacVisualization'] = AacVisualization + + +class AacAnalyticsModel(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 { + 'attribute_hierarchies': ([AacAttributeHierarchy],), # noqa: E501 + 'dashboards': ([AacDashboard],), # noqa: E501 + 'metrics': ([AacMetric],), # noqa: E501 + 'plugins': ([AacPlugin],), # noqa: E501 + 'visualizations': ([AacVisualization],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attribute_hierarchies': 'attribute_hierarchies', # noqa: E501 + 'dashboards': 'dashboards', # noqa: E501 + 'metrics': 'metrics', # noqa: E501 + 'plugins': 'plugins', # noqa: E501 + 'visualizations': 'visualizations', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AacAnalyticsModel - a model defined in OpenAPI + + 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,) + attribute_hierarchies ([AacAttributeHierarchy]): An array of attribute hierarchies.. [optional] # noqa: E501 + dashboards ([AacDashboard]): An array of dashboards.. [optional] # noqa: E501 + metrics ([AacMetric]): An array of metrics.. [optional] # noqa: E501 + plugins ([AacPlugin]): An array of dashboard plugins.. [optional] # noqa: E501 + visualizations ([AacVisualization]): An array of visualizations.. [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__,) + + 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, *args, **kwargs): # noqa: E501 + """AacAnalyticsModel - a model defined in OpenAPI + + 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,) + attribute_hierarchies ([AacAttributeHierarchy]): An array of attribute hierarchies.. [optional] # noqa: E501 + dashboards ([AacDashboard]): An array of dashboards.. [optional] # noqa: E501 + metrics ([AacMetric]): An array of metrics.. [optional] # noqa: E501 + plugins ([AacPlugin]): An array of dashboard plugins.. [optional] # noqa: E501 + visualizations ([AacVisualization]): An array of visualizations.. [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__,) + + 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/aac_attribute_hierarchy.py b/gooddata-api-client/gooddata_api_client/model/aac_attribute_hierarchy.py new file mode 100644 index 000000000..9e450cc47 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_attribute_hierarchy.py @@ -0,0 +1,296 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AacAttributeHierarchy(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 = { + ('tags',): { + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'attributes': ([str],), # noqa: E501 + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + 'description': (str,), # noqa: E501 + 'tags': ([str],), # noqa: E501 + 'title': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + 'description': 'description', # noqa: E501 + 'tags': 'tags', # noqa: E501 + 'title': 'title', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, attributes, id, type, *args, **kwargs): # noqa: E501 + """AacAttributeHierarchy - a model defined in OpenAPI + + Args: + attributes ([str]): Ordered list of attribute identifiers (first is top level). + id (str): Unique identifier of the attribute hierarchy. + type (str): Attribute hierarchy type discriminator. + + 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,) + description (str): Attribute hierarchy description.. [optional] # noqa: E501 + tags ([str]): Metadata tags.. [optional] # noqa: E501 + title (str): Human readable title.. [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.attributes = attributes + self.id = id + self.type = type + 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, attributes, id, type, *args, **kwargs): # noqa: E501 + """AacAttributeHierarchy - a model defined in OpenAPI + + Args: + attributes ([str]): Ordered list of attribute identifiers (first is top level). + id (str): Unique identifier of the attribute hierarchy. + type (str): Attribute hierarchy type discriminator. + + 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,) + description (str): Attribute hierarchy description.. [optional] # noqa: E501 + tags ([str]): Metadata tags.. [optional] # noqa: E501 + title (str): Human readable title.. [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.attributes = attributes + self.id = id + self.type = type + 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/aac_dashboard.py b/gooddata-api-client/gooddata_api_client/model/aac_dashboard.py new file mode 100644 index 000000000..ead8342b4 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_dashboard.py @@ -0,0 +1,348 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.aac_dashboard_filter import AacDashboardFilter + from gooddata_api_client.model.aac_dashboard_permissions import AacDashboardPermissions + from gooddata_api_client.model.aac_dashboard_plugin_link import AacDashboardPluginLink + from gooddata_api_client.model.aac_section import AacSection + from gooddata_api_client.model.aac_tab import AacTab + globals()['AacDashboardFilter'] = AacDashboardFilter + globals()['AacDashboardPermissions'] = AacDashboardPermissions + globals()['AacDashboardPluginLink'] = AacDashboardPluginLink + globals()['AacSection'] = AacSection + globals()['AacTab'] = AacTab + + +class AacDashboard(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 = { + ('tags',): { + }, + } + + @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 { + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + 'active_tab_id': (str,), # noqa: E501 + 'cross_filtering': (bool,), # noqa: E501 + 'description': (str,), # noqa: E501 + 'enable_section_headers': (bool,), # noqa: E501 + 'filter_views': (bool,), # noqa: E501 + 'filters': ({str: (AacDashboardFilter,)},), # noqa: E501 + 'permissions': (AacDashboardPermissions,), # noqa: E501 + 'plugins': ([AacDashboardPluginLink],), # noqa: E501 + 'sections': ([AacSection],), # noqa: E501 + 'tabs': ([AacTab],), # noqa: E501 + 'tags': ([str],), # noqa: E501 + 'title': (str,), # noqa: E501 + 'user_filters_reset': (bool,), # noqa: E501 + 'user_filters_save': (bool,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + 'active_tab_id': 'active_tab_id', # noqa: E501 + 'cross_filtering': 'cross_filtering', # noqa: E501 + 'description': 'description', # noqa: E501 + 'enable_section_headers': 'enable_section_headers', # noqa: E501 + 'filter_views': 'filter_views', # noqa: E501 + 'filters': 'filters', # noqa: E501 + 'permissions': 'permissions', # noqa: E501 + 'plugins': 'plugins', # noqa: E501 + 'sections': 'sections', # noqa: E501 + 'tabs': 'tabs', # noqa: E501 + 'tags': 'tags', # noqa: E501 + 'title': 'title', # noqa: E501 + 'user_filters_reset': 'user_filters_reset', # noqa: E501 + 'user_filters_save': 'user_filters_save', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, type, *args, **kwargs): # noqa: E501 + """AacDashboard - a model defined in OpenAPI + + Args: + id (str): Unique identifier of the dashboard. + type (str): Dashboard type discriminator. + + 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,) + active_tab_id (str): Active tab ID for tabbed dashboards.. [optional] # noqa: E501 + cross_filtering (bool): Whether cross filtering is enabled.. [optional] # noqa: E501 + description (str): Dashboard description.. [optional] # noqa: E501 + enable_section_headers (bool): Whether section headers are enabled.. [optional] # noqa: E501 + filter_views (bool): Whether filter views are enabled.. [optional] # noqa: E501 + filters ({str: (AacDashboardFilter,)}): Dashboard filters.. [optional] # noqa: E501 + permissions (AacDashboardPermissions): [optional] # noqa: E501 + plugins ([AacDashboardPluginLink]): Dashboard plugins.. [optional] # noqa: E501 + sections ([AacSection]): Dashboard sections (for non-tabbed dashboards).. [optional] # noqa: E501 + tabs ([AacTab]): Dashboard tabs (for tabbed dashboards).. [optional] # noqa: E501 + tags ([str]): Metadata tags.. [optional] # noqa: E501 + title (str): Human readable title.. [optional] # noqa: E501 + user_filters_reset (bool): Whether user can reset custom filters.. [optional] # noqa: E501 + user_filters_save (bool): Whether user filter settings are stored.. [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.id = id + self.type = type + 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, id, type, *args, **kwargs): # noqa: E501 + """AacDashboard - a model defined in OpenAPI + + Args: + id (str): Unique identifier of the dashboard. + type (str): Dashboard type discriminator. + + 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,) + active_tab_id (str): Active tab ID for tabbed dashboards.. [optional] # noqa: E501 + cross_filtering (bool): Whether cross filtering is enabled.. [optional] # noqa: E501 + description (str): Dashboard description.. [optional] # noqa: E501 + enable_section_headers (bool): Whether section headers are enabled.. [optional] # noqa: E501 + filter_views (bool): Whether filter views are enabled.. [optional] # noqa: E501 + filters ({str: (AacDashboardFilter,)}): Dashboard filters.. [optional] # noqa: E501 + permissions (AacDashboardPermissions): [optional] # noqa: E501 + plugins ([AacDashboardPluginLink]): Dashboard plugins.. [optional] # noqa: E501 + sections ([AacSection]): Dashboard sections (for non-tabbed dashboards).. [optional] # noqa: E501 + tabs ([AacTab]): Dashboard tabs (for tabbed dashboards).. [optional] # noqa: E501 + tags ([str]): Metadata tags.. [optional] # noqa: E501 + title (str): Human readable title.. [optional] # noqa: E501 + user_filters_reset (bool): Whether user can reset custom filters.. [optional] # noqa: E501 + user_filters_save (bool): Whether user filter settings are stored.. [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.id = id + self.type = type + 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/aac_dashboard_filter.py b/gooddata-api-client/gooddata_api_client/model/aac_dashboard_filter.py new file mode 100644 index 000000000..c7463ad0f --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_dashboard_filter.py @@ -0,0 +1,328 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.aac_dashboard_filter_from import AacDashboardFilterFrom + from gooddata_api_client.model.aac_filter_state import AacFilterState + from gooddata_api_client.model.json_node import JsonNode + globals()['AacDashboardFilterFrom'] = AacDashboardFilterFrom + globals()['AacFilterState'] = AacFilterState + globals()['JsonNode'] = JsonNode + + +class AacDashboardFilter(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 { + 'type': (str,), # noqa: E501 + 'date': (str,), # noqa: E501 + 'display_as': (str,), # noqa: E501 + '_from': (AacDashboardFilterFrom,), # noqa: E501 + 'granularity': (str,), # noqa: E501 + 'metric_filters': ([str],), # noqa: E501 + 'mode': (str,), # noqa: E501 + 'multiselect': (bool,), # noqa: E501 + 'parents': ([JsonNode],), # noqa: E501 + 'state': (AacFilterState,), # noqa: E501 + 'title': (str,), # noqa: E501 + 'to': (AacDashboardFilterFrom,), # noqa: E501 + 'using': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'type': 'type', # noqa: E501 + 'date': 'date', # noqa: E501 + 'display_as': 'display_as', # noqa: E501 + '_from': 'from', # noqa: E501 + 'granularity': 'granularity', # noqa: E501 + 'metric_filters': 'metric_filters', # noqa: E501 + 'mode': 'mode', # noqa: E501 + 'multiselect': 'multiselect', # noqa: E501 + 'parents': 'parents', # noqa: E501 + 'state': 'state', # noqa: E501 + 'title': 'title', # noqa: E501 + 'to': 'to', # noqa: E501 + 'using': 'using', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, type, *args, **kwargs): # noqa: E501 + """AacDashboardFilter - a model defined in OpenAPI + + Args: + type (str): Filter type. + + 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,) + date (str): Date dataset reference.. [optional] # noqa: E501 + display_as (str): Display as label.. [optional] # noqa: E501 + _from (AacDashboardFilterFrom): [optional] # noqa: E501 + granularity (str): Date granularity.. [optional] # noqa: E501 + metric_filters ([str]): Metric filters for validation.. [optional] # noqa: E501 + mode (str): Filter mode.. [optional] # noqa: E501 + multiselect (bool): Whether multiselect is enabled.. [optional] # noqa: E501 + parents ([JsonNode]): Parent filter references.. [optional] # noqa: E501 + state (AacFilterState): [optional] # noqa: E501 + title (str): Filter title.. [optional] # noqa: E501 + to (AacDashboardFilterFrom): [optional] # noqa: E501 + using (str): Attribute or label to filter by.. [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.type = type + 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, type, *args, **kwargs): # noqa: E501 + """AacDashboardFilter - a model defined in OpenAPI + + Args: + type (str): Filter type. + + 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,) + date (str): Date dataset reference.. [optional] # noqa: E501 + display_as (str): Display as label.. [optional] # noqa: E501 + _from (AacDashboardFilterFrom): [optional] # noqa: E501 + granularity (str): Date granularity.. [optional] # noqa: E501 + metric_filters ([str]): Metric filters for validation.. [optional] # noqa: E501 + mode (str): Filter mode.. [optional] # noqa: E501 + multiselect (bool): Whether multiselect is enabled.. [optional] # noqa: E501 + parents ([JsonNode]): Parent filter references.. [optional] # noqa: E501 + state (AacFilterState): [optional] # noqa: E501 + title (str): Filter title.. [optional] # noqa: E501 + to (AacDashboardFilterFrom): [optional] # noqa: E501 + using (str): Attribute or label to filter by.. [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.type = type + 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/aac_dashboard_filter_from.py b/gooddata-api-client/gooddata_api_client/model/aac_dashboard_filter_from.py new file mode 100644 index 000000000..373e84422 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_dashboard_filter_from.py @@ -0,0 +1,260 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AacDashboardFilterFrom(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AacDashboardFilterFrom - a model defined in OpenAPI + + 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__,) + + 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, *args, **kwargs): # noqa: E501 + """AacDashboardFilterFrom - a model defined in OpenAPI + + 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__,) + + 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/aac_dashboard_permissions.py b/gooddata-api-client/gooddata_api_client/model/aac_dashboard_permissions.py new file mode 100644 index 000000000..3bbbfb524 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_dashboard_permissions.py @@ -0,0 +1,278 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.aac_permission import AacPermission + globals()['AacPermission'] = AacPermission + + +class AacDashboardPermissions(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 { + 'edit': (AacPermission,), # noqa: E501 + 'share': (AacPermission,), # noqa: E501 + 'view': (AacPermission,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'edit': 'edit', # noqa: E501 + 'share': 'share', # noqa: E501 + 'view': 'view', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AacDashboardPermissions - a model defined in OpenAPI + + 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,) + edit (AacPermission): [optional] # noqa: E501 + share (AacPermission): [optional] # noqa: E501 + view (AacPermission): [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__,) + + 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, *args, **kwargs): # noqa: E501 + """AacDashboardPermissions - a model defined in OpenAPI + + 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,) + edit (AacPermission): [optional] # noqa: E501 + share (AacPermission): [optional] # noqa: E501 + view (AacPermission): [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__,) + + 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/aac_dashboard_plugin_link.py b/gooddata-api-client/gooddata_api_client/model/aac_dashboard_plugin_link.py new file mode 100644 index 000000000..5dc12e0b9 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_dashboard_plugin_link.py @@ -0,0 +1,280 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.json_node import JsonNode + globals()['JsonNode'] = JsonNode + + +class AacDashboardPluginLink(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 { + 'id': (str,), # noqa: E501 + 'parameters': (JsonNode,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'parameters': 'parameters', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + """AacDashboardPluginLink - a model defined in OpenAPI + + Args: + id (str): Plugin ID. + + 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,) + parameters (JsonNode): [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.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, id, *args, **kwargs): # noqa: E501 + """AacDashboardPluginLink - a model defined in OpenAPI + + Args: + id (str): Plugin ID. + + 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,) + parameters (JsonNode): [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.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/aac_dataset.py b/gooddata-api-client/gooddata_api_client/model/aac_dataset.py new file mode 100644 index 000000000..e6399c238 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_dataset.py @@ -0,0 +1,334 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.aac_dataset_primary_key import AacDatasetPrimaryKey + from gooddata_api_client.model.aac_field import AacField + from gooddata_api_client.model.aac_reference import AacReference + from gooddata_api_client.model.aac_workspace_data_filter import AacWorkspaceDataFilter + globals()['AacDatasetPrimaryKey'] = AacDatasetPrimaryKey + globals()['AacField'] = AacField + globals()['AacReference'] = AacReference + globals()['AacWorkspaceDataFilter'] = AacWorkspaceDataFilter + + +class AacDataset(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 = { + ('tags',): { + }, + } + + @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 { + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + 'data_source': (str,), # noqa: E501 + 'description': (str,), # noqa: E501 + 'fields': ({str: (AacField,)},), # noqa: E501 + 'precedence': (int,), # noqa: E501 + 'primary_key': (AacDatasetPrimaryKey,), # noqa: E501 + 'references': ([AacReference],), # noqa: E501 + 'sql': (str,), # noqa: E501 + 'table_path': (str,), # noqa: E501 + 'tags': ([str],), # noqa: E501 + 'title': (str,), # noqa: E501 + 'workspace_data_filters': ([AacWorkspaceDataFilter],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + 'data_source': 'data_source', # noqa: E501 + 'description': 'description', # noqa: E501 + 'fields': 'fields', # noqa: E501 + 'precedence': 'precedence', # noqa: E501 + 'primary_key': 'primary_key', # noqa: E501 + 'references': 'references', # noqa: E501 + 'sql': 'sql', # noqa: E501 + 'table_path': 'table_path', # noqa: E501 + 'tags': 'tags', # noqa: E501 + 'title': 'title', # noqa: E501 + 'workspace_data_filters': 'workspace_data_filters', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, type, *args, **kwargs): # noqa: E501 + """AacDataset - a model defined in OpenAPI + + Args: + id (str): Unique identifier of the dataset. + type (str): Dataset type discriminator. + + 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_source (str): Data source ID.. [optional] # noqa: E501 + description (str): Dataset description.. [optional] # noqa: E501 + fields ({str: (AacField,)}): Dataset fields (attributes, facts, aggregated facts).. [optional] # noqa: E501 + precedence (int): Precedence value for aggregate awareness.. [optional] # noqa: E501 + primary_key (AacDatasetPrimaryKey): [optional] # noqa: E501 + references ([AacReference]): References to other datasets.. [optional] # noqa: E501 + sql (str): SQL statement defining this dataset.. [optional] # noqa: E501 + table_path (str): Table path in the data source.. [optional] # noqa: E501 + tags ([str]): Metadata tags.. [optional] # noqa: E501 + title (str): Human readable title.. [optional] # noqa: E501 + workspace_data_filters ([AacWorkspaceDataFilter]): Workspace data filters.. [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.id = id + self.type = type + 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, id, type, *args, **kwargs): # noqa: E501 + """AacDataset - a model defined in OpenAPI + + Args: + id (str): Unique identifier of the dataset. + type (str): Dataset type discriminator. + + 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_source (str): Data source ID.. [optional] # noqa: E501 + description (str): Dataset description.. [optional] # noqa: E501 + fields ({str: (AacField,)}): Dataset fields (attributes, facts, aggregated facts).. [optional] # noqa: E501 + precedence (int): Precedence value for aggregate awareness.. [optional] # noqa: E501 + primary_key (AacDatasetPrimaryKey): [optional] # noqa: E501 + references ([AacReference]): References to other datasets.. [optional] # noqa: E501 + sql (str): SQL statement defining this dataset.. [optional] # noqa: E501 + table_path (str): Table path in the data source.. [optional] # noqa: E501 + tags ([str]): Metadata tags.. [optional] # noqa: E501 + title (str): Human readable title.. [optional] # noqa: E501 + workspace_data_filters ([AacWorkspaceDataFilter]): Workspace data filters.. [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.id = id + self.type = type + 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/aac_dataset_primary_key.py b/gooddata-api-client/gooddata_api_client/model/aac_dataset_primary_key.py new file mode 100644 index 000000000..b0df238ae --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_dataset_primary_key.py @@ -0,0 +1,260 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AacDatasetPrimaryKey(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AacDatasetPrimaryKey - a model defined in OpenAPI + + 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__,) + + 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, *args, **kwargs): # noqa: E501 + """AacDatasetPrimaryKey - a model defined in OpenAPI + + 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__,) + + 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/aac_date_dataset.py b/gooddata-api-client/gooddata_api_client/model/aac_date_dataset.py new file mode 100644 index 000000000..05742e9e4 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_date_dataset.py @@ -0,0 +1,302 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AacDateDataset(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 = { + ('tags',): { + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + 'description': (str,), # noqa: E501 + 'granularities': ([str],), # noqa: E501 + 'tags': ([str],), # noqa: E501 + 'title': (str,), # noqa: E501 + 'title_base': (str,), # noqa: E501 + 'title_pattern': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + 'description': 'description', # noqa: E501 + 'granularities': 'granularities', # noqa: E501 + 'tags': 'tags', # noqa: E501 + 'title': 'title', # noqa: E501 + 'title_base': 'title_base', # noqa: E501 + 'title_pattern': 'title_pattern', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, type, *args, **kwargs): # noqa: E501 + """AacDateDataset - a model defined in OpenAPI + + Args: + id (str): Unique identifier of the date dataset. + type (str): Dataset type discriminator. + + 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,) + description (str): Date dataset description.. [optional] # noqa: E501 + granularities ([str]): List of granularities.. [optional] # noqa: E501 + tags ([str]): Metadata tags.. [optional] # noqa: E501 + title (str): Human readable title.. [optional] # noqa: E501 + title_base (str): Title base for formatting.. [optional] # noqa: E501 + title_pattern (str): Title pattern for formatting.. [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.id = id + self.type = type + 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, id, type, *args, **kwargs): # noqa: E501 + """AacDateDataset - a model defined in OpenAPI + + Args: + id (str): Unique identifier of the date dataset. + type (str): Dataset type discriminator. + + 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,) + description (str): Date dataset description.. [optional] # noqa: E501 + granularities ([str]): List of granularities.. [optional] # noqa: E501 + tags ([str]): Metadata tags.. [optional] # noqa: E501 + title (str): Human readable title.. [optional] # noqa: E501 + title_base (str): Title base for formatting.. [optional] # noqa: E501 + title_pattern (str): Title pattern for formatting.. [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.id = id + self.type = type + 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/aac_field.py b/gooddata-api-client/gooddata_api_client/model/aac_field.py new file mode 100644 index 000000000..aa7f0b68c --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_field.py @@ -0,0 +1,347 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.aac_label import AacLabel + globals()['AacLabel'] = AacLabel + + +class AacField(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 = { + ('data_type',): { + 'INT': "INT", + 'STRING': "STRING", + 'DATE': "DATE", + 'NUMERIC': "NUMERIC", + 'TIMESTAMP': "TIMESTAMP", + 'TIMESTAMP_TZ': "TIMESTAMP_TZ", + 'BOOLEAN': "BOOLEAN", + }, + ('sort_direction',): { + 'ASC': "ASC", + 'DESC': "DESC", + }, + } + + validations = { + ('tags',): { + }, + } + + @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 { + 'type': (str,), # noqa: E501 + 'aggregated_as': (str,), # noqa: E501 + 'assigned_to': (str,), # noqa: E501 + 'data_type': (str,), # noqa: E501 + 'default_view': (str,), # noqa: E501 + 'description': (str,), # noqa: E501 + 'is_hidden': (bool,), # noqa: E501 + 'labels': ({str: (AacLabel,)},), # noqa: E501 + 'locale': (str,), # noqa: E501 + 'show_in_ai_results': (bool,), # noqa: E501 + 'sort_column': (str,), # noqa: E501 + 'sort_direction': (str,), # noqa: E501 + 'source_column': (str,), # noqa: E501 + 'tags': ([str],), # noqa: E501 + 'title': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'type': 'type', # noqa: E501 + 'aggregated_as': 'aggregated_as', # noqa: E501 + 'assigned_to': 'assigned_to', # noqa: E501 + 'data_type': 'data_type', # noqa: E501 + 'default_view': 'default_view', # noqa: E501 + 'description': 'description', # noqa: E501 + 'is_hidden': 'is_hidden', # noqa: E501 + 'labels': 'labels', # noqa: E501 + 'locale': 'locale', # noqa: E501 + 'show_in_ai_results': 'show_in_ai_results', # noqa: E501 + 'sort_column': 'sort_column', # noqa: E501 + 'sort_direction': 'sort_direction', # noqa: E501 + 'source_column': 'source_column', # noqa: E501 + 'tags': 'tags', # noqa: E501 + 'title': 'title', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, type, *args, **kwargs): # noqa: E501 + """AacField - a model defined in OpenAPI + + Args: + type (str): Field type. + + 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,) + aggregated_as (str): Aggregation method.. [optional] # noqa: E501 + assigned_to (str): Source fact ID for aggregated fact.. [optional] # noqa: E501 + data_type (str): Data type of the column.. [optional] # noqa: E501 + default_view (str): Default view label ID.. [optional] # noqa: E501 + description (str): Field description.. [optional] # noqa: E501 + is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 + labels ({str: (AacLabel,)}): Attribute labels.. [optional] # noqa: E501 + locale (str): Locale for sorting.. [optional] # noqa: E501 + show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 + sort_column (str): Sort column name.. [optional] # noqa: E501 + sort_direction (str): Sort direction.. [optional] # noqa: E501 + source_column (str): Source column in the physical database.. [optional] # noqa: E501 + tags ([str]): Metadata tags.. [optional] # noqa: E501 + title (str): Human readable title.. [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.type = type + 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, type, *args, **kwargs): # noqa: E501 + """AacField - a model defined in OpenAPI + + Args: + type (str): Field type. + + 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,) + aggregated_as (str): Aggregation method.. [optional] # noqa: E501 + assigned_to (str): Source fact ID for aggregated fact.. [optional] # noqa: E501 + data_type (str): Data type of the column.. [optional] # noqa: E501 + default_view (str): Default view label ID.. [optional] # noqa: E501 + description (str): Field description.. [optional] # noqa: E501 + is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 + labels ({str: (AacLabel,)}): Attribute labels.. [optional] # noqa: E501 + locale (str): Locale for sorting.. [optional] # noqa: E501 + show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 + sort_column (str): Sort column name.. [optional] # noqa: E501 + sort_direction (str): Sort direction.. [optional] # noqa: E501 + source_column (str): Source column in the physical database.. [optional] # noqa: E501 + tags ([str]): Metadata tags.. [optional] # noqa: E501 + title (str): Human readable title.. [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.type = type + 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/aac_filter_state.py b/gooddata-api-client/gooddata_api_client/model/aac_filter_state.py new file mode 100644 index 000000000..e55c24667 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_filter_state.py @@ -0,0 +1,268 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AacFilterState(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'exclude': ([str],), # noqa: E501 + 'include': ([str],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'exclude': 'exclude', # noqa: E501 + 'include': 'include', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AacFilterState - a model defined in OpenAPI + + 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,) + exclude ([str]): Excluded values.. [optional] # noqa: E501 + include ([str]): Included values.. [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__,) + + 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, *args, **kwargs): # noqa: E501 + """AacFilterState - a model defined in OpenAPI + + 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,) + exclude ([str]): Excluded values.. [optional] # noqa: E501 + include ([str]): Included values.. [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__,) + + 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/aac_geo_area_config.py b/gooddata-api-client/gooddata_api_client/model/aac_geo_area_config.py new file mode 100644 index 000000000..79f5fab44 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_geo_area_config.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: 90a5773 + 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.aac_geo_collection_identifier import AacGeoCollectionIdentifier + globals()['AacGeoCollectionIdentifier'] = AacGeoCollectionIdentifier + + +class AacGeoAreaConfig(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 { + 'collection': (AacGeoCollectionIdentifier,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'collection': 'collection', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, collection, *args, **kwargs): # noqa: E501 + """AacGeoAreaConfig - a model defined in OpenAPI + + Args: + collection (AacGeoCollectionIdentifier): + + 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.collection = collection + 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, collection, *args, **kwargs): # noqa: E501 + """AacGeoAreaConfig - a model defined in OpenAPI + + Args: + collection (AacGeoCollectionIdentifier): + + 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.collection = collection + 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/aac_geo_collection_identifier.py b/gooddata-api-client/gooddata_api_client/model/aac_geo_collection_identifier.py new file mode 100644 index 000000000..6bb271758 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_geo_collection_identifier.py @@ -0,0 +1,278 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AacGeoCollectionIdentifier(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 = { + ('kind',): { + 'STATIC': "STATIC", + 'CUSTOM': "CUSTOM", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'kind': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'kind': 'kind', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + """AacGeoCollectionIdentifier - a model defined in OpenAPI + + Args: + id (str): Collection identifier. + + 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,) + kind (str): Type of geo collection.. [optional] if omitted the server will use the default value of "STATIC" # 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.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, id, *args, **kwargs): # noqa: E501 + """AacGeoCollectionIdentifier - a model defined in OpenAPI + + Args: + id (str): Collection identifier. + + 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,) + kind (str): Type of geo collection.. [optional] if omitted the server will use the default value of "STATIC" # 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.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/aac_label.py b/gooddata-api-client/gooddata_api_client/model/aac_label.py new file mode 100644 index 000000000..8bfc9a59d --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_label.py @@ -0,0 +1,323 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.aac_geo_area_config import AacGeoAreaConfig + from gooddata_api_client.model.aac_label_translation import AacLabelTranslation + globals()['AacGeoAreaConfig'] = AacGeoAreaConfig + globals()['AacLabelTranslation'] = AacLabelTranslation + + +class AacLabel(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 = { + ('data_type',): { + 'INT': "INT", + 'STRING': "STRING", + 'DATE': "DATE", + 'NUMERIC': "NUMERIC", + 'TIMESTAMP': "TIMESTAMP", + 'TIMESTAMP_TZ': "TIMESTAMP_TZ", + 'BOOLEAN': "BOOLEAN", + }, + } + + validations = { + ('tags',): { + }, + } + + @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 { + 'data_type': (str,), # noqa: E501 + 'description': (str,), # noqa: E501 + 'geo_area_config': (AacGeoAreaConfig,), # noqa: E501 + 'is_hidden': (bool,), # noqa: E501 + 'locale': (str,), # noqa: E501 + 'show_in_ai_results': (bool,), # noqa: E501 + 'source_column': (str,), # noqa: E501 + 'tags': ([str],), # noqa: E501 + 'title': (str,), # noqa: E501 + 'translations': ([AacLabelTranslation],), # noqa: E501 + 'value_type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data_type': 'data_type', # noqa: E501 + 'description': 'description', # noqa: E501 + 'geo_area_config': 'geo_area_config', # noqa: E501 + 'is_hidden': 'is_hidden', # noqa: E501 + 'locale': 'locale', # noqa: E501 + 'show_in_ai_results': 'show_in_ai_results', # noqa: E501 + 'source_column': 'source_column', # noqa: E501 + 'tags': 'tags', # noqa: E501 + 'title': 'title', # noqa: E501 + 'translations': 'translations', # noqa: E501 + 'value_type': 'value_type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AacLabel - a model defined in OpenAPI + + 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_type (str): Data type of the column.. [optional] # noqa: E501 + description (str): Label description.. [optional] # noqa: E501 + geo_area_config (AacGeoAreaConfig): [optional] # noqa: E501 + is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 + locale (str): Locale for sorting.. [optional] # noqa: E501 + show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 + source_column (str): Source column name.. [optional] # noqa: E501 + tags ([str]): Metadata tags.. [optional] # noqa: E501 + title (str): Human readable title.. [optional] # noqa: E501 + translations ([AacLabelTranslation]): Localized source columns.. [optional] # noqa: E501 + value_type (str): Value type.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + 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, *args, **kwargs): # noqa: E501 + """AacLabel - a model defined in OpenAPI + + 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_type (str): Data type of the column.. [optional] # noqa: E501 + description (str): Label description.. [optional] # noqa: E501 + geo_area_config (AacGeoAreaConfig): [optional] # noqa: E501 + is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 + locale (str): Locale for sorting.. [optional] # noqa: E501 + show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 + source_column (str): Source column name.. [optional] # noqa: E501 + tags ([str]): Metadata tags.. [optional] # noqa: E501 + title (str): Human readable title.. [optional] # noqa: E501 + translations ([AacLabelTranslation]): Localized source columns.. [optional] # noqa: E501 + value_type (str): Value type.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + 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/aac_label_translation.py b/gooddata-api-client/gooddata_api_client/model/aac_label_translation.py new file mode 100644 index 000000000..095e73f79 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_label_translation.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: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AacLabelTranslation(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'locale': (str,), # noqa: E501 + 'source_column': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'locale': 'locale', # noqa: E501 + 'source_column': 'source_column', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, locale, source_column, *args, **kwargs): # noqa: E501 + """AacLabelTranslation - a model defined in OpenAPI + + Args: + locale (str): Locale identifier. + source_column (str): Source column for translation. + + 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.locale = locale + self.source_column = source_column + 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, locale, source_column, *args, **kwargs): # noqa: E501 + """AacLabelTranslation - a model defined in OpenAPI + + Args: + locale (str): Locale identifier. + source_column (str): Source column for translation. + + 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.locale = locale + self.source_column = source_column + 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/aac_logical_model.py b/gooddata-api-client/gooddata_api_client/model/aac_logical_model.py new file mode 100644 index 000000000..d18c64dc2 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_logical_model.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: 90a5773 + 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.aac_dataset import AacDataset + from gooddata_api_client.model.aac_date_dataset import AacDateDataset + globals()['AacDataset'] = AacDataset + globals()['AacDateDataset'] = AacDateDataset + + +class AacLogicalModel(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 { + 'datasets': ([AacDataset],), # noqa: E501 + 'date_datasets': ([AacDateDataset],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'datasets': 'datasets', # noqa: E501 + 'date_datasets': 'date_datasets', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AacLogicalModel - a model defined in OpenAPI + + 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,) + datasets ([AacDataset]): An array of datasets.. [optional] # noqa: E501 + date_datasets ([AacDateDataset]): An array of date datasets.. [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__,) + + 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, *args, **kwargs): # noqa: E501 + """AacLogicalModel - a model defined in OpenAPI + + 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,) + datasets ([AacDataset]): An array of datasets.. [optional] # noqa: E501 + date_datasets ([AacDateDataset]): An array of date datasets.. [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__,) + + 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/aac_metric.py b/gooddata-api-client/gooddata_api_client/model/aac_metric.py new file mode 100644 index 000000000..51403840c --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_metric.py @@ -0,0 +1,308 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AacMetric(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 = { + ('tags',): { + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'maql': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + 'description': (str,), # noqa: E501 + 'format': (str,), # noqa: E501 + 'is_hidden': (bool,), # noqa: E501 + 'show_in_ai_results': (bool,), # noqa: E501 + 'tags': ([str],), # noqa: E501 + 'title': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'maql': 'maql', # noqa: E501 + 'type': 'type', # noqa: E501 + 'description': 'description', # noqa: E501 + 'format': 'format', # noqa: E501 + 'is_hidden': 'is_hidden', # noqa: E501 + 'show_in_ai_results': 'show_in_ai_results', # noqa: E501 + 'tags': 'tags', # noqa: E501 + 'title': 'title', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, maql, type, *args, **kwargs): # noqa: E501 + """AacMetric - a model defined in OpenAPI + + Args: + id (str): Unique identifier of the metric. + maql (str): MAQL expression defining the metric. + type (str): Metric type discriminator. + + 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,) + description (str): Metric description.. [optional] # noqa: E501 + format (str): Default format for metric values.. [optional] # noqa: E501 + is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 + show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 + tags ([str]): Metadata tags.. [optional] # noqa: E501 + title (str): Human readable title.. [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.id = id + self.maql = maql + self.type = type + 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, id, maql, type, *args, **kwargs): # noqa: E501 + """AacMetric - a model defined in OpenAPI + + Args: + id (str): Unique identifier of the metric. + maql (str): MAQL expression defining the metric. + type (str): Metric type discriminator. + + 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,) + description (str): Metric description.. [optional] # noqa: E501 + format (str): Default format for metric values.. [optional] # noqa: E501 + is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 + show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 + tags ([str]): Metadata tags.. [optional] # noqa: E501 + title (str): Human readable title.. [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.id = id + self.maql = maql + self.type = type + 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/aac_permission.py b/gooddata-api-client/gooddata_api_client/model/aac_permission.py new file mode 100644 index 000000000..ab9b9d702 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_permission.py @@ -0,0 +1,272 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AacPermission(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'all': (bool,), # noqa: E501 + 'user_groups': ([str],), # noqa: E501 + 'users': ([str],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'all': 'all', # noqa: E501 + 'user_groups': 'user_groups', # noqa: E501 + 'users': 'users', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AacPermission - a model defined in OpenAPI + + 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,) + all (bool): Grant to all users.. [optional] # noqa: E501 + user_groups ([str]): List of user group IDs.. [optional] # noqa: E501 + users ([str]): List of user IDs.. [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__,) + + 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, *args, **kwargs): # noqa: E501 + """AacPermission - a model defined in OpenAPI + + 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,) + all (bool): Grant to all users.. [optional] # noqa: E501 + user_groups ([str]): List of user group IDs.. [optional] # noqa: E501 + users ([str]): List of user IDs.. [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__,) + + 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/aac_plugin.py b/gooddata-api-client/gooddata_api_client/model/aac_plugin.py new file mode 100644 index 000000000..9a95f9811 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_plugin.py @@ -0,0 +1,296 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AacPlugin(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 = { + ('tags',): { + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + 'url': (str,), # noqa: E501 + 'description': (str,), # noqa: E501 + 'tags': ([str],), # noqa: E501 + 'title': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + 'url': 'url', # noqa: E501 + 'description': 'description', # noqa: E501 + 'tags': 'tags', # noqa: E501 + 'title': 'title', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, type, url, *args, **kwargs): # noqa: E501 + """AacPlugin - a model defined in OpenAPI + + Args: + id (str): Unique identifier of the plugin. + type (str): Plugin type discriminator. + url (str): URL of the plugin. + + 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,) + description (str): Plugin description.. [optional] # noqa: E501 + tags ([str]): Metadata tags.. [optional] # noqa: E501 + title (str): Human readable title.. [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.id = id + self.type = type + self.url = url + 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, id, type, url, *args, **kwargs): # noqa: E501 + """AacPlugin - a model defined in OpenAPI + + Args: + id (str): Unique identifier of the plugin. + type (str): Plugin type discriminator. + url (str): URL of the plugin. + + 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,) + description (str): Plugin description.. [optional] # noqa: E501 + tags ([str]): Metadata tags.. [optional] # noqa: E501 + title (str): Human readable title.. [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.id = id + self.type = type + self.url = url + 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/aac_query.py b/gooddata-api-client/gooddata_api_client/model/aac_query.py new file mode 100644 index 000000000..30226321a --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_query.py @@ -0,0 +1,288 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.aac_query_fields_value import AacQueryFieldsValue + from gooddata_api_client.model.aac_query_filter import AacQueryFilter + from gooddata_api_client.model.json_node import JsonNode + globals()['AacQueryFieldsValue'] = AacQueryFieldsValue + globals()['AacQueryFilter'] = AacQueryFilter + globals()['JsonNode'] = JsonNode + + +class AacQuery(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 { + 'fields': ({str: (AacQueryFieldsValue,)},), # noqa: E501 + 'filter_by': ({str: (AacQueryFilter,)},), # noqa: E501 + 'sort_by': ([JsonNode],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'fields': 'fields', # noqa: E501 + 'filter_by': 'filter_by', # noqa: E501 + 'sort_by': 'sort_by', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, fields, *args, **kwargs): # noqa: E501 + """AacQuery - a model defined in OpenAPI + + Args: + fields ({str: (AacQueryFieldsValue,)}): Query fields map: localId -> field definition (identifier string or structured object). + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + filter_by ({str: (AacQueryFilter,)}): Query filters map: localId -> filter definition.. [optional] # noqa: E501 + sort_by ([JsonNode]): Sorting definitions.. [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.fields = fields + 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, fields, *args, **kwargs): # noqa: E501 + """AacQuery - a model defined in OpenAPI + + Args: + fields ({str: (AacQueryFieldsValue,)}): Query fields map: localId -> field definition (identifier string or structured object). + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + filter_by ({str: (AacQueryFilter,)}): Query filters map: localId -> filter definition.. [optional] # noqa: E501 + sort_by ([JsonNode]): Sorting definitions.. [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.fields = fields + 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/aac_query_fields_value.py b/gooddata-api-client/gooddata_api_client/model/aac_query_fields_value.py new file mode 100644 index 000000000..7ae90916d --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_query_fields_value.py @@ -0,0 +1,260 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AacQueryFieldsValue(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AacQueryFieldsValue - a model defined in OpenAPI + + 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__,) + + 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, *args, **kwargs): # noqa: E501 + """AacQueryFieldsValue - a model defined in OpenAPI + + 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__,) + + 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/aac_query_filter.py b/gooddata-api-client/gooddata_api_client/model/aac_query_filter.py new file mode 100644 index 000000000..5b44c5a51 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_query_filter.py @@ -0,0 +1,324 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.aac_dashboard_filter_from import AacDashboardFilterFrom + from gooddata_api_client.model.aac_filter_state import AacFilterState + from gooddata_api_client.model.json_node import JsonNode + globals()['AacDashboardFilterFrom'] = AacDashboardFilterFrom + globals()['AacFilterState'] = AacFilterState + globals()['JsonNode'] = JsonNode + + +class AacQueryFilter(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 { + 'type': (str,), # noqa: E501 + 'additional_properties': ({str: (JsonNode,)},), # noqa: E501 + 'attribute': (str,), # noqa: E501 + 'bottom': (int,), # noqa: E501 + 'condition': (str,), # noqa: E501 + '_from': (AacDashboardFilterFrom,), # noqa: E501 + 'granularity': (str,), # noqa: E501 + 'state': (AacFilterState,), # noqa: E501 + 'to': (AacDashboardFilterFrom,), # noqa: E501 + 'top': (int,), # noqa: E501 + 'using': (str,), # noqa: E501 + 'value': (float,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'type': 'type', # noqa: E501 + 'additional_properties': 'additionalProperties', # noqa: E501 + 'attribute': 'attribute', # noqa: E501 + 'bottom': 'bottom', # noqa: E501 + 'condition': 'condition', # noqa: E501 + '_from': 'from', # noqa: E501 + 'granularity': 'granularity', # noqa: E501 + 'state': 'state', # noqa: E501 + 'to': 'to', # noqa: E501 + 'top': 'top', # noqa: E501 + 'using': 'using', # noqa: E501 + 'value': 'value', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, type, *args, **kwargs): # noqa: E501 + """AacQueryFilter - a model defined in OpenAPI + + Args: + type (str): Filter type. + + 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,) + additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 + attribute (str): Attribute for ranking filter (identifier or localId).. [optional] # noqa: E501 + bottom (int): Bottom N for ranking filter.. [optional] # noqa: E501 + condition (str): Condition for metric value filter.. [optional] # noqa: E501 + _from (AacDashboardFilterFrom): [optional] # noqa: E501 + granularity (str): Date granularity (date filter).. [optional] # noqa: E501 + state (AacFilterState): [optional] # noqa: E501 + to (AacDashboardFilterFrom): [optional] # noqa: E501 + top (int): Top N for ranking filter.. [optional] # noqa: E501 + using (str): Reference to attribute/label/date/metric/fact (type-prefixed id).. [optional] # noqa: E501 + value (float): Value for metric value filter.. [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.type = type + 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, type, *args, **kwargs): # noqa: E501 + """AacQueryFilter - a model defined in OpenAPI + + Args: + type (str): Filter type. + + 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,) + additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 + attribute (str): Attribute for ranking filter (identifier or localId).. [optional] # noqa: E501 + bottom (int): Bottom N for ranking filter.. [optional] # noqa: E501 + condition (str): Condition for metric value filter.. [optional] # noqa: E501 + _from (AacDashboardFilterFrom): [optional] # noqa: E501 + granularity (str): Date granularity (date filter).. [optional] # noqa: E501 + state (AacFilterState): [optional] # noqa: E501 + to (AacDashboardFilterFrom): [optional] # noqa: E501 + top (int): Top N for ranking filter.. [optional] # noqa: E501 + using (str): Reference to attribute/label/date/metric/fact (type-prefixed id).. [optional] # noqa: E501 + value (float): Value for metric value filter.. [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.type = type + 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/aac_reference.py b/gooddata-api-client/gooddata_api_client/model/aac_reference.py new file mode 100644 index 000000000..8ae3043e4 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_reference.py @@ -0,0 +1,286 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.aac_reference_source import AacReferenceSource + globals()['AacReferenceSource'] = AacReferenceSource + + +class AacReference(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 { + 'dataset': (str,), # noqa: E501 + 'sources': ([AacReferenceSource],), # noqa: E501 + 'multi_directional': (bool,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'dataset': 'dataset', # noqa: E501 + 'sources': 'sources', # noqa: E501 + 'multi_directional': 'multi_directional', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, dataset, sources, *args, **kwargs): # noqa: E501 + """AacReference - a model defined in OpenAPI + + Args: + dataset (str): Target dataset ID. + sources ([AacReferenceSource]): Source columns for the reference. + + 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,) + multi_directional (bool): Whether the reference is multi-directional.. [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.dataset = dataset + self.sources = sources + 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, dataset, sources, *args, **kwargs): # noqa: E501 + """AacReference - a model defined in OpenAPI + + Args: + dataset (str): Target dataset ID. + sources ([AacReferenceSource]): Source columns for the reference. + + 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,) + multi_directional (bool): Whether the reference is multi-directional.. [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.dataset = dataset + self.sources = sources + 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/aac_reference_source.py b/gooddata-api-client/gooddata_api_client/model/aac_reference_source.py new file mode 100644 index 000000000..46750e657 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_reference_source.py @@ -0,0 +1,287 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AacReferenceSource(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 = { + ('data_type',): { + 'INT': "INT", + 'STRING': "STRING", + 'DATE': "DATE", + 'NUMERIC': "NUMERIC", + 'TIMESTAMP': "TIMESTAMP", + 'TIMESTAMP_TZ': "TIMESTAMP_TZ", + 'BOOLEAN': "BOOLEAN", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'source_column': (str,), # noqa: E501 + 'data_type': (str,), # noqa: E501 + 'target': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'source_column': 'source_column', # noqa: E501 + 'data_type': 'data_type', # noqa: E501 + 'target': 'target', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, source_column, *args, **kwargs): # noqa: E501 + """AacReferenceSource - a model defined in OpenAPI + + Args: + source_column (str): Source column name. + + 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_type (str): Data type of the column.. [optional] # noqa: E501 + target (str): Target in the referenced dataset.. [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.source_column = source_column + 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, source_column, *args, **kwargs): # noqa: E501 + """AacReferenceSource - a model defined in OpenAPI + + Args: + source_column (str): Source column name. + + 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_type (str): Data type of the column.. [optional] # noqa: E501 + target (str): Target in the referenced dataset.. [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.source_column = source_column + 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/aac_section.py b/gooddata-api-client/gooddata_api_client/model/aac_section.py new file mode 100644 index 000000000..b109811f5 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_section.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.aac_widget import AacWidget + globals()['AacWidget'] = AacWidget + + +class AacSection(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 { + 'description': (str,), # noqa: E501 + 'header': (bool,), # noqa: E501 + 'title': (str,), # noqa: E501 + 'widgets': ([AacWidget],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'description': 'description', # noqa: E501 + 'header': 'header', # noqa: E501 + 'title': 'title', # noqa: E501 + 'widgets': 'widgets', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AacSection - a model defined in OpenAPI + + 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,) + description (str): Section description.. [optional] # noqa: E501 + header (bool): Whether section header is visible.. [optional] # noqa: E501 + title (str): Section title.. [optional] # noqa: E501 + widgets ([AacWidget]): Widgets in the section.. [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__,) + + 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, *args, **kwargs): # noqa: E501 + """AacSection - a model defined in OpenAPI + + 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,) + description (str): Section description.. [optional] # noqa: E501 + header (bool): Whether section header is visible.. [optional] # noqa: E501 + title (str): Section title.. [optional] # noqa: E501 + widgets ([AacWidget]): Widgets in the section.. [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__,) + + 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/aac_tab.py b/gooddata-api-client/gooddata_api_client/model/aac_tab.py new file mode 100644 index 000000000..e3685781d --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_tab.py @@ -0,0 +1,292 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.aac_dashboard_filter import AacDashboardFilter + from gooddata_api_client.model.aac_section import AacSection + globals()['AacDashboardFilter'] = AacDashboardFilter + globals()['AacSection'] = AacSection + + +class AacTab(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 { + 'id': (str,), # noqa: E501 + 'title': (str,), # noqa: E501 + 'filters': ({str: (AacDashboardFilter,)},), # noqa: E501 + 'sections': ([AacSection],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'title': 'title', # noqa: E501 + 'filters': 'filters', # noqa: E501 + 'sections': 'sections', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, title, *args, **kwargs): # noqa: E501 + """AacTab - a model defined in OpenAPI + + Args: + id (str): Unique identifier of the tab. + title (str): Display title for the tab. + + 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,) + filters ({str: (AacDashboardFilter,)}): Tab-specific filters.. [optional] # noqa: E501 + sections ([AacSection]): Sections within the tab.. [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.id = id + self.title = title + 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, id, title, *args, **kwargs): # noqa: E501 + """AacTab - a model defined in OpenAPI + + Args: + id (str): Unique identifier of the tab. + title (str): Display title for the tab. + + 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,) + filters ({str: (AacDashboardFilter,)}): Tab-specific filters.. [optional] # noqa: E501 + sections ([AacSection]): Sections within the tab.. [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.id = id + self.title = title + 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/aac_visualization.py b/gooddata-api-client/gooddata_api_client/model/aac_visualization.py new file mode 100644 index 000000000..57454cb9a --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_visualization.py @@ -0,0 +1,398 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.aac_query import AacQuery + from gooddata_api_client.model.aac_query_fields_value import AacQueryFieldsValue + from gooddata_api_client.model.json_node import JsonNode + globals()['AacQuery'] = AacQuery + globals()['AacQueryFieldsValue'] = AacQueryFieldsValue + globals()['JsonNode'] = JsonNode + + +class AacVisualization(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 = { + ('type',): { + 'TABLE': "table", + 'BAR_CHART': "bar_chart", + 'COLUMN_CHART': "column_chart", + 'LINE_CHART': "line_chart", + 'AREA_CHART': "area_chart", + 'SCATTER_CHART': "scatter_chart", + 'BUBBLE_CHART': "bubble_chart", + 'PIE_CHART': "pie_chart", + 'DONUT_CHART': "donut_chart", + 'TREEMAP_CHART': "treemap_chart", + 'PYRAMID_CHART': "pyramid_chart", + 'FUNNEL_CHART': "funnel_chart", + 'HEATMAP_CHART': "heatmap_chart", + 'BULLET_CHART': "bullet_chart", + 'WATERFALL_CHART': "waterfall_chart", + 'DEPENDENCY_WHEEL_CHART': "dependency_wheel_chart", + 'SANKEY_CHART': "sankey_chart", + 'HEADLINE_CHART': "headline_chart", + 'COMBO_CHART': "combo_chart", + 'GEO_CHART': "geo_chart", + 'GEO_AREA_CHART': "geo_area_chart", + 'REPEATER_CHART': "repeater_chart", + }, + } + + validations = { + ('tags',): { + }, + } + + @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 { + 'id': (str,), # noqa: E501 + 'query': (AacQuery,), # noqa: E501 + 'type': (str,), # noqa: E501 + 'additional_properties': ({str: (JsonNode,)},), # noqa: E501 + 'attribute': ([AacQueryFieldsValue],), # noqa: E501 + 'color': ([AacQueryFieldsValue],), # noqa: E501 + 'columns': ([AacQueryFieldsValue],), # noqa: E501 + 'config': (JsonNode,), # noqa: E501 + 'description': (str,), # noqa: E501 + 'is_hidden': (bool,), # noqa: E501 + 'location': ([AacQueryFieldsValue],), # noqa: E501 + 'metrics': ([AacQueryFieldsValue],), # noqa: E501 + 'primary_measures': ([AacQueryFieldsValue],), # noqa: E501 + 'rows': ([AacQueryFieldsValue],), # noqa: E501 + 'secondary_measures': ([AacQueryFieldsValue],), # noqa: E501 + 'segment_by': ([AacQueryFieldsValue],), # noqa: E501 + 'show_in_ai_results': (bool,), # noqa: E501 + 'size': ([AacQueryFieldsValue],), # noqa: E501 + 'stack': ([AacQueryFieldsValue],), # noqa: E501 + 'tags': ([str],), # noqa: E501 + 'title': (str,), # noqa: E501 + 'trend': ([AacQueryFieldsValue],), # noqa: E501 + 'view_by': ([AacQueryFieldsValue],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'query': 'query', # noqa: E501 + 'type': 'type', # noqa: E501 + 'additional_properties': 'additionalProperties', # noqa: E501 + 'attribute': 'attribute', # noqa: E501 + 'color': 'color', # noqa: E501 + 'columns': 'columns', # noqa: E501 + 'config': 'config', # noqa: E501 + 'description': 'description', # noqa: E501 + 'is_hidden': 'is_hidden', # noqa: E501 + 'location': 'location', # noqa: E501 + 'metrics': 'metrics', # noqa: E501 + 'primary_measures': 'primary_measures', # noqa: E501 + 'rows': 'rows', # noqa: E501 + 'secondary_measures': 'secondary_measures', # noqa: E501 + 'segment_by': 'segment_by', # noqa: E501 + 'show_in_ai_results': 'show_in_ai_results', # noqa: E501 + 'size': 'size', # noqa: E501 + 'stack': 'stack', # noqa: E501 + 'tags': 'tags', # noqa: E501 + 'title': 'title', # noqa: E501 + 'trend': 'trend', # noqa: E501 + 'view_by': 'view_by', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, query, type, *args, **kwargs): # noqa: E501 + """AacVisualization - a model defined in OpenAPI + + Args: + id (str): Unique identifier of the visualization. + query (AacQuery): + type (str): Visualization type. + + 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,) + additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 + attribute ([AacQueryFieldsValue]): Attribute bucket (for repeater).. [optional] # noqa: E501 + color ([AacQueryFieldsValue]): Color bucket.. [optional] # noqa: E501 + columns ([AacQueryFieldsValue]): Columns bucket (for tables).. [optional] # noqa: E501 + config (JsonNode): [optional] # noqa: E501 + description (str): Visualization description.. [optional] # noqa: E501 + is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 + location ([AacQueryFieldsValue]): Location bucket (for geo charts).. [optional] # noqa: E501 + metrics ([AacQueryFieldsValue]): Metrics bucket.. [optional] # noqa: E501 + primary_measures ([AacQueryFieldsValue]): Primary measures bucket.. [optional] # noqa: E501 + rows ([AacQueryFieldsValue]): Rows bucket (for tables).. [optional] # noqa: E501 + secondary_measures ([AacQueryFieldsValue]): Secondary measures bucket.. [optional] # noqa: E501 + segment_by ([AacQueryFieldsValue]): Segment by attributes bucket.. [optional] # noqa: E501 + show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 + size ([AacQueryFieldsValue]): Size bucket.. [optional] # noqa: E501 + stack ([AacQueryFieldsValue]): Stack bucket.. [optional] # noqa: E501 + tags ([str]): Metadata tags.. [optional] # noqa: E501 + title (str): Human readable title.. [optional] # noqa: E501 + trend ([AacQueryFieldsValue]): Trend bucket.. [optional] # noqa: E501 + view_by ([AacQueryFieldsValue]): View by attributes bucket.. [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.id = id + self.query = query + self.type = type + 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, id, query, type, *args, **kwargs): # noqa: E501 + """AacVisualization - a model defined in OpenAPI + + Args: + id (str): Unique identifier of the visualization. + query (AacQuery): + type (str): Visualization type. + + 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,) + additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 + attribute ([AacQueryFieldsValue]): Attribute bucket (for repeater).. [optional] # noqa: E501 + color ([AacQueryFieldsValue]): Color bucket.. [optional] # noqa: E501 + columns ([AacQueryFieldsValue]): Columns bucket (for tables).. [optional] # noqa: E501 + config (JsonNode): [optional] # noqa: E501 + description (str): Visualization description.. [optional] # noqa: E501 + is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 + location ([AacQueryFieldsValue]): Location bucket (for geo charts).. [optional] # noqa: E501 + metrics ([AacQueryFieldsValue]): Metrics bucket.. [optional] # noqa: E501 + primary_measures ([AacQueryFieldsValue]): Primary measures bucket.. [optional] # noqa: E501 + rows ([AacQueryFieldsValue]): Rows bucket (for tables).. [optional] # noqa: E501 + secondary_measures ([AacQueryFieldsValue]): Secondary measures bucket.. [optional] # noqa: E501 + segment_by ([AacQueryFieldsValue]): Segment by attributes bucket.. [optional] # noqa: E501 + show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 + size ([AacQueryFieldsValue]): Size bucket.. [optional] # noqa: E501 + stack ([AacQueryFieldsValue]): Stack bucket.. [optional] # noqa: E501 + tags ([str]): Metadata tags.. [optional] # noqa: E501 + title (str): Human readable title.. [optional] # noqa: E501 + trend ([AacQueryFieldsValue]): Trend bucket.. [optional] # noqa: E501 + view_by ([AacQueryFieldsValue]): View by attributes bucket.. [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.id = id + self.query = query + self.type = type + 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/aac_widget.py b/gooddata-api-client/gooddata_api_client/model/aac_widget.py new file mode 100644 index 000000000..e2c6ce616 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_widget.py @@ -0,0 +1,340 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.aac_section import AacSection + from gooddata_api_client.model.aac_widget_description import AacWidgetDescription + from gooddata_api_client.model.aac_widget_size import AacWidgetSize + from gooddata_api_client.model.json_node import JsonNode + globals()['AacSection'] = AacSection + globals()['AacWidgetDescription'] = AacWidgetDescription + globals()['AacWidgetSize'] = AacWidgetSize + globals()['JsonNode'] = JsonNode + + +class AacWidget(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 { + 'additional_properties': ({str: (JsonNode,)},), # noqa: E501 + 'columns': (int,), # noqa: E501 + 'content': (str,), # noqa: E501 + 'date': (str,), # noqa: E501 + 'description': (AacWidgetDescription,), # noqa: E501 + 'drill_down': (JsonNode,), # noqa: E501 + 'ignore_dashboard_filters': ([str],), # noqa: E501 + 'ignored_filters': ([str],), # noqa: E501 + 'interactions': ([JsonNode],), # noqa: E501 + 'metric': (str,), # noqa: E501 + 'rows': (int,), # noqa: E501 + 'sections': ([AacSection],), # noqa: E501 + 'size': (AacWidgetSize,), # noqa: E501 + 'title': (AacWidgetDescription,), # noqa: E501 + 'type': (str,), # noqa: E501 + 'visualization': (str,), # noqa: E501 + 'zoom_data': (bool,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'additional_properties': 'additionalProperties', # noqa: E501 + 'columns': 'columns', # noqa: E501 + 'content': 'content', # noqa: E501 + 'date': 'date', # noqa: E501 + 'description': 'description', # noqa: E501 + 'drill_down': 'drill_down', # noqa: E501 + 'ignore_dashboard_filters': 'ignore_dashboard_filters', # noqa: E501 + 'ignored_filters': 'ignored_filters', # noqa: E501 + 'interactions': 'interactions', # noqa: E501 + 'metric': 'metric', # noqa: E501 + 'rows': 'rows', # noqa: E501 + 'sections': 'sections', # noqa: E501 + 'size': 'size', # noqa: E501 + 'title': 'title', # noqa: E501 + 'type': 'type', # noqa: E501 + 'visualization': 'visualization', # noqa: E501 + 'zoom_data': 'zoom_data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AacWidget - a model defined in OpenAPI + + 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,) + additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 + columns (int): Widget width in grid columns (GAAC).. [optional] # noqa: E501 + content (str): Rich text content.. [optional] # noqa: E501 + date (str): Date dataset for filtering.. [optional] # noqa: E501 + description (AacWidgetDescription): [optional] # noqa: E501 + drill_down (JsonNode): [optional] # noqa: E501 + ignore_dashboard_filters ([str]): Deprecated. Use ignoredFilters instead.. [optional] # noqa: E501 + ignored_filters ([str]): A list of dashboard filters to be ignored for this widget (GAAC).. [optional] # noqa: E501 + interactions ([JsonNode]): Widget interactions (GAAC).. [optional] # noqa: E501 + metric (str): Inline metric reference.. [optional] # noqa: E501 + rows (int): Widget height in grid rows (GAAC).. [optional] # noqa: E501 + sections ([AacSection]): Nested sections for layout widgets.. [optional] # noqa: E501 + size (AacWidgetSize): [optional] # noqa: E501 + title (AacWidgetDescription): [optional] # noqa: E501 + type (str): Widget type.. [optional] # noqa: E501 + visualization (str): Visualization ID reference.. [optional] # noqa: E501 + zoom_data (bool): Enable zooming to the data for certain visualization types (GAAC).. [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__,) + + 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, *args, **kwargs): # noqa: E501 + """AacWidget - a model defined in OpenAPI + + 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,) + additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 + columns (int): Widget width in grid columns (GAAC).. [optional] # noqa: E501 + content (str): Rich text content.. [optional] # noqa: E501 + date (str): Date dataset for filtering.. [optional] # noqa: E501 + description (AacWidgetDescription): [optional] # noqa: E501 + drill_down (JsonNode): [optional] # noqa: E501 + ignore_dashboard_filters ([str]): Deprecated. Use ignoredFilters instead.. [optional] # noqa: E501 + ignored_filters ([str]): A list of dashboard filters to be ignored for this widget (GAAC).. [optional] # noqa: E501 + interactions ([JsonNode]): Widget interactions (GAAC).. [optional] # noqa: E501 + metric (str): Inline metric reference.. [optional] # noqa: E501 + rows (int): Widget height in grid rows (GAAC).. [optional] # noqa: E501 + sections ([AacSection]): Nested sections for layout widgets.. [optional] # noqa: E501 + size (AacWidgetSize): [optional] # noqa: E501 + title (AacWidgetDescription): [optional] # noqa: E501 + type (str): Widget type.. [optional] # noqa: E501 + visualization (str): Visualization ID reference.. [optional] # noqa: E501 + zoom_data (bool): Enable zooming to the data for certain visualization types (GAAC).. [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__,) + + 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/aac_widget_description.py b/gooddata-api-client/gooddata_api_client/model/aac_widget_description.py new file mode 100644 index 000000000..1a0151a85 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_widget_description.py @@ -0,0 +1,260 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AacWidgetDescription(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AacWidgetDescription - a model defined in OpenAPI + + 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__,) + + 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, *args, **kwargs): # noqa: E501 + """AacWidgetDescription - a model defined in OpenAPI + + 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__,) + + 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/aac_widget_size.py b/gooddata-api-client/gooddata_api_client/model/aac_widget_size.py new file mode 100644 index 000000000..1cc38b5e6 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_widget_size.py @@ -0,0 +1,272 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AacWidgetSize(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'height': (int,), # noqa: E501 + 'height_as_ratio': (bool,), # noqa: E501 + 'width': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'height': 'height', # noqa: E501 + 'height_as_ratio': 'height_as_ratio', # noqa: E501 + 'width': 'width', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AacWidgetSize - a model defined in OpenAPI + + 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,) + height (int): Height in grid rows.. [optional] # noqa: E501 + height_as_ratio (bool): Height definition mode.. [optional] # noqa: E501 + width (int): Width in grid columns.. [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__,) + + 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, *args, **kwargs): # noqa: E501 + """AacWidgetSize - a model defined in OpenAPI + + 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,) + height (int): Height in grid rows.. [optional] # noqa: E501 + height_as_ratio (bool): Height definition mode.. [optional] # noqa: E501 + width (int): Width in grid columns.. [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__,) + + 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/aac_workspace_data_filter.py b/gooddata-api-client/gooddata_api_client/model/aac_workspace_data_filter.py new file mode 100644 index 000000000..e2093b9fb --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/aac_workspace_data_filter.py @@ -0,0 +1,291 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AacWorkspaceDataFilter(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 = { + ('data_type',): { + 'INT': "INT", + 'STRING': "STRING", + 'DATE': "DATE", + 'NUMERIC': "NUMERIC", + 'TIMESTAMP': "TIMESTAMP", + 'TIMESTAMP_TZ': "TIMESTAMP_TZ", + 'BOOLEAN': "BOOLEAN", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'data_type': (str,), # noqa: E501 + 'filter_id': (str,), # noqa: E501 + 'source_column': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data_type': 'data_type', # noqa: E501 + 'filter_id': 'filter_id', # noqa: E501 + 'source_column': 'source_column', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data_type, filter_id, source_column, *args, **kwargs): # noqa: E501 + """AacWorkspaceDataFilter - a model defined in OpenAPI + + Args: + data_type (str): Data type of the column. + filter_id (str): Filter identifier. + source_column (str): Source column name. + + 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.data_type = data_type + self.filter_id = filter_id + self.source_column = source_column + 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, data_type, filter_id, source_column, *args, **kwargs): # noqa: E501 + """AacWorkspaceDataFilter - a model defined in OpenAPI + + Args: + data_type (str): Data type of the column. + filter_id (str): Filter identifier. + source_column (str): Source column name. + + 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.data_type = data_type + self.filter_id = filter_id + self.source_column = source_column + 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/absolute_date_filter.py b/gooddata-api-client/gooddata_api_client/model/absolute_date_filter.py index d676501e0..3c815745b 100644 --- a/gooddata-api-client/gooddata_api_client/model/absolute_date_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/absolute_date_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/absolute_date_filter_absolute_date_filter.py b/gooddata-api-client/gooddata_api_client/model/absolute_date_filter_absolute_date_filter.py index 5dbd388ec..337d5c578 100644 --- a/gooddata-api-client/gooddata_api_client/model/absolute_date_filter_absolute_date_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/absolute_date_filter_absolute_date_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/abstract_measure_value_filter.py b/gooddata-api-client/gooddata_api_client/model/abstract_measure_value_filter.py index d76bd735a..3c4207ddf 100644 --- a/gooddata-api-client/gooddata_api_client/model/abstract_measure_value_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/abstract_measure_value_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -33,12 +33,16 @@ def lazy_import(): from gooddata_api_client.model.comparison_measure_value_filter import ComparisonMeasureValueFilter from gooddata_api_client.model.comparison_measure_value_filter_comparison_measure_value_filter import ComparisonMeasureValueFilterComparisonMeasureValueFilter + from gooddata_api_client.model.compound_measure_value_filter import CompoundMeasureValueFilter + from gooddata_api_client.model.compound_measure_value_filter_compound_measure_value_filter import CompoundMeasureValueFilterCompoundMeasureValueFilter from gooddata_api_client.model.range_measure_value_filter import RangeMeasureValueFilter from gooddata_api_client.model.range_measure_value_filter_range_measure_value_filter import RangeMeasureValueFilterRangeMeasureValueFilter from gooddata_api_client.model.ranking_filter import RankingFilter from gooddata_api_client.model.ranking_filter_ranking_filter import RankingFilterRankingFilter globals()['ComparisonMeasureValueFilter'] = ComparisonMeasureValueFilter globals()['ComparisonMeasureValueFilterComparisonMeasureValueFilter'] = ComparisonMeasureValueFilterComparisonMeasureValueFilter + globals()['CompoundMeasureValueFilter'] = CompoundMeasureValueFilter + globals()['CompoundMeasureValueFilterCompoundMeasureValueFilter'] = CompoundMeasureValueFilterCompoundMeasureValueFilter globals()['RangeMeasureValueFilter'] = RangeMeasureValueFilter globals()['RangeMeasureValueFilterRangeMeasureValueFilter'] = RangeMeasureValueFilterRangeMeasureValueFilter globals()['RankingFilter'] = RankingFilter @@ -100,6 +104,7 @@ def openapi_types(): return { 'comparison_measure_value_filter': (ComparisonMeasureValueFilterComparisonMeasureValueFilter,), # noqa: E501 'range_measure_value_filter': (RangeMeasureValueFilterRangeMeasureValueFilter,), # noqa: E501 + 'compound_measure_value_filter': (CompoundMeasureValueFilterCompoundMeasureValueFilter,), # noqa: E501 'ranking_filter': (RankingFilterRankingFilter,), # noqa: E501 } @@ -111,6 +116,7 @@ def discriminator(): attribute_map = { 'comparison_measure_value_filter': 'comparisonMeasureValueFilter', # noqa: E501 'range_measure_value_filter': 'rangeMeasureValueFilter', # noqa: E501 + 'compound_measure_value_filter': 'compoundMeasureValueFilter', # noqa: E501 'ranking_filter': 'rankingFilter', # noqa: E501 } @@ -155,6 +161,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) comparison_measure_value_filter (ComparisonMeasureValueFilterComparisonMeasureValueFilter): [optional] # noqa: E501 range_measure_value_filter (RangeMeasureValueFilterRangeMeasureValueFilter): [optional] # noqa: E501 + compound_measure_value_filter (CompoundMeasureValueFilterCompoundMeasureValueFilter): [optional] # noqa: E501 ranking_filter (RankingFilterRankingFilter): [optional] # noqa: E501 """ @@ -261,6 +268,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) comparison_measure_value_filter (ComparisonMeasureValueFilterComparisonMeasureValueFilter): [optional] # noqa: E501 range_measure_value_filter (RangeMeasureValueFilterRangeMeasureValueFilter): [optional] # noqa: E501 + compound_measure_value_filter (CompoundMeasureValueFilterCompoundMeasureValueFilter): [optional] # noqa: E501 ranking_filter (RankingFilterRankingFilter): [optional] # noqa: E501 """ @@ -334,6 +342,7 @@ def _composed_schemas(): ], 'oneOf': [ ComparisonMeasureValueFilter, + CompoundMeasureValueFilter, RangeMeasureValueFilter, RankingFilter, ], diff --git a/gooddata-api-client/gooddata_api_client/model/active_object_identification.py b/gooddata-api-client/gooddata_api_client/model/active_object_identification.py index 0007ef0c2..582c21e4d 100644 --- a/gooddata-api-client/gooddata_api_client/model/active_object_identification.py +++ b/gooddata-api-client/gooddata_api_client/model/active_object_identification.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/ad_hoc_automation.py b/gooddata-api-client/gooddata_api_client/model/ad_hoc_automation.py index cdd425715..a10a4f66f 100644 --- a/gooddata-api-client/gooddata_api_client/model/ad_hoc_automation.py +++ b/gooddata-api-client/gooddata_api_client/model/ad_hoc_automation.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm.py b/gooddata-api-client/gooddata_api_client/model/afm.py index 97eb90fd3..b4f19b076 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm.py +++ b/gooddata-api-client/gooddata_api_client/model/afm.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm_cancel_tokens.py b/gooddata-api-client/gooddata_api_client/model/afm_cancel_tokens.py index f97891164..052d65c1e 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_cancel_tokens.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_cancel_tokens.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm_execution.py b/gooddata-api-client/gooddata_api_client/model/afm_execution.py index e5644f277..16c558127 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_execution.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_execution.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm_execution_response.py b/gooddata-api-client/gooddata_api_client/model/afm_execution_response.py index 8f7b209a2..16e9fe316 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_execution_response.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_execution_response.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm_filters_inner.py b/gooddata-api-client/gooddata_api_client/model/afm_filters_inner.py index 93300685a..7242a6ae4 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_filters_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_filters_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -34,6 +34,7 @@ def lazy_import(): from gooddata_api_client.model.absolute_date_filter_absolute_date_filter import AbsoluteDateFilterAbsoluteDateFilter from gooddata_api_client.model.abstract_measure_value_filter import AbstractMeasureValueFilter from gooddata_api_client.model.comparison_measure_value_filter_comparison_measure_value_filter import ComparisonMeasureValueFilterComparisonMeasureValueFilter + from gooddata_api_client.model.compound_measure_value_filter_compound_measure_value_filter import CompoundMeasureValueFilterCompoundMeasureValueFilter from gooddata_api_client.model.filter_definition_for_simple_measure import FilterDefinitionForSimpleMeasure from gooddata_api_client.model.inline_filter_definition import InlineFilterDefinition from gooddata_api_client.model.inline_filter_definition_inline import InlineFilterDefinitionInline @@ -45,6 +46,7 @@ def lazy_import(): globals()['AbsoluteDateFilterAbsoluteDateFilter'] = AbsoluteDateFilterAbsoluteDateFilter globals()['AbstractMeasureValueFilter'] = AbstractMeasureValueFilter globals()['ComparisonMeasureValueFilterComparisonMeasureValueFilter'] = ComparisonMeasureValueFilterComparisonMeasureValueFilter + globals()['CompoundMeasureValueFilterCompoundMeasureValueFilter'] = CompoundMeasureValueFilterCompoundMeasureValueFilter globals()['FilterDefinitionForSimpleMeasure'] = FilterDefinitionForSimpleMeasure globals()['InlineFilterDefinition'] = InlineFilterDefinition globals()['InlineFilterDefinitionInline'] = InlineFilterDefinitionInline @@ -103,6 +105,7 @@ def openapi_types(): return { 'comparison_measure_value_filter': (ComparisonMeasureValueFilterComparisonMeasureValueFilter,), # noqa: E501 'range_measure_value_filter': (RangeMeasureValueFilterRangeMeasureValueFilter,), # noqa: E501 + 'compound_measure_value_filter': (CompoundMeasureValueFilterCompoundMeasureValueFilter,), # noqa: E501 'ranking_filter': (RankingFilterRankingFilter,), # noqa: E501 'absolute_date_filter': (AbsoluteDateFilterAbsoluteDateFilter,), # noqa: E501 'relative_date_filter': (RelativeDateFilterRelativeDateFilter,), # noqa: E501 @@ -119,6 +122,7 @@ def discriminator(): attribute_map = { 'comparison_measure_value_filter': 'comparisonMeasureValueFilter', # noqa: E501 'range_measure_value_filter': 'rangeMeasureValueFilter', # noqa: E501 + 'compound_measure_value_filter': 'compoundMeasureValueFilter', # noqa: E501 'ranking_filter': 'rankingFilter', # noqa: E501 'absolute_date_filter': 'absoluteDateFilter', # noqa: E501 'relative_date_filter': 'relativeDateFilter', # noqa: E501 @@ -168,6 +172,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) comparison_measure_value_filter (ComparisonMeasureValueFilterComparisonMeasureValueFilter): [optional] # noqa: E501 range_measure_value_filter (RangeMeasureValueFilterRangeMeasureValueFilter): [optional] # noqa: E501 + compound_measure_value_filter (CompoundMeasureValueFilterCompoundMeasureValueFilter): [optional] # noqa: E501 ranking_filter (RankingFilterRankingFilter): [optional] # noqa: E501 absolute_date_filter (AbsoluteDateFilterAbsoluteDateFilter): [optional] # noqa: E501 relative_date_filter (RelativeDateFilterRelativeDateFilter): [optional] # noqa: E501 @@ -279,6 +284,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) comparison_measure_value_filter (ComparisonMeasureValueFilterComparisonMeasureValueFilter): [optional] # noqa: E501 range_measure_value_filter (RangeMeasureValueFilterRangeMeasureValueFilter): [optional] # noqa: E501 + compound_measure_value_filter (CompoundMeasureValueFilterCompoundMeasureValueFilter): [optional] # noqa: E501 ranking_filter (RankingFilterRankingFilter): [optional] # noqa: E501 absolute_date_filter (AbsoluteDateFilterAbsoluteDateFilter): [optional] # noqa: E501 relative_date_filter (RelativeDateFilterRelativeDateFilter): [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/afm_identifier.py b/gooddata-api-client/gooddata_api_client/model/afm_identifier.py index 4c6c66598..de4938345 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm_local_identifier.py b/gooddata-api-client/gooddata_api_client/model/afm_local_identifier.py index 173079cdf..3d92af215 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_local_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_local_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier.py b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier.py index b76ba6086..e82b105d0 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_attribute.py b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_attribute.py index 01fbb1a65..d6d06a219 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_attribute.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_attribute.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_attribute_identifier.py b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_attribute_identifier.py index ce75f7343..e251844f2 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_attribute_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_attribute_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_core.py b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_core.py index 9d6fe652b..f430e040c 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_core.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_core.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_core_identifier.py b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_core_identifier.py index 7effdae91..1d9bd7762 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_core_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_core_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_dataset.py b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_dataset.py index d64c4e801..35dfaad87 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_dataset.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_dataset.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_dataset_identifier.py b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_dataset_identifier.py index c4ac736c2..6c66b6116 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_dataset_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_dataset_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_identifier.py b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_identifier.py index 957a62a3e..540559ebf 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_label.py b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_label.py index 4a4ddcedb..2b8fcbd59 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_label.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_label.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_label_identifier.py b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_label_identifier.py index 5837b784f..bff57bf53 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_label_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_label_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm_valid_descendants_query.py b/gooddata-api-client/gooddata_api_client/model/afm_valid_descendants_query.py index 4864ab03d..225f98fdf 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_valid_descendants_query.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_valid_descendants_query.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm_valid_descendants_response.py b/gooddata-api-client/gooddata_api_client/model/afm_valid_descendants_response.py index 53026f81d..73dce1442 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_valid_descendants_response.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_valid_descendants_response.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm_valid_objects_query.py b/gooddata-api-client/gooddata_api_client/model/afm_valid_objects_query.py index d83479183..800a86dc1 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_valid_objects_query.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_valid_objects_query.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/afm_valid_objects_response.py b/gooddata-api-client/gooddata_api_client/model/afm_valid_objects_response.py index 919e56d72..237dc0953 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_valid_objects_response.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_valid_objects_response.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/alert_afm.py b/gooddata-api-client/gooddata_api_client/model/alert_afm.py index 1e30ce615..a21110815 100644 --- a/gooddata-api-client/gooddata_api_client/model/alert_afm.py +++ b/gooddata-api-client/gooddata_api_client/model/alert_afm.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -125,7 +125,7 @@ def _from_openapi_data(cls, filters, measures, *args, **kwargs): # noqa: E501 """AlertAfm - a model defined in OpenAPI Args: - filters ([FilterDefinition]): Various filter types to filter execution result. For anomaly detection, exactly one date filter (RelativeDateFilter or AbsoluteDateFilter) is required. + filters ([FilterDefinition]): Various filter types to filter execution result. For anomaly detection, exactly one dataset is specified in the condition. The AFM may contain multiple date filters for different datasets, but only the date filter matching the dataset from the condition is used for anomaly detection. measures ([MeasureItem]): Metrics to be computed. One metric if the alert condition is evaluated to a scalar. Two metrics when they should be evaluated to each other. Keyword Args: @@ -218,7 +218,7 @@ def __init__(self, filters, measures, *args, **kwargs): # noqa: E501 """AlertAfm - a model defined in OpenAPI Args: - filters ([FilterDefinition]): Various filter types to filter execution result. For anomaly detection, exactly one date filter (RelativeDateFilter or AbsoluteDateFilter) is required. + filters ([FilterDefinition]): Various filter types to filter execution result. For anomaly detection, exactly one dataset is specified in the condition. The AFM may contain multiple date filters for different datasets, but only the date filter matching the dataset from the condition is used for anomaly detection. measures ([MeasureItem]): Metrics to be computed. One metric if the alert condition is evaluated to a scalar. Two metrics when they should be evaluated to each other. Keyword Args: diff --git a/gooddata-api-client/gooddata_api_client/model/alert_condition.py b/gooddata-api-client/gooddata_api_client/model/alert_condition.py index 845c58208..87cc24010 100644 --- a/gooddata-api-client/gooddata_api_client/model/alert_condition.py +++ b/gooddata-api-client/gooddata_api_client/model/alert_condition.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/alert_condition_operand.py b/gooddata-api-client/gooddata_api_client/model/alert_condition_operand.py index 55f6226ec..f333463e7 100644 --- a/gooddata-api-client/gooddata_api_client/model/alert_condition_operand.py +++ b/gooddata-api-client/gooddata_api_client/model/alert_condition_operand.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/alert_description.py b/gooddata-api-client/gooddata_api_client/model/alert_description.py index 64888f59e..1fa007ec8 100644 --- a/gooddata-api-client/gooddata_api_client/model/alert_description.py +++ b/gooddata-api-client/gooddata_api_client/model/alert_description.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/alert_evaluation_row.py b/gooddata-api-client/gooddata_api_client/model/alert_evaluation_row.py index a2c739084..1539d9742 100644 --- a/gooddata-api-client/gooddata_api_client/model/alert_evaluation_row.py +++ b/gooddata-api-client/gooddata_api_client/model/alert_evaluation_row.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/amplitude_service.py b/gooddata-api-client/gooddata_api_client/model/amplitude_service.py new file mode 100644 index 000000000..4953ad987 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/amplitude_service.py @@ -0,0 +1,286 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AmplitudeService(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'ai_project_api_key': (str,), # noqa: E501 + 'endpoint': (str,), # noqa: E501 + 'gd_common_api_key': (str,), # noqa: E501 + 'reporting_endpoint': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'ai_project_api_key': 'aiProjectApiKey', # noqa: E501 + 'endpoint': 'endpoint', # noqa: E501 + 'gd_common_api_key': 'gdCommonApiKey', # noqa: E501 + 'reporting_endpoint': 'reportingEndpoint', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, ai_project_api_key, endpoint, gd_common_api_key, *args, **kwargs): # noqa: E501 + """AmplitudeService - a model defined in OpenAPI + + Args: + ai_project_api_key (str): API key for AI project - intended for frontend use. + endpoint (str): Amplitude endpoint URL. + gd_common_api_key (str): API key for GoodData common project - used by backend. + + 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,) + reporting_endpoint (str): Optional reporting endpoint for proxying telemetry events.. [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.ai_project_api_key = ai_project_api_key + self.endpoint = endpoint + self.gd_common_api_key = gd_common_api_key + 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, ai_project_api_key, endpoint, gd_common_api_key, *args, **kwargs): # noqa: E501 + """AmplitudeService - a model defined in OpenAPI + + Args: + ai_project_api_key (str): API key for AI project - intended for frontend use. + endpoint (str): Amplitude endpoint URL. + gd_common_api_key (str): API key for GoodData common project - used by backend. + + 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,) + reporting_endpoint (str): Optional reporting endpoint for proxying telemetry events.. [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.ai_project_api_key = ai_project_api_key + self.endpoint = endpoint + self.gd_common_api_key = gd_common_api_key + 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/analytics_catalog_created_by.py b/gooddata-api-client/gooddata_api_client/model/analytics_catalog_created_by.py index c827444d6..ae4e6afb5 100644 --- a/gooddata-api-client/gooddata_api_client/model/analytics_catalog_created_by.py +++ b/gooddata-api-client/gooddata_api_client/model/analytics_catalog_created_by.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/analytics_catalog_tags.py b/gooddata-api-client/gooddata_api_client/model/analytics_catalog_tags.py index 7f7a25235..fff5e2814 100644 --- a/gooddata-api-client/gooddata_api_client/model/analytics_catalog_tags.py +++ b/gooddata-api-client/gooddata_api_client/model/analytics_catalog_tags.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/analytics_catalog_user.py b/gooddata-api-client/gooddata_api_client/model/analytics_catalog_user.py index 50fe1b7fe..c9ea11ea2 100644 --- a/gooddata-api-client/gooddata_api_client/model/analytics_catalog_user.py +++ b/gooddata-api-client/gooddata_api_client/model/analytics_catalog_user.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/analyze_csv_request.py b/gooddata-api-client/gooddata_api_client/model/analyze_csv_request.py new file mode 100644 index 000000000..8a9fe7020 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/analyze_csv_request.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: 90a5773 + 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.analyze_csv_request_item import AnalyzeCsvRequestItem + globals()['AnalyzeCsvRequestItem'] = AnalyzeCsvRequestItem + + +class AnalyzeCsvRequest(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 { + 'analyze_requests': ([AnalyzeCsvRequestItem],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'analyze_requests': 'analyzeRequests', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, analyze_requests, *args, **kwargs): # noqa: E501 + """AnalyzeCsvRequest - a model defined in OpenAPI + + Args: + analyze_requests ([AnalyzeCsvRequestItem]): List of individual CSV analysis requests. + + 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.analyze_requests = analyze_requests + 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, analyze_requests, *args, **kwargs): # noqa: E501 + """AnalyzeCsvRequest - a model defined in OpenAPI + + Args: + analyze_requests ([AnalyzeCsvRequestItem]): List of individual CSV analysis requests. + + 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.analyze_requests = analyze_requests + 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/analyze_csv_request_item.py b/gooddata-api-client/gooddata_api_client/model/analyze_csv_request_item.py new file mode 100644 index 000000000..6145b5779 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/analyze_csv_request_item.py @@ -0,0 +1,280 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.analyze_csv_request_item_config import AnalyzeCsvRequestItemConfig + globals()['AnalyzeCsvRequestItemConfig'] = AnalyzeCsvRequestItemConfig + + +class AnalyzeCsvRequestItem(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 { + 'location': (str,), # noqa: E501 + 'config': (AnalyzeCsvRequestItemConfig,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'location': 'location', # noqa: E501 + 'config': 'config', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, location, *args, **kwargs): # noqa: E501 + """AnalyzeCsvRequestItem - a model defined in OpenAPI + + Args: + location (str): Location of the CSV file to analyze. + + 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,) + config (AnalyzeCsvRequestItemConfig): [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.location = location + 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, location, *args, **kwargs): # noqa: E501 + """AnalyzeCsvRequestItem - a model defined in OpenAPI + + Args: + location (str): Location of the CSV file to analyze. + + 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,) + config (AnalyzeCsvRequestItemConfig): [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.location = location + 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/analyze_csv_request_item_config.py b/gooddata-api-client/gooddata_api_client/model/analyze_csv_request_item_config.py new file mode 100644 index 000000000..2e6220670 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/analyze_csv_request_item_config.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: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AnalyzeCsvRequestItemConfig(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'delimiters': ([str],), # noqa: E501 + 'header_detect_max_rows': (int,), # noqa: E501 + 'header_row_count': (int,), # noqa: E501 + 'result_rows': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'delimiters': 'delimiters', # noqa: E501 + 'header_detect_max_rows': 'headerDetectMaxRows', # noqa: E501 + 'header_row_count': 'headerRowCount', # noqa: E501 + 'result_rows': 'resultRows', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AnalyzeCsvRequestItemConfig - a model defined in OpenAPI + + 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,) + delimiters ([str]): Possible column delimiters.. [optional] # noqa: E501 + header_detect_max_rows (int): Maximum number of rows to work with during header detection.. [optional] # noqa: E501 + header_row_count (int): Number of rows to consider as header, if null, header will be detected.. [optional] # noqa: E501 + result_rows (int): Number of rows to return in the flight that represents analysis result. If 0, no rows are returned, if less than 0, all rows that were in the sample are returned.. [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__,) + + 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, *args, **kwargs): # noqa: E501 + """AnalyzeCsvRequestItemConfig - a model defined in OpenAPI + + 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,) + delimiters ([str]): Possible column delimiters.. [optional] # noqa: E501 + header_detect_max_rows (int): Maximum number of rows to work with during header detection.. [optional] # noqa: E501 + header_row_count (int): Number of rows to consider as header, if null, header will be detected.. [optional] # noqa: E501 + result_rows (int): Number of rows to return in the flight that represents analysis result. If 0, no rows are returned, if less than 0, all rows that were in the sample are returned.. [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__,) + + 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/analyze_csv_response.py b/gooddata-api-client/gooddata_api_client/model/analyze_csv_response.py new file mode 100644 index 000000000..d7f873513 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/analyze_csv_response.py @@ -0,0 +1,294 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.analyze_csv_response_column import AnalyzeCsvResponseColumn + from gooddata_api_client.model.analyze_csv_response_config import AnalyzeCsvResponseConfig + globals()['AnalyzeCsvResponseColumn'] = AnalyzeCsvResponseColumn + globals()['AnalyzeCsvResponseConfig'] = AnalyzeCsvResponseConfig + + +class AnalyzeCsvResponse(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 { + 'columns': ([AnalyzeCsvResponseColumn],), # noqa: E501 + 'location': (str,), # noqa: E501 + 'preview_data': ([[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]],), # noqa: E501 + 'config': (AnalyzeCsvResponseConfig,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'columns': 'columns', # noqa: E501 + 'location': 'location', # noqa: E501 + 'preview_data': 'previewData', # noqa: E501 + 'config': 'config', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, columns, location, preview_data, *args, **kwargs): # noqa: E501 + """AnalyzeCsvResponse - a model defined in OpenAPI + + Args: + columns ([AnalyzeCsvResponseColumn]): List of column metadata. + location (str): Location of the analyzed file in the source data source. + preview_data ([[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]]): Preview of the first N rows of the file. + + 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,) + config (AnalyzeCsvResponseConfig): [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.columns = columns + self.location = location + self.preview_data = preview_data + 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, columns, location, preview_data, *args, **kwargs): # noqa: E501 + """AnalyzeCsvResponse - a model defined in OpenAPI + + Args: + columns ([AnalyzeCsvResponseColumn]): List of column metadata. + location (str): Location of the analyzed file in the source data source. + preview_data ([[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]]): Preview of the first N rows of the file. + + 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,) + config (AnalyzeCsvResponseConfig): [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.columns = columns + self.location = location + self.preview_data = preview_data + 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/analyze_csv_response_column.py b/gooddata-api-client/gooddata_api_client/model/analyze_csv_response_column.py new file mode 100644 index 000000000..d1be286ec --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/analyze_csv_response_column.py @@ -0,0 +1,280 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AnalyzeCsvResponseColumn(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'name': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + 'detected_date_formats': ([str],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'name': 'name', # noqa: E501 + 'type': 'type', # noqa: E501 + 'detected_date_formats': 'detectedDateFormats', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, name, type, *args, **kwargs): # noqa: E501 + """AnalyzeCsvResponseColumn - a model defined in OpenAPI + + Args: + name (str): Name of the column as specified in the file (or autogenerated one if the file has no header). + type (str): Type of the column (e.g. string, bool, etc.). + + 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,) + detected_date_formats ([str]): List of date formats that can be used to parse this column as date. Null if there are none.. [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.name = name + self.type = type + 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, name, type, *args, **kwargs): # noqa: E501 + """AnalyzeCsvResponseColumn - a model defined in OpenAPI + + Args: + name (str): Name of the column as specified in the file (or autogenerated one if the file has no header). + type (str): Type of the column (e.g. string, bool, etc.). + + 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,) + detected_date_formats ([str]): List of date formats that can be used to parse this column as date. Null if there are none.. [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.name = name + self.type = type + 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/analyze_csv_response_config.py b/gooddata-api-client/gooddata_api_client/model/analyze_csv_response_config.py new file mode 100644 index 000000000..dcb4a92ad --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/analyze_csv_response_config.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.csv_convert_options import CsvConvertOptions + from gooddata_api_client.model.csv_parse_options import CsvParseOptions + from gooddata_api_client.model.csv_read_options import CsvReadOptions + globals()['CsvConvertOptions'] = CsvConvertOptions + globals()['CsvParseOptions'] = CsvParseOptions + globals()['CsvReadOptions'] = CsvReadOptions + + +class AnalyzeCsvResponseConfig(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 { + 'convert_options': (CsvConvertOptions,), # noqa: E501 + 'parse_options': (CsvParseOptions,), # noqa: E501 + 'read_options': (CsvReadOptions,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'convert_options': 'convertOptions', # noqa: E501 + 'parse_options': 'parseOptions', # noqa: E501 + 'read_options': 'readOptions', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AnalyzeCsvResponseConfig - a model defined in OpenAPI + + 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,) + convert_options (CsvConvertOptions): [optional] # noqa: E501 + parse_options (CsvParseOptions): [optional] # noqa: E501 + read_options (CsvReadOptions): [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__,) + + 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, *args, **kwargs): # noqa: E501 + """AnalyzeCsvResponseConfig - a model defined in OpenAPI + + 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,) + convert_options (CsvConvertOptions): [optional] # noqa: E501 + parse_options (CsvParseOptions): [optional] # noqa: E501 + read_options (CsvReadOptions): [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__,) + + 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/anomaly_detection.py b/gooddata-api-client/gooddata_api_client/model/anomaly_detection.py index e858ecd2d..8087e485e 100644 --- a/gooddata-api-client/gooddata_api_client/model/anomaly_detection.py +++ b/gooddata-api-client/gooddata_api_client/model/anomaly_detection.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -31,7 +31,9 @@ def lazy_import(): + from gooddata_api_client.model.afm_object_identifier_dataset import AfmObjectIdentifierDataset from gooddata_api_client.model.local_identifier import LocalIdentifier + globals()['AfmObjectIdentifierDataset'] = AfmObjectIdentifierDataset globals()['LocalIdentifier'] = LocalIdentifier @@ -101,6 +103,7 @@ def openapi_types(): """ lazy_import() return { + 'dataset': (AfmObjectIdentifierDataset,), # noqa: E501 'granularity': (str,), # noqa: E501 'measure': (LocalIdentifier,), # noqa: E501 'sensitivity': (str,), # noqa: E501 @@ -112,6 +115,7 @@ def discriminator(): attribute_map = { + 'dataset': 'dataset', # noqa: E501 'granularity': 'granularity', # noqa: E501 'measure': 'measure', # noqa: E501 'sensitivity': 'sensitivity', # noqa: E501 @@ -124,12 +128,14 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, granularity, measure, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, dataset, granularity, measure, sensitivity, *args, **kwargs): # noqa: E501 """AnomalyDetection - a model defined in OpenAPI Args: + dataset (AfmObjectIdentifierDataset): granularity (str): Date granularity for anomaly detection. Only time-based granularities are supported (HOUR, DAY, WEEK, MONTH, QUARTER, YEAR). measure (LocalIdentifier): + sensitivity (str): Sensitivity level for anomaly detection Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -162,7 +168,6 @@ def _from_openapi_data(cls, granularity, measure, *args, **kwargs): # noqa: E50 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - sensitivity (str): Sensitivity level for anomaly detection. [optional] if omitted the server will use the default value of "MEDIUM" # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -194,8 +199,10 @@ def _from_openapi_data(cls, granularity, measure, *args, **kwargs): # noqa: E50 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.dataset = dataset self.granularity = granularity self.measure = measure + self.sensitivity = sensitivity for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -216,12 +223,14 @@ def _from_openapi_data(cls, granularity, measure, *args, **kwargs): # noqa: E50 ]) @convert_js_args_to_python_args - def __init__(self, granularity, measure, *args, **kwargs): # noqa: E501 + def __init__(self, dataset, granularity, measure, sensitivity, *args, **kwargs): # noqa: E501 """AnomalyDetection - a model defined in OpenAPI Args: + dataset (AfmObjectIdentifierDataset): granularity (str): Date granularity for anomaly detection. Only time-based granularities are supported (HOUR, DAY, WEEK, MONTH, QUARTER, YEAR). measure (LocalIdentifier): + sensitivity (str): Sensitivity level for anomaly detection Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -254,7 +263,6 @@ def __init__(self, granularity, measure, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - sensitivity (str): Sensitivity level for anomaly detection. [optional] if omitted the server will use the default value of "MEDIUM" # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -284,8 +292,10 @@ def __init__(self, granularity, measure, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.dataset = dataset self.granularity = granularity self.measure = measure + self.sensitivity = sensitivity for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/gooddata-api-client/gooddata_api_client/model/anomaly_detection_request.py b/gooddata-api-client/gooddata_api_client/model/anomaly_detection_request.py index d2fe87999..94e47bde3 100644 --- a/gooddata-api-client/gooddata_api_client/model/anomaly_detection_request.py +++ b/gooddata-api-client/gooddata_api_client/model/anomaly_detection_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/anomaly_detection_result.py b/gooddata-api-client/gooddata_api_client/model/anomaly_detection_result.py index 731539c8e..a4f6e6ac8 100644 --- a/gooddata-api-client/gooddata_api_client/model/anomaly_detection_result.py +++ b/gooddata-api-client/gooddata_api_client/model/anomaly_detection_result.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/anomaly_detection_wrapper.py b/gooddata-api-client/gooddata_api_client/model/anomaly_detection_wrapper.py index 73d23caf7..5cc713b39 100644 --- a/gooddata-api-client/gooddata_api_client/model/anomaly_detection_wrapper.py +++ b/gooddata-api-client/gooddata_api_client/model/anomaly_detection_wrapper.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/api_entitlement.py b/gooddata-api-client/gooddata_api_client/model/api_entitlement.py index 17b511fa3..e9982eb88 100644 --- a/gooddata-api-client/gooddata_api_client/model/api_entitlement.py +++ b/gooddata-api-client/gooddata_api_client/model/api_entitlement.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/arithmetic_measure.py b/gooddata-api-client/gooddata_api_client/model/arithmetic_measure.py index 3e1e0cd81..41427d836 100644 --- a/gooddata-api-client/gooddata_api_client/model/arithmetic_measure.py +++ b/gooddata-api-client/gooddata_api_client/model/arithmetic_measure.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/arithmetic_measure_definition.py b/gooddata-api-client/gooddata_api_client/model/arithmetic_measure_definition.py index c1ddf078a..9f1ba0a46 100644 --- a/gooddata-api-client/gooddata_api_client/model/arithmetic_measure_definition.py +++ b/gooddata-api-client/gooddata_api_client/model/arithmetic_measure_definition.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/arithmetic_measure_definition_arithmetic_measure.py b/gooddata-api-client/gooddata_api_client/model/arithmetic_measure_definition_arithmetic_measure.py index f79605c74..329166b6d 100644 --- a/gooddata-api-client/gooddata_api_client/model/arithmetic_measure_definition_arithmetic_measure.py +++ b/gooddata-api-client/gooddata_api_client/model/arithmetic_measure_definition_arithmetic_measure.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/assignee_identifier.py b/gooddata-api-client/gooddata_api_client/model/assignee_identifier.py index 082dc36fe..62b226ad6 100644 --- a/gooddata-api-client/gooddata_api_client/model/assignee_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/assignee_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/assignee_rule.py b/gooddata-api-client/gooddata_api_client/model/assignee_rule.py index 5889af62a..993b302ad 100644 --- a/gooddata-api-client/gooddata_api_client/model/assignee_rule.py +++ b/gooddata-api-client/gooddata_api_client/model/assignee_rule.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_elements.py b/gooddata-api-client/gooddata_api_client/model/attribute_elements.py index cdc23674b..20b3a62c5 100644 --- a/gooddata-api-client/gooddata_api_client/model/attribute_elements.py +++ b/gooddata-api-client/gooddata_api_client/model/attribute_elements.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_elements_by_ref.py b/gooddata-api-client/gooddata_api_client/model/attribute_elements_by_ref.py index 5d2270d8c..42eabc1ff 100644 --- a/gooddata-api-client/gooddata_api_client/model/attribute_elements_by_ref.py +++ b/gooddata-api-client/gooddata_api_client/model/attribute_elements_by_ref.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_elements_by_value.py b/gooddata-api-client/gooddata_api_client/model/attribute_elements_by_value.py index 959f8a6d0..5aadb4a6b 100644 --- a/gooddata-api-client/gooddata_api_client/model/attribute_elements_by_value.py +++ b/gooddata-api-client/gooddata_api_client/model/attribute_elements_by_value.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_execution_result_header.py b/gooddata-api-client/gooddata_api_client/model/attribute_execution_result_header.py index e5bdc23e7..7fa48f97f 100644 --- a/gooddata-api-client/gooddata_api_client/model/attribute_execution_result_header.py +++ b/gooddata-api-client/gooddata_api_client/model/attribute_execution_result_header.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_filter.py b/gooddata-api-client/gooddata_api_client/model/attribute_filter.py index d5d414e70..89c949419 100644 --- a/gooddata-api-client/gooddata_api_client/model/attribute_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/attribute_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_filter_by_date.py b/gooddata-api-client/gooddata_api_client/model/attribute_filter_by_date.py index 33d155c5c..3d52a3d6b 100644 --- a/gooddata-api-client/gooddata_api_client/model/attribute_filter_by_date.py +++ b/gooddata-api-client/gooddata_api_client/model/attribute_filter_by_date.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_filter_elements.py b/gooddata-api-client/gooddata_api_client/model/attribute_filter_elements.py index 70774d3c5..d52ad6e37 100644 --- a/gooddata-api-client/gooddata_api_client/model/attribute_filter_elements.py +++ b/gooddata-api-client/gooddata_api_client/model/attribute_filter_elements.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_filter_parent.py b/gooddata-api-client/gooddata_api_client/model/attribute_filter_parent.py index 9b069ce24..a3a5a0375 100644 --- a/gooddata-api-client/gooddata_api_client/model/attribute_filter_parent.py +++ b/gooddata-api-client/gooddata_api_client/model/attribute_filter_parent.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_format.py b/gooddata-api-client/gooddata_api_client/model/attribute_format.py index 013d9636e..806b8ad7f 100644 --- a/gooddata-api-client/gooddata_api_client/model/attribute_format.py +++ b/gooddata-api-client/gooddata_api_client/model/attribute_format.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_header.py b/gooddata-api-client/gooddata_api_client/model/attribute_header.py index 7ae9f438b..85fe432a0 100644 --- a/gooddata-api-client/gooddata_api_client/model/attribute_header.py +++ b/gooddata-api-client/gooddata_api_client/model/attribute_header.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_header_attribute_header.py b/gooddata-api-client/gooddata_api_client/model/attribute_header_attribute_header.py index b3bf9a18d..5f7853674 100644 --- a/gooddata-api-client/gooddata_api_client/model/attribute_header_attribute_header.py +++ b/gooddata-api-client/gooddata_api_client/model/attribute_header_attribute_header.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_item.py b/gooddata-api-client/gooddata_api_client/model/attribute_item.py index 0f47c104a..cc2b6ec1d 100644 --- a/gooddata-api-client/gooddata_api_client/model/attribute_item.py +++ b/gooddata-api-client/gooddata_api_client/model/attribute_item.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_negative_filter.py b/gooddata-api-client/gooddata_api_client/model/attribute_negative_filter.py index 17bf8fe2d..98c77c251 100644 --- a/gooddata-api-client/gooddata_api_client/model/attribute_negative_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/attribute_negative_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_negative_filter_all_of.py b/gooddata-api-client/gooddata_api_client/model/attribute_negative_filter_all_of.py index 5de3703ba..0bb86e42e 100644 --- a/gooddata-api-client/gooddata_api_client/model/attribute_negative_filter_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/attribute_negative_filter_all_of.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_positive_filter.py b/gooddata-api-client/gooddata_api_client/model/attribute_positive_filter.py index 41fb58cd0..eeea340b3 100644 --- a/gooddata-api-client/gooddata_api_client/model/attribute_positive_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/attribute_positive_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_positive_filter_all_of.py b/gooddata-api-client/gooddata_api_client/model/attribute_positive_filter_all_of.py index 40a51c1f0..b844822bb 100644 --- a/gooddata-api-client/gooddata_api_client/model/attribute_positive_filter_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/attribute_positive_filter_all_of.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_result_header.py b/gooddata-api-client/gooddata_api_client/model/attribute_result_header.py index 3e5789bb1..f5e18fe29 100644 --- a/gooddata-api-client/gooddata_api_client/model/attribute_result_header.py +++ b/gooddata-api-client/gooddata_api_client/model/attribute_result_header.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/auth_user.py b/gooddata-api-client/gooddata_api_client/model/auth_user.py new file mode 100644 index 000000000..a6c44c9b9 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/auth_user.py @@ -0,0 +1,284 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AuthUser(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'display_name': (str,), # noqa: E501 + 'email': (str,), # noqa: E501 + 'authentication_id': (str,), # noqa: E501 + 'password': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'display_name': 'displayName', # noqa: E501 + 'email': 'email', # noqa: E501 + 'authentication_id': 'authenticationId', # noqa: E501 + 'password': 'password', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, display_name, email, *args, **kwargs): # noqa: E501 + """AuthUser - a model defined in OpenAPI + + Args: + display_name (str): User description, which will be visible in application. + email (str): Email - used as lookup (must be unique). For PUT method, it must be same as in URL + + 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,) + authentication_id (str): Field, which should be stored in metadata in authenticationId field. In PUT and POST method it must be not present, or equal to value calculated by backend (e.g. returned from previous GET).. [optional] # noqa: E501 + password (str): User password. It is not returned by GET method.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.display_name = display_name + self.email = email + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, display_name, email, *args, **kwargs): # noqa: E501 + """AuthUser - a model defined in OpenAPI + + Args: + display_name (str): User description, which will be visible in application. + email (str): Email - used as lookup (must be unique). For PUT method, it must be same as in URL + + 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,) + authentication_id (str): Field, which should be stored in metadata in authenticationId field. In PUT and POST method it must be not present, or equal to value calculated by backend (e.g. returned from previous GET).. [optional] # noqa: E501 + password (str): User password. It is not returned by GET method.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.display_name = display_name + self.email = email + 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/automation_alert.py b/gooddata-api-client/gooddata_api_client/model/automation_alert.py index 6c9b2952d..ea7cdcc81 100644 --- a/gooddata-api-client/gooddata_api_client/model/automation_alert.py +++ b/gooddata-api-client/gooddata_api_client/model/automation_alert.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/automation_alert_condition.py b/gooddata-api-client/gooddata_api_client/model/automation_alert_condition.py index 5005ad275..9c875c26d 100644 --- a/gooddata-api-client/gooddata_api_client/model/automation_alert_condition.py +++ b/gooddata-api-client/gooddata_api_client/model/automation_alert_condition.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/automation_dashboard_tabular_export.py b/gooddata-api-client/gooddata_api_client/model/automation_dashboard_tabular_export.py index bbac0564c..1c8a3526b 100644 --- a/gooddata-api-client/gooddata_api_client/model/automation_dashboard_tabular_export.py +++ b/gooddata-api-client/gooddata_api_client/model/automation_dashboard_tabular_export.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/automation_external_recipient.py b/gooddata-api-client/gooddata_api_client/model/automation_external_recipient.py index 0a99e64a5..9b71fe8c0 100644 --- a/gooddata-api-client/gooddata_api_client/model/automation_external_recipient.py +++ b/gooddata-api-client/gooddata_api_client/model/automation_external_recipient.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/automation_image_export.py b/gooddata-api-client/gooddata_api_client/model/automation_image_export.py index 56f80eeca..4514e4974 100644 --- a/gooddata-api-client/gooddata_api_client/model/automation_image_export.py +++ b/gooddata-api-client/gooddata_api_client/model/automation_image_export.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/automation_metadata.py b/gooddata-api-client/gooddata_api_client/model/automation_metadata.py index 126e12971..497c052b9 100644 --- a/gooddata-api-client/gooddata_api_client/model/automation_metadata.py +++ b/gooddata-api-client/gooddata_api_client/model/automation_metadata.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/automation_notification.py b/gooddata-api-client/gooddata_api_client/model/automation_notification.py index 461a3f29a..0b57b484d 100644 --- a/gooddata-api-client/gooddata_api_client/model/automation_notification.py +++ b/gooddata-api-client/gooddata_api_client/model/automation_notification.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/automation_notification_all_of.py b/gooddata-api-client/gooddata_api_client/model/automation_notification_all_of.py index 3186eca1a..ba2a4b048 100644 --- a/gooddata-api-client/gooddata_api_client/model/automation_notification_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/automation_notification_all_of.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/automation_raw_export.py b/gooddata-api-client/gooddata_api_client/model/automation_raw_export.py index 62189f922..c0af7c7d8 100644 --- a/gooddata-api-client/gooddata_api_client/model/automation_raw_export.py +++ b/gooddata-api-client/gooddata_api_client/model/automation_raw_export.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/automation_schedule.py b/gooddata-api-client/gooddata_api_client/model/automation_schedule.py index 391cbce13..9b3ce8bb7 100644 --- a/gooddata-api-client/gooddata_api_client/model/automation_schedule.py +++ b/gooddata-api-client/gooddata_api_client/model/automation_schedule.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/automation_slides_export.py b/gooddata-api-client/gooddata_api_client/model/automation_slides_export.py index bdc92d964..92c439f58 100644 --- a/gooddata-api-client/gooddata_api_client/model/automation_slides_export.py +++ b/gooddata-api-client/gooddata_api_client/model/automation_slides_export.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/automation_tabular_export.py b/gooddata-api-client/gooddata_api_client/model/automation_tabular_export.py index 512dd3c46..12380bcf8 100644 --- a/gooddata-api-client/gooddata_api_client/model/automation_tabular_export.py +++ b/gooddata-api-client/gooddata_api_client/model/automation_tabular_export.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/automation_visual_export.py b/gooddata-api-client/gooddata_api_client/model/automation_visual_export.py index cfffcd83d..a7f60e597 100644 --- a/gooddata-api-client/gooddata_api_client/model/automation_visual_export.py +++ b/gooddata-api-client/gooddata_api_client/model/automation_visual_export.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/available_assignees.py b/gooddata-api-client/gooddata_api_client/model/available_assignees.py index 36b73979a..07942c335 100644 --- a/gooddata-api-client/gooddata_api_client/model/available_assignees.py +++ b/gooddata-api-client/gooddata_api_client/model/available_assignees.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/bounded_filter.py b/gooddata-api-client/gooddata_api_client/model/bounded_filter.py index 476d6cbca..9e24d79d9 100644 --- a/gooddata-api-client/gooddata_api_client/model/bounded_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/bounded_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/cache_removal_interval.py b/gooddata-api-client/gooddata_api_client/model/cache_removal_interval.py new file mode 100644 index 000000000..2abbb640a --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/cache_removal_interval.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class CacheRemovalInterval(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + '_from': (datetime,), # noqa: E501 + 'removed': (int,), # noqa: E501 + 'to': (datetime,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + '_from': 'from', # noqa: E501 + 'removed': 'removed', # noqa: E501 + 'to': 'to', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, _from, removed, to, *args, **kwargs): # noqa: E501 + """CacheRemovalInterval - a model defined in OpenAPI + + Args: + _from (datetime): Start timestamp of the removal interval. + removed (int): Bytes removed during this interval. + to (datetime): End timestamp of the removal interval. + + 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._from = _from + self.removed = removed + self.to = to + 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, _from, removed, to, *args, **kwargs): # noqa: E501 + """CacheRemovalInterval - a model defined in OpenAPI + + Args: + _from (datetime): Start timestamp of the removal interval. + removed (int): Bytes removed during this interval. + to (datetime): End timestamp of the removal interval. + + 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._from = _from + self.removed = removed + self.to = to + 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/cache_usage_data.py b/gooddata-api-client/gooddata_api_client/model/cache_usage_data.py new file mode 100644 index 000000000..8c87dd17e --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/cache_usage_data.py @@ -0,0 +1,284 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.organization_cache_usage import OrganizationCacheUsage + from gooddata_api_client.model.workspace_cache_usage import WorkspaceCacheUsage + globals()['OrganizationCacheUsage'] = OrganizationCacheUsage + globals()['WorkspaceCacheUsage'] = WorkspaceCacheUsage + + +class CacheUsageData(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 { + 'organization_cache_usage': (OrganizationCacheUsage,), # noqa: E501 + 'workspace_cache_usages': ({str: (WorkspaceCacheUsage,)},), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'organization_cache_usage': 'organizationCacheUsage', # noqa: E501 + 'workspace_cache_usages': 'workspaceCacheUsages', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, organization_cache_usage, workspace_cache_usages, *args, **kwargs): # noqa: E501 + """CacheUsageData - a model defined in OpenAPI + + Args: + organization_cache_usage (OrganizationCacheUsage): + workspace_cache_usages ({str: (WorkspaceCacheUsage,)}): Map of data about the cache usage of the individual workspaces. + + 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.organization_cache_usage = organization_cache_usage + self.workspace_cache_usages = workspace_cache_usages + 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, organization_cache_usage, workspace_cache_usages, *args, **kwargs): # noqa: E501 + """CacheUsageData - a model defined in OpenAPI + + Args: + organization_cache_usage (OrganizationCacheUsage): + workspace_cache_usages ({str: (WorkspaceCacheUsage,)}): Map of data about the cache usage of the individual workspaces. + + 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.organization_cache_usage = organization_cache_usage + self.workspace_cache_usages = workspace_cache_usages + 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/change_analysis_params.py b/gooddata-api-client/gooddata_api_client/model/change_analysis_params.py index 4f6465cef..c3a43e8a5 100644 --- a/gooddata-api-client/gooddata_api_client/model/change_analysis_params.py +++ b/gooddata-api-client/gooddata_api_client/model/change_analysis_params.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/change_analysis_params_filters_inner.py b/gooddata-api-client/gooddata_api_client/model/change_analysis_params_filters_inner.py index e0bdedc85..3516ff017 100644 --- a/gooddata-api-client/gooddata_api_client/model/change_analysis_params_filters_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/change_analysis_params_filters_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -34,6 +34,7 @@ def lazy_import(): from gooddata_api_client.model.absolute_date_filter_absolute_date_filter import AbsoluteDateFilterAbsoluteDateFilter from gooddata_api_client.model.abstract_measure_value_filter import AbstractMeasureValueFilter from gooddata_api_client.model.comparison_measure_value_filter_comparison_measure_value_filter import ComparisonMeasureValueFilterComparisonMeasureValueFilter + from gooddata_api_client.model.compound_measure_value_filter_compound_measure_value_filter import CompoundMeasureValueFilterCompoundMeasureValueFilter from gooddata_api_client.model.filter_definition_for_simple_measure import FilterDefinitionForSimpleMeasure from gooddata_api_client.model.inline_filter_definition import InlineFilterDefinition from gooddata_api_client.model.inline_filter_definition_inline import InlineFilterDefinitionInline @@ -45,6 +46,7 @@ def lazy_import(): globals()['AbsoluteDateFilterAbsoluteDateFilter'] = AbsoluteDateFilterAbsoluteDateFilter globals()['AbstractMeasureValueFilter'] = AbstractMeasureValueFilter globals()['ComparisonMeasureValueFilterComparisonMeasureValueFilter'] = ComparisonMeasureValueFilterComparisonMeasureValueFilter + globals()['CompoundMeasureValueFilterCompoundMeasureValueFilter'] = CompoundMeasureValueFilterCompoundMeasureValueFilter globals()['FilterDefinitionForSimpleMeasure'] = FilterDefinitionForSimpleMeasure globals()['InlineFilterDefinition'] = InlineFilterDefinition globals()['InlineFilterDefinitionInline'] = InlineFilterDefinitionInline @@ -110,6 +112,7 @@ def openapi_types(): return { 'comparison_measure_value_filter': (ComparisonMeasureValueFilterComparisonMeasureValueFilter,), # noqa: E501 'range_measure_value_filter': (RangeMeasureValueFilterRangeMeasureValueFilter,), # noqa: E501 + 'compound_measure_value_filter': (CompoundMeasureValueFilterCompoundMeasureValueFilter,), # noqa: E501 'ranking_filter': (RankingFilterRankingFilter,), # noqa: E501 'absolute_date_filter': (AbsoluteDateFilterAbsoluteDateFilter,), # noqa: E501 'relative_date_filter': (RelativeDateFilterRelativeDateFilter,), # noqa: E501 @@ -126,6 +129,7 @@ def discriminator(): attribute_map = { 'comparison_measure_value_filter': 'comparisonMeasureValueFilter', # noqa: E501 'range_measure_value_filter': 'rangeMeasureValueFilter', # noqa: E501 + 'compound_measure_value_filter': 'compoundMeasureValueFilter', # noqa: E501 'ranking_filter': 'rankingFilter', # noqa: E501 'absolute_date_filter': 'absoluteDateFilter', # noqa: E501 'relative_date_filter': 'relativeDateFilter', # noqa: E501 @@ -175,6 +179,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) comparison_measure_value_filter (ComparisonMeasureValueFilterComparisonMeasureValueFilter): [optional] # noqa: E501 range_measure_value_filter (RangeMeasureValueFilterRangeMeasureValueFilter): [optional] # noqa: E501 + compound_measure_value_filter (CompoundMeasureValueFilterCompoundMeasureValueFilter): [optional] # noqa: E501 ranking_filter (RankingFilterRankingFilter): [optional] # noqa: E501 absolute_date_filter (AbsoluteDateFilterAbsoluteDateFilter): [optional] # noqa: E501 relative_date_filter (RelativeDateFilterRelativeDateFilter): [optional] # noqa: E501 @@ -286,6 +291,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) comparison_measure_value_filter (ComparisonMeasureValueFilterComparisonMeasureValueFilter): [optional] # noqa: E501 range_measure_value_filter (RangeMeasureValueFilterRangeMeasureValueFilter): [optional] # noqa: E501 + compound_measure_value_filter (CompoundMeasureValueFilterCompoundMeasureValueFilter): [optional] # noqa: E501 ranking_filter (RankingFilterRankingFilter): [optional] # noqa: E501 absolute_date_filter (AbsoluteDateFilterAbsoluteDateFilter): [optional] # noqa: E501 relative_date_filter (RelativeDateFilterRelativeDateFilter): [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/change_analysis_request.py b/gooddata-api-client/gooddata_api_client/model/change_analysis_request.py index 682705147..0b2163a11 100644 --- a/gooddata-api-client/gooddata_api_client/model/change_analysis_request.py +++ b/gooddata-api-client/gooddata_api_client/model/change_analysis_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -98,7 +98,9 @@ def openapi_types(): 'reference_period': (str,), # noqa: E501 'attributes': ([AttributeItem],), # noqa: E501 'aux_measures': ([MeasureItem],), # noqa: E501 + 'exclude_tags': ([str],), # noqa: E501 'filters': ([ChangeAnalysisParamsFiltersInner],), # noqa: E501 + 'include_tags': ([str],), # noqa: E501 'use_smart_attribute_selection': (bool,), # noqa: E501 } @@ -114,7 +116,9 @@ def discriminator(): 'reference_period': 'referencePeriod', # noqa: E501 'attributes': 'attributes', # noqa: E501 'aux_measures': 'auxMeasures', # noqa: E501 + 'exclude_tags': 'excludeTags', # noqa: E501 'filters': 'filters', # noqa: E501 + 'include_tags': 'includeTags', # noqa: E501 'use_smart_attribute_selection': 'useSmartAttributeSelection', # noqa: E501 } @@ -167,7 +171,9 @@ def _from_openapi_data(cls, analyzed_period, date_attribute, measure, reference_ _visited_composed_classes = (Animal,) attributes ([AttributeItem]): Attributes to analyze for significant changes. If empty, valid attributes will be automatically discovered.. [optional] # noqa: E501 aux_measures ([MeasureItem]): Auxiliary measures. [optional] # noqa: E501 + exclude_tags ([str]): Exclude attributes with any of these tags. This filter applies to both auto-discovered and explicitly provided attributes.. [optional] # noqa: E501 filters ([ChangeAnalysisParamsFiltersInner]): Optional filters to apply.. [optional] # noqa: E501 + include_tags ([str]): Only include attributes with at least one of these tags. If empty, no inclusion filter is applied. This filter applies to both auto-discovered and explicitly provided attributes.. [optional] # noqa: E501 use_smart_attribute_selection (bool): Whether to use smart attribute selection (LLM-based) instead of discovering all valid attributes. If true, GenAI will intelligently select the most relevant attributes for change analysis. If false or not set, all valid attributes will be discovered using Calcique. Smart attribute selection applies only when no attributes are provided.. [optional] if omitted the server will use the default value of False # noqa: E501 """ @@ -266,7 +272,9 @@ def __init__(self, analyzed_period, date_attribute, measure, reference_period, * _visited_composed_classes = (Animal,) attributes ([AttributeItem]): Attributes to analyze for significant changes. If empty, valid attributes will be automatically discovered.. [optional] # noqa: E501 aux_measures ([MeasureItem]): Auxiliary measures. [optional] # noqa: E501 + exclude_tags ([str]): Exclude attributes with any of these tags. This filter applies to both auto-discovered and explicitly provided attributes.. [optional] # noqa: E501 filters ([ChangeAnalysisParamsFiltersInner]): Optional filters to apply.. [optional] # noqa: E501 + include_tags ([str]): Only include attributes with at least one of these tags. If empty, no inclusion filter is applied. This filter applies to both auto-discovered and explicitly provided attributes.. [optional] # noqa: E501 use_smart_attribute_selection (bool): Whether to use smart attribute selection (LLM-based) instead of discovering all valid attributes. If true, GenAI will intelligently select the most relevant attributes for change analysis. If false or not set, all valid attributes will be discovered using Calcique. Smart attribute selection applies only when no attributes are provided.. [optional] if omitted the server will use the default value of False # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/change_analysis_response.py b/gooddata-api-client/gooddata_api_client/model/change_analysis_response.py index 9b17e82f6..618c4a19c 100644 --- a/gooddata-api-client/gooddata_api_client/model/change_analysis_response.py +++ b/gooddata-api-client/gooddata_api_client/model/change_analysis_response.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/change_analysis_result.py b/gooddata-api-client/gooddata_api_client/model/change_analysis_result.py index 41c1caf4a..bdc968ad2 100644 --- a/gooddata-api-client/gooddata_api_client/model/change_analysis_result.py +++ b/gooddata-api-client/gooddata_api_client/model/change_analysis_result.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/chat_history_interaction.py b/gooddata-api-client/gooddata_api_client/model/chat_history_interaction.py index 727c81aa3..62ccdcc16 100644 --- a/gooddata-api-client/gooddata_api_client/model/chat_history_interaction.py +++ b/gooddata-api-client/gooddata_api_client/model/chat_history_interaction.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -34,11 +34,15 @@ def lazy_import(): from gooddata_api_client.model.change_analysis_params import ChangeAnalysisParams from gooddata_api_client.model.created_visualizations import CreatedVisualizations from gooddata_api_client.model.found_objects import FoundObjects + from gooddata_api_client.model.reasoning import Reasoning from gooddata_api_client.model.route_result import RouteResult + from gooddata_api_client.model.search_result import SearchResult globals()['ChangeAnalysisParams'] = ChangeAnalysisParams globals()['CreatedVisualizations'] = CreatedVisualizations globals()['FoundObjects'] = FoundObjects + globals()['Reasoning'] = Reasoning globals()['RouteResult'] = RouteResult + globals()['SearchResult'] = SearchResult class ChatHistoryInteraction(ModelNormal): @@ -110,6 +114,8 @@ def openapi_types(): 'created_visualizations': (CreatedVisualizations,), # noqa: E501 'error_response': (str,), # noqa: E501 'found_objects': (FoundObjects,), # noqa: E501 + 'reasoning': (Reasoning,), # noqa: E501 + 'semantic_search': (SearchResult,), # noqa: E501 'text_response': (str,), # noqa: E501 'thread_id_suffix': (str,), # noqa: E501 'user_feedback': (str,), # noqa: E501 @@ -129,6 +135,8 @@ def discriminator(): 'created_visualizations': 'createdVisualizations', # noqa: E501 'error_response': 'errorResponse', # noqa: E501 'found_objects': 'foundObjects', # noqa: E501 + 'reasoning': 'reasoning', # noqa: E501 + 'semantic_search': 'semanticSearch', # noqa: E501 'text_response': 'textResponse', # noqa: E501 'thread_id_suffix': 'threadIdSuffix', # noqa: E501 'user_feedback': 'userFeedback', # noqa: E501 @@ -185,6 +193,8 @@ def _from_openapi_data(cls, chat_history_interaction_id, interaction_finished, q created_visualizations (CreatedVisualizations): [optional] # noqa: E501 error_response (str): Error response in anything fails.. [optional] # noqa: E501 found_objects (FoundObjects): [optional] # noqa: E501 + reasoning (Reasoning): [optional] # noqa: E501 + semantic_search (SearchResult): [optional] # noqa: E501 text_response (str): Text response for general questions.. [optional] # noqa: E501 thread_id_suffix (str): Chat History thread suffix appended to ID generated by backend. Enables more chat windows.. [optional] # noqa: E501 user_feedback (str): User feedback.. [optional] # noqa: E501 @@ -287,6 +297,8 @@ def __init__(self, chat_history_interaction_id, interaction_finished, question, created_visualizations (CreatedVisualizations): [optional] # noqa: E501 error_response (str): Error response in anything fails.. [optional] # noqa: E501 found_objects (FoundObjects): [optional] # noqa: E501 + reasoning (Reasoning): [optional] # noqa: E501 + semantic_search (SearchResult): [optional] # noqa: E501 text_response (str): Text response for general questions.. [optional] # noqa: E501 thread_id_suffix (str): Chat History thread suffix appended to ID generated by backend. Enables more chat windows.. [optional] # noqa: E501 user_feedback (str): User feedback.. [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/chat_history_request.py b/gooddata-api-client/gooddata_api_client/model/chat_history_request.py index 9742b880b..ec91c26f6 100644 --- a/gooddata-api-client/gooddata_api_client/model/chat_history_request.py +++ b/gooddata-api-client/gooddata_api_client/model/chat_history_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/chat_history_result.py b/gooddata-api-client/gooddata_api_client/model/chat_history_result.py index bb51900b6..ef285c7ad 100644 --- a/gooddata-api-client/gooddata_api_client/model/chat_history_result.py +++ b/gooddata-api-client/gooddata_api_client/model/chat_history_result.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/chat_request.py b/gooddata-api-client/gooddata_api_client/model/chat_request.py index b66ca07f2..79a1c0118 100644 --- a/gooddata-api-client/gooddata_api_client/model/chat_request.py +++ b/gooddata-api-client/gooddata_api_client/model/chat_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/chat_result.py b/gooddata-api-client/gooddata_api_client/model/chat_result.py index f48a0dfb7..d90abd625 100644 --- a/gooddata-api-client/gooddata_api_client/model/chat_result.py +++ b/gooddata-api-client/gooddata_api_client/model/chat_result.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -34,11 +34,15 @@ def lazy_import(): from gooddata_api_client.model.change_analysis_params import ChangeAnalysisParams from gooddata_api_client.model.created_visualizations import CreatedVisualizations from gooddata_api_client.model.found_objects import FoundObjects + from gooddata_api_client.model.reasoning import Reasoning from gooddata_api_client.model.route_result import RouteResult + from gooddata_api_client.model.search_result import SearchResult globals()['ChangeAnalysisParams'] = ChangeAnalysisParams globals()['CreatedVisualizations'] = CreatedVisualizations globals()['FoundObjects'] = FoundObjects + globals()['Reasoning'] = Reasoning globals()['RouteResult'] = RouteResult + globals()['SearchResult'] = SearchResult class ChatResult(ModelNormal): @@ -99,7 +103,9 @@ def openapi_types(): 'created_visualizations': (CreatedVisualizations,), # noqa: E501 'error_response': (str,), # noqa: E501 'found_objects': (FoundObjects,), # noqa: E501 + 'reasoning': (Reasoning,), # noqa: E501 'routing': (RouteResult,), # noqa: E501 + 'semantic_search': (SearchResult,), # noqa: E501 'text_response': (str,), # noqa: E501 'thread_id_suffix': (str,), # noqa: E501 } @@ -115,7 +121,9 @@ def discriminator(): 'created_visualizations': 'createdVisualizations', # noqa: E501 'error_response': 'errorResponse', # noqa: E501 'found_objects': 'foundObjects', # noqa: E501 + 'reasoning': 'reasoning', # noqa: E501 'routing': 'routing', # noqa: E501 + 'semantic_search': 'semanticSearch', # noqa: E501 'text_response': 'textResponse', # noqa: E501 'thread_id_suffix': 'threadIdSuffix', # noqa: E501 } @@ -166,7 +174,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 created_visualizations (CreatedVisualizations): [optional] # noqa: E501 error_response (str): Error response in anything fails.. [optional] # noqa: E501 found_objects (FoundObjects): [optional] # noqa: E501 + reasoning (Reasoning): [optional] # noqa: E501 routing (RouteResult): [optional] # noqa: E501 + semantic_search (SearchResult): [optional] # noqa: E501 text_response (str): Text response for general questions.. [optional] # noqa: E501 thread_id_suffix (str): Chat History thread suffix appended to ID generated by backend. Enables more chat windows.. [optional] # noqa: E501 """ @@ -259,7 +269,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 created_visualizations (CreatedVisualizations): [optional] # noqa: E501 error_response (str): Error response in anything fails.. [optional] # noqa: E501 found_objects (FoundObjects): [optional] # noqa: E501 + reasoning (Reasoning): [optional] # noqa: E501 routing (RouteResult): [optional] # noqa: E501 + semantic_search (SearchResult): [optional] # noqa: E501 text_response (str): Text response for general questions.. [optional] # noqa: E501 thread_id_suffix (str): Chat History thread suffix appended to ID generated by backend. Enables more chat windows.. [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/chat_usage_response.py b/gooddata-api-client/gooddata_api_client/model/chat_usage_response.py index 84fe2fd65..406fdaa03 100644 --- a/gooddata-api-client/gooddata_api_client/model/chat_usage_response.py +++ b/gooddata-api-client/gooddata_api_client/model/chat_usage_response.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/clustering_request.py b/gooddata-api-client/gooddata_api_client/model/clustering_request.py index 062301bae..5e3d4ead5 100644 --- a/gooddata-api-client/gooddata_api_client/model/clustering_request.py +++ b/gooddata-api-client/gooddata_api_client/model/clustering_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/clustering_result.py b/gooddata-api-client/gooddata_api_client/model/clustering_result.py index 1a966f7dc..c17fccd64 100644 --- a/gooddata-api-client/gooddata_api_client/model/clustering_result.py +++ b/gooddata-api-client/gooddata_api_client/model/clustering_result.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/column_location.py b/gooddata-api-client/gooddata_api_client/model/column_location.py index 9a8dc3033..a096b14de 100644 --- a/gooddata-api-client/gooddata_api_client/model/column_location.py +++ b/gooddata-api-client/gooddata_api_client/model/column_location.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/column_override.py b/gooddata-api-client/gooddata_api_client/model/column_override.py index d81b231e2..8ffc7741c 100644 --- a/gooddata-api-client/gooddata_api_client/model/column_override.py +++ b/gooddata-api-client/gooddata_api_client/model/column_override.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/column_statistic.py b/gooddata-api-client/gooddata_api_client/model/column_statistic.py index 08c417a8a..c1aa13136 100644 --- a/gooddata-api-client/gooddata_api_client/model/column_statistic.py +++ b/gooddata-api-client/gooddata_api_client/model/column_statistic.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/column_statistic_warning.py b/gooddata-api-client/gooddata_api_client/model/column_statistic_warning.py index b678a9b10..6656b5d4a 100644 --- a/gooddata-api-client/gooddata_api_client/model/column_statistic_warning.py +++ b/gooddata-api-client/gooddata_api_client/model/column_statistic_warning.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/column_statistics_request.py b/gooddata-api-client/gooddata_api_client/model/column_statistics_request.py index f694edd5c..7756341d1 100644 --- a/gooddata-api-client/gooddata_api_client/model/column_statistics_request.py +++ b/gooddata-api-client/gooddata_api_client/model/column_statistics_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/column_statistics_request_from.py b/gooddata-api-client/gooddata_api_client/model/column_statistics_request_from.py index 4fa1a50d4..0cc019d2b 100644 --- a/gooddata-api-client/gooddata_api_client/model/column_statistics_request_from.py +++ b/gooddata-api-client/gooddata_api_client/model/column_statistics_request_from.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/column_statistics_response.py b/gooddata-api-client/gooddata_api_client/model/column_statistics_response.py index b2b6aebb4..08b2c9fd1 100644 --- a/gooddata-api-client/gooddata_api_client/model/column_statistics_response.py +++ b/gooddata-api-client/gooddata_api_client/model/column_statistics_response.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/column_warning.py b/gooddata-api-client/gooddata_api_client/model/column_warning.py index c12188a33..373f393bb 100644 --- a/gooddata-api-client/gooddata_api_client/model/column_warning.py +++ b/gooddata-api-client/gooddata_api_client/model/column_warning.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/comparison.py b/gooddata-api-client/gooddata_api_client/model/comparison.py index 399ebda2a..98aee357a 100644 --- a/gooddata-api-client/gooddata_api_client/model/comparison.py +++ b/gooddata-api-client/gooddata_api_client/model/comparison.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/comparison_condition.py b/gooddata-api-client/gooddata_api_client/model/comparison_condition.py new file mode 100644 index 000000000..3c12ad5e9 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/comparison_condition.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: 90a5773 + 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.comparison_condition_comparison import ComparisonConditionComparison + globals()['ComparisonConditionComparison'] = ComparisonConditionComparison + + +class ComparisonCondition(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 { + 'comparison': (ComparisonConditionComparison,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'comparison': 'comparison', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, comparison, *args, **kwargs): # noqa: E501 + """ComparisonCondition - a model defined in OpenAPI + + Args: + comparison (ComparisonConditionComparison): + + 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.comparison = comparison + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, comparison, *args, **kwargs): # noqa: E501 + """ComparisonCondition - a model defined in OpenAPI + + Args: + comparison (ComparisonConditionComparison): + + 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.comparison = comparison + 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/comparison_condition_comparison.py b/gooddata-api-client/gooddata_api_client/model/comparison_condition_comparison.py new file mode 100644 index 000000000..3a98b68c7 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/comparison_condition_comparison.py @@ -0,0 +1,284 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class ComparisonConditionComparison(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('operator',): { + 'GREATER_THAN': "GREATER_THAN", + 'GREATER_THAN_OR_EQUAL_TO': "GREATER_THAN_OR_EQUAL_TO", + 'LESS_THAN': "LESS_THAN", + 'LESS_THAN_OR_EQUAL_TO': "LESS_THAN_OR_EQUAL_TO", + 'EQUAL_TO': "EQUAL_TO", + 'NOT_EQUAL_TO': "NOT_EQUAL_TO", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'operator': (str,), # noqa: E501 + 'value': (float,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'operator': 'operator', # noqa: E501 + 'value': 'value', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, operator, value, *args, **kwargs): # noqa: E501 + """ComparisonConditionComparison - a model defined in OpenAPI + + Args: + operator (str): + value (float): + + 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.operator = operator + self.value = value + 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, operator, value, *args, **kwargs): # noqa: E501 + """ComparisonConditionComparison - a model defined in OpenAPI + + Args: + operator (str): + value (float): + + 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.operator = operator + self.value = value + 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/comparison_measure_value_filter.py b/gooddata-api-client/gooddata_api_client/model/comparison_measure_value_filter.py index 99e9f603a..770afd5b1 100644 --- a/gooddata-api-client/gooddata_api_client/model/comparison_measure_value_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/comparison_measure_value_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/comparison_measure_value_filter_comparison_measure_value_filter.py b/gooddata-api-client/gooddata_api_client/model/comparison_measure_value_filter_comparison_measure_value_filter.py index 3ae1cbe6c..f057f2b00 100644 --- a/gooddata-api-client/gooddata_api_client/model/comparison_measure_value_filter_comparison_measure_value_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/comparison_measure_value_filter_comparison_measure_value_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/comparison_wrapper.py b/gooddata-api-client/gooddata_api_client/model/comparison_wrapper.py index 72fb3e27f..d5a305fe3 100644 --- a/gooddata-api-client/gooddata_api_client/model/comparison_wrapper.py +++ b/gooddata-api-client/gooddata_api_client/model/comparison_wrapper.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/compound_measure_value_filter.py b/gooddata-api-client/gooddata_api_client/model/compound_measure_value_filter.py new file mode 100644 index 000000000..d14c6cede --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/compound_measure_value_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: 90a5773 + 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.compound_measure_value_filter_compound_measure_value_filter import CompoundMeasureValueFilterCompoundMeasureValueFilter + globals()['CompoundMeasureValueFilterCompoundMeasureValueFilter'] = CompoundMeasureValueFilterCompoundMeasureValueFilter + + +class CompoundMeasureValueFilter(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 { + 'compound_measure_value_filter': (CompoundMeasureValueFilterCompoundMeasureValueFilter,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'compound_measure_value_filter': 'compoundMeasureValueFilter', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, compound_measure_value_filter, *args, **kwargs): # noqa: E501 + """CompoundMeasureValueFilter - a model defined in OpenAPI + + Args: + compound_measure_value_filter (CompoundMeasureValueFilterCompoundMeasureValueFilter): + + 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.compound_measure_value_filter = compound_measure_value_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, compound_measure_value_filter, *args, **kwargs): # noqa: E501 + """CompoundMeasureValueFilter - a model defined in OpenAPI + + Args: + compound_measure_value_filter (CompoundMeasureValueFilterCompoundMeasureValueFilter): + + 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.compound_measure_value_filter = compound_measure_value_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/compound_measure_value_filter_compound_measure_value_filter.py b/gooddata-api-client/gooddata_api_client/model/compound_measure_value_filter_compound_measure_value_filter.py new file mode 100644 index 000000000..b3031fe1c --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/compound_measure_value_filter_compound_measure_value_filter.py @@ -0,0 +1,300 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.afm_identifier import AfmIdentifier + from gooddata_api_client.model.measure_value_condition import MeasureValueCondition + globals()['AfmIdentifier'] = AfmIdentifier + globals()['MeasureValueCondition'] = MeasureValueCondition + + +class CompoundMeasureValueFilterCompoundMeasureValueFilter(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 { + 'conditions': ([MeasureValueCondition],), # noqa: E501 + 'measure': (AfmIdentifier,), # noqa: E501 + 'apply_on_result': (bool,), # noqa: E501 + 'dimensionality': ([AfmIdentifier],), # noqa: E501 + 'local_identifier': (str,), # noqa: E501 + 'treat_null_values_as': (float,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'conditions': 'conditions', # noqa: E501 + 'measure': 'measure', # noqa: E501 + 'apply_on_result': 'applyOnResult', # noqa: E501 + 'dimensionality': 'dimensionality', # noqa: E501 + 'local_identifier': 'localIdentifier', # noqa: E501 + 'treat_null_values_as': 'treatNullValuesAs', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, conditions, measure, *args, **kwargs): # noqa: E501 + """CompoundMeasureValueFilterCompoundMeasureValueFilter - a model defined in OpenAPI + + Args: + conditions ([MeasureValueCondition]): List of conditions to apply. Conditions are combined with OR logic. Each condition can be either a comparison (e.g., > 100) or a range (e.g., BETWEEN 10 AND 50). If empty, no filtering is applied and all rows are returned. + measure (AfmIdentifier): + + 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,) + apply_on_result (bool): [optional] # noqa: E501 + dimensionality ([AfmIdentifier]): References to the attributes to be used when filtering.. [optional] # noqa: E501 + local_identifier (str): [optional] # noqa: E501 + treat_null_values_as (float): A value that will be substituted for null values in the metric for the comparisons.. [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.conditions = conditions + self.measure = measure + 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, conditions, measure, *args, **kwargs): # noqa: E501 + """CompoundMeasureValueFilterCompoundMeasureValueFilter - a model defined in OpenAPI + + Args: + conditions ([MeasureValueCondition]): List of conditions to apply. Conditions are combined with OR logic. Each condition can be either a comparison (e.g., > 100) or a range (e.g., BETWEEN 10 AND 50). If empty, no filtering is applied and all rows are returned. + measure (AfmIdentifier): + + 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,) + apply_on_result (bool): [optional] # noqa: E501 + dimensionality ([AfmIdentifier]): References to the attributes to be used when filtering.. [optional] # noqa: E501 + local_identifier (str): [optional] # noqa: E501 + treat_null_values_as (float): A value that will be substituted for null values in the metric for the comparisons.. [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.conditions = conditions + self.measure = measure + 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/content_slide_template.py b/gooddata-api-client/gooddata_api_client/model/content_slide_template.py index b9f27b395..d14f36e63 100644 --- a/gooddata-api-client/gooddata_api_client/model/content_slide_template.py +++ b/gooddata-api-client/gooddata_api_client/model/content_slide_template.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/cover_slide_template.py b/gooddata-api-client/gooddata_api_client/model/cover_slide_template.py index 2e2407a74..80d3d6dab 100644 --- a/gooddata-api-client/gooddata_api_client/model/cover_slide_template.py +++ b/gooddata-api-client/gooddata_api_client/model/cover_slide_template.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/created_visualization.py b/gooddata-api-client/gooddata_api_client/model/created_visualization.py index ca10ad91e..b4d3a6544 100644 --- a/gooddata-api-client/gooddata_api_client/model/created_visualization.py +++ b/gooddata-api-client/gooddata_api_client/model/created_visualization.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/created_visualization_filters_inner.py b/gooddata-api-client/gooddata_api_client/model/created_visualization_filters_inner.py index 880d3ba1d..93f4631ec 100644 --- a/gooddata-api-client/gooddata_api_client/model/created_visualization_filters_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/created_visualization_filters_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/created_visualizations.py b/gooddata-api-client/gooddata_api_client/model/created_visualizations.py index 6fd2c60b4..e9cd18ca5 100644 --- a/gooddata-api-client/gooddata_api_client/model/created_visualizations.py +++ b/gooddata-api-client/gooddata_api_client/model/created_visualizations.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -118,7 +118,7 @@ def _from_openapi_data(cls, objects, reasoning, suggestions, *args, **kwargs): Args: objects ([CreatedVisualization]): List of created visualization objects - reasoning (str): Reasoning from LLM. Description of how and why the answer was generated. + reasoning (str): DEPRECATED: Use top-level reasoning.steps instead. Reasoning from LLM. Description of how and why the answer was generated. suggestions ([Suggestion]): List of suggestions for next steps. Filled when no visualization was created, suggests alternatives. Keyword Args: @@ -211,7 +211,7 @@ def __init__(self, objects, reasoning, suggestions, *args, **kwargs): # noqa: E Args: objects ([CreatedVisualization]): List of created visualization objects - reasoning (str): Reasoning from LLM. Description of how and why the answer was generated. + reasoning (str): DEPRECATED: Use top-level reasoning.steps instead. Reasoning from LLM. Description of how and why the answer was generated. suggestions ([Suggestion]): List of suggestions for next steps. Filled when no visualization was created, suggests alternatives. Keyword Args: diff --git a/gooddata-api-client/gooddata_api_client/model/csv_convert_options.py b/gooddata-api-client/gooddata_api_client/model/csv_convert_options.py new file mode 100644 index 000000000..aedcc3531 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/csv_convert_options.py @@ -0,0 +1,318 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.csv_convert_options_column_type import CsvConvertOptionsColumnType + globals()['CsvConvertOptionsColumnType'] = CsvConvertOptionsColumnType + + +class CsvConvertOptions(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 { + 'auto_dict_encode': (bool,), # noqa: E501 + 'auto_dict_max_cardinality': (int,), # noqa: E501 + 'check_utf8': (bool,), # noqa: E501 + 'column_types': ([CsvConvertOptionsColumnType],), # noqa: E501 + 'decimal_point': (str,), # noqa: E501 + 'false_values': ([str],), # noqa: E501 + 'include_columns': ([str],), # noqa: E501 + 'include_missing_columns': (bool,), # noqa: E501 + 'null_values': ([str],), # noqa: E501 + 'quoted_strings_can_be_null': (bool,), # noqa: E501 + 'strings_can_be_null': (bool,), # noqa: E501 + 'timestamp_parsers': ([str],), # noqa: E501 + 'true_values': ([str],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'auto_dict_encode': 'autoDictEncode', # noqa: E501 + 'auto_dict_max_cardinality': 'autoDictMaxCardinality', # noqa: E501 + 'check_utf8': 'checkUtf8', # noqa: E501 + 'column_types': 'columnTypes', # noqa: E501 + 'decimal_point': 'decimalPoint', # noqa: E501 + 'false_values': 'falseValues', # noqa: E501 + 'include_columns': 'includeColumns', # noqa: E501 + 'include_missing_columns': 'includeMissingColumns', # noqa: E501 + 'null_values': 'nullValues', # noqa: E501 + 'quoted_strings_can_be_null': 'quotedStringsCanBeNull', # noqa: E501 + 'strings_can_be_null': 'stringsCanBeNull', # noqa: E501 + 'timestamp_parsers': 'timestampParsers', # noqa: E501 + 'true_values': 'trueValues', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """CsvConvertOptions - a model defined in OpenAPI + + 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,) + auto_dict_encode (bool): Whether to try to automatically dict-encode string / binary data.. [optional] # noqa: E501 + auto_dict_max_cardinality (int): The maximum dictionary cardinality for autoDictEncode.. [optional] # noqa: E501 + check_utf8 (bool): Whether to check UTF8 validity of string columns.. [optional] # noqa: E501 + column_types ([CsvConvertOptionsColumnType]): Information about the column types in the table.. [optional] # noqa: E501 + decimal_point (str): The character used as decimal point in floating-point and decimal data.. [optional] # noqa: E501 + false_values ([str]): Sequence of strings that denote false Booleans in the data.. [optional] # noqa: E501 + include_columns ([str]): The names of columns to include in the Table. If empty, the Table will include all columns from the CSV file. If not empty, only these columns will be included, in this order.. [optional] # noqa: E501 + include_missing_columns (bool): If false, columns in includeColumns but not in the CSV file will error out.. [optional] # noqa: E501 + null_values ([str]): Sequence of strings that denote nulls in the data.. [optional] # noqa: E501 + quoted_strings_can_be_null (bool): Whether quoted values can be null.. [optional] # noqa: E501 + strings_can_be_null (bool): Whether string / binary columns can have null values.. [optional] # noqa: E501 + timestamp_parsers ([str]): Sequence of strptime()-compatible format strings, tried in order when attempting to infer or convert timestamp values.. [optional] # noqa: E501 + true_values ([str]): Sequence of strings that denote true Booleans in the data.. [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__,) + + 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, *args, **kwargs): # noqa: E501 + """CsvConvertOptions - a model defined in OpenAPI + + 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,) + auto_dict_encode (bool): Whether to try to automatically dict-encode string / binary data.. [optional] # noqa: E501 + auto_dict_max_cardinality (int): The maximum dictionary cardinality for autoDictEncode.. [optional] # noqa: E501 + check_utf8 (bool): Whether to check UTF8 validity of string columns.. [optional] # noqa: E501 + column_types ([CsvConvertOptionsColumnType]): Information about the column types in the table.. [optional] # noqa: E501 + decimal_point (str): The character used as decimal point in floating-point and decimal data.. [optional] # noqa: E501 + false_values ([str]): Sequence of strings that denote false Booleans in the data.. [optional] # noqa: E501 + include_columns ([str]): The names of columns to include in the Table. If empty, the Table will include all columns from the CSV file. If not empty, only these columns will be included, in this order.. [optional] # noqa: E501 + include_missing_columns (bool): If false, columns in includeColumns but not in the CSV file will error out.. [optional] # noqa: E501 + null_values ([str]): Sequence of strings that denote nulls in the data.. [optional] # noqa: E501 + quoted_strings_can_be_null (bool): Whether quoted values can be null.. [optional] # noqa: E501 + strings_can_be_null (bool): Whether string / binary columns can have null values.. [optional] # noqa: E501 + timestamp_parsers ([str]): Sequence of strptime()-compatible format strings, tried in order when attempting to infer or convert timestamp values.. [optional] # noqa: E501 + true_values ([str]): Sequence of strings that denote true Booleans in the data.. [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__,) + + 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/csv_convert_options_column_type.py b/gooddata-api-client/gooddata_api_client/model/csv_convert_options_column_type.py new file mode 100644 index 000000000..1829f4bd8 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/csv_convert_options_column_type.py @@ -0,0 +1,272 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class CsvConvertOptionsColumnType(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'name': (str,), # noqa: E501 + 'nullable': (bool,), # noqa: E501 + 'type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'name': 'name', # noqa: E501 + 'nullable': 'nullable', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """CsvConvertOptionsColumnType - a model defined in OpenAPI + + 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,) + name (str): The column name.. [optional] # noqa: E501 + nullable (bool): Whether the data in the given column can be null.. [optional] # noqa: E501 + type (str): The column type.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + 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, *args, **kwargs): # noqa: E501 + """CsvConvertOptionsColumnType - a model defined in OpenAPI + + 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,) + name (str): The column name.. [optional] # noqa: E501 + nullable (bool): Whether the data in the given column can be null.. [optional] # noqa: E501 + type (str): The column type.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + 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/csv_manifest_body.py b/gooddata-api-client/gooddata_api_client/model/csv_manifest_body.py new file mode 100644 index 000000000..e8612ee1a --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/csv_manifest_body.py @@ -0,0 +1,290 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.csv_convert_options import CsvConvertOptions + from gooddata_api_client.model.csv_parse_options import CsvParseOptions + from gooddata_api_client.model.csv_read_options import CsvReadOptions + globals()['CsvConvertOptions'] = CsvConvertOptions + globals()['CsvParseOptions'] = CsvParseOptions + globals()['CsvReadOptions'] = CsvReadOptions + + +class CsvManifestBody(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 { + 'column_date_formats': ({str: (str,)},), # noqa: E501 + 'convert': (CsvConvertOptions,), # noqa: E501 + 'parse': (CsvParseOptions,), # noqa: E501 + 'read': (CsvReadOptions,), # noqa: E501 + 'read_method': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'column_date_formats': 'column_date_formats', # noqa: E501 + 'convert': 'convert', # noqa: E501 + 'parse': 'parse', # noqa: E501 + 'read': 'read', # noqa: E501 + 'read_method': 'read_method', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """CsvManifestBody - a model defined in OpenAPI + + 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,) + column_date_formats ({str: (str,)}): Map of column names to date formats to use when parsing them as dates.. [optional] # noqa: E501 + convert (CsvConvertOptions): [optional] # noqa: E501 + parse (CsvParseOptions): [optional] # noqa: E501 + read (CsvReadOptions): [optional] # noqa: E501 + read_method (str): Method used to read the CSV file.. [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__,) + + 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, *args, **kwargs): # noqa: E501 + """CsvManifestBody - a model defined in OpenAPI + + 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,) + column_date_formats ({str: (str,)}): Map of column names to date formats to use when parsing them as dates.. [optional] # noqa: E501 + convert (CsvConvertOptions): [optional] # noqa: E501 + parse (CsvParseOptions): [optional] # noqa: E501 + read (CsvReadOptions): [optional] # noqa: E501 + read_method (str): Method used to read the CSV file.. [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__,) + + 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/csv_parse_options.py b/gooddata-api-client/gooddata_api_client/model/csv_parse_options.py new file mode 100644 index 000000000..1e3efb8f3 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/csv_parse_options.py @@ -0,0 +1,284 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class CsvParseOptions(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'delimiter': (str,), # noqa: E501 + 'double_quote': (bool,), # noqa: E501 + 'escape_char': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 + 'ignore_empty_lines': (bool,), # noqa: E501 + 'newlines_in_values': (bool,), # noqa: E501 + 'quote_char': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'delimiter': 'delimiter', # noqa: E501 + 'double_quote': 'doubleQuote', # noqa: E501 + 'escape_char': 'escapeChar', # noqa: E501 + 'ignore_empty_lines': 'ignoreEmptyLines', # noqa: E501 + 'newlines_in_values': 'newlinesInValues', # noqa: E501 + 'quote_char': 'quoteChar', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """CsvParseOptions - a model defined in OpenAPI + + 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,) + delimiter (str): The character delimiting individual cells in the CSV data.. [optional] # noqa: E501 + double_quote (bool): Whether two quotes in a quoted CSV value denote a single quote in the data.. [optional] # noqa: E501 + escape_char ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): The character used optionally for escaping special characters or false to disable escaping.. [optional] # noqa: E501 + ignore_empty_lines (bool): Whether empty lines are ignored in CSV input.. [optional] # noqa: E501 + newlines_in_values (bool): Whether newline characters are allowed in CSV values.. [optional] # noqa: E501 + quote_char ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): The character used optionally for quoting CSV values or false to disable quoting.. [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__,) + + 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, *args, **kwargs): # noqa: E501 + """CsvParseOptions - a model defined in OpenAPI + + 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,) + delimiter (str): The character delimiting individual cells in the CSV data.. [optional] # noqa: E501 + double_quote (bool): Whether two quotes in a quoted CSV value denote a single quote in the data.. [optional] # noqa: E501 + escape_char ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): The character used optionally for escaping special characters or false to disable escaping.. [optional] # noqa: E501 + ignore_empty_lines (bool): Whether empty lines are ignored in CSV input.. [optional] # noqa: E501 + newlines_in_values (bool): Whether newline characters are allowed in CSV values.. [optional] # noqa: E501 + quote_char ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): The character used optionally for quoting CSV values or false to disable quoting.. [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__,) + + 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/csv_read_options.py b/gooddata-api-client/gooddata_api_client/model/csv_read_options.py new file mode 100644 index 000000000..76942d8fa --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/csv_read_options.py @@ -0,0 +1,288 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class CsvReadOptions(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'auto_generate_column_names': (bool,), # noqa: E501 + 'block_size': (int,), # noqa: E501 + 'column_names': ([str],), # noqa: E501 + 'encoding': (str,), # noqa: E501 + 'skip_rows': (int,), # noqa: E501 + 'skip_rows_after_names': (int,), # noqa: E501 + 'use_threads': (bool,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'auto_generate_column_names': 'autoGenerateColumnNames', # noqa: E501 + 'block_size': 'blockSize', # noqa: E501 + 'column_names': 'columnNames', # noqa: E501 + 'encoding': 'encoding', # noqa: E501 + 'skip_rows': 'skipRows', # noqa: E501 + 'skip_rows_after_names': 'skipRowsAfterNames', # noqa: E501 + 'use_threads': 'useThreads', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """CsvReadOptions - a model defined in OpenAPI + + 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,) + auto_generate_column_names (bool): Whether to autogenerate column names if columnNames is empty.. [optional] # noqa: E501 + block_size (int): How many bytes to process at a time from the input stream.. [optional] # noqa: E501 + column_names ([str]): The column names of the target table.. [optional] # noqa: E501 + encoding (str): The character encoding of the CSV data.. [optional] # noqa: E501 + skip_rows (int): The number of rows to skip before the column names (if any) and the CSV data.. [optional] # noqa: E501 + skip_rows_after_names (int): The number of rows to skip after the column names.. [optional] # noqa: E501 + use_threads (bool): Whether to use multiple threads to accelerate reading.. [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__,) + + 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, *args, **kwargs): # noqa: E501 + """CsvReadOptions - a model defined in OpenAPI + + 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,) + auto_generate_column_names (bool): Whether to autogenerate column names if columnNames is empty.. [optional] # noqa: E501 + block_size (int): How many bytes to process at a time from the input stream.. [optional] # noqa: E501 + column_names ([str]): The column names of the target table.. [optional] # noqa: E501 + encoding (str): The character encoding of the CSV data.. [optional] # noqa: E501 + skip_rows (int): The number of rows to skip before the column names (if any) and the CSV data.. [optional] # noqa: E501 + skip_rows_after_names (int): The number of rows to skip after the column names.. [optional] # noqa: E501 + use_threads (bool): Whether to use multiple threads to accelerate reading.. [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__,) + + 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/custom_label.py b/gooddata-api-client/gooddata_api_client/model/custom_label.py index 09011359d..51493344c 100644 --- a/gooddata-api-client/gooddata_api_client/model/custom_label.py +++ b/gooddata-api-client/gooddata_api_client/model/custom_label.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/custom_metric.py b/gooddata-api-client/gooddata_api_client/model/custom_metric.py index 243703bb6..5197e2e49 100644 --- a/gooddata-api-client/gooddata_api_client/model/custom_metric.py +++ b/gooddata-api-client/gooddata_api_client/model/custom_metric.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/custom_override.py b/gooddata-api-client/gooddata_api_client/model/custom_override.py index e772918cb..a25f855d9 100644 --- a/gooddata-api-client/gooddata_api_client/model/custom_override.py +++ b/gooddata-api-client/gooddata_api_client/model/custom_override.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_attribute_filter.py b/gooddata-api-client/gooddata_api_client/model/dashboard_attribute_filter.py index e98689381..72da5ef26 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_attribute_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_attribute_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_attribute_filter_attribute_filter.py b/gooddata-api-client/gooddata_api_client/model/dashboard_attribute_filter_attribute_filter.py index f369f47c5..48411ce05 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_attribute_filter_attribute_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_attribute_filter_attribute_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_date_filter.py b/gooddata-api-client/gooddata_api_client/model/dashboard_date_filter.py index 078831bb2..1c3ed6697 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_date_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_date_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_date_filter_date_filter.py b/gooddata-api-client/gooddata_api_client/model/dashboard_date_filter_date_filter.py index d01032043..40c1e10d4 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_date_filter_date_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_date_filter_date_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.dashboard_date_filter_date_filter_from import DashboardDateFilterDateFilterFrom + from gooddata_api_client.model.aac_dashboard_filter_from import AacDashboardFilterFrom from gooddata_api_client.model.identifier_ref import IdentifierRef from gooddata_api_client.model.relative_bounded_date_filter import RelativeBoundedDateFilter - globals()['DashboardDateFilterDateFilterFrom'] = DashboardDateFilterDateFilterFrom + globals()['AacDashboardFilterFrom'] = AacDashboardFilterFrom globals()['IdentifierRef'] = IdentifierRef globals()['RelativeBoundedDateFilter'] = RelativeBoundedDateFilter @@ -129,9 +129,9 @@ def openapi_types(): 'attribute': (IdentifierRef,), # noqa: E501 'bounded_filter': (RelativeBoundedDateFilter,), # noqa: E501 'data_set': (IdentifierRef,), # noqa: E501 - '_from': (DashboardDateFilterDateFilterFrom,), # noqa: E501 + '_from': (AacDashboardFilterFrom,), # noqa: E501 'local_identifier': (str,), # noqa: E501 - 'to': (DashboardDateFilterDateFilterFrom,), # noqa: E501 + 'to': (AacDashboardFilterFrom,), # noqa: E501 } @cached_property @@ -198,9 +198,9 @@ def _from_openapi_data(cls, granularity, type, *args, **kwargs): # noqa: E501 attribute (IdentifierRef): [optional] # noqa: E501 bounded_filter (RelativeBoundedDateFilter): [optional] # noqa: E501 data_set (IdentifierRef): [optional] # noqa: E501 - _from (DashboardDateFilterDateFilterFrom): [optional] # noqa: E501 + _from (AacDashboardFilterFrom): [optional] # noqa: E501 local_identifier (str): [optional] # noqa: E501 - to (DashboardDateFilterDateFilterFrom): [optional] # noqa: E501 + to (AacDashboardFilterFrom): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -295,9 +295,9 @@ def __init__(self, granularity, type, *args, **kwargs): # noqa: E501 attribute (IdentifierRef): [optional] # noqa: E501 bounded_filter (RelativeBoundedDateFilter): [optional] # noqa: E501 data_set (IdentifierRef): [optional] # noqa: E501 - _from (DashboardDateFilterDateFilterFrom): [optional] # noqa: E501 + _from (AacDashboardFilterFrom): [optional] # noqa: E501 local_identifier (str): [optional] # noqa: E501 - to (DashboardDateFilterDateFilterFrom): [optional] # noqa: E501 + to (AacDashboardFilterFrom): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_export_settings.py b/gooddata-api-client/gooddata_api_client/model/dashboard_export_settings.py index bd683f7c9..d13d3193f 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_export_settings.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_export_settings.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_filter.py b/gooddata-api-client/gooddata_api_client/model/dashboard_filter.py index 27b551ddd..6ba4949b2 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_permissions.py b/gooddata-api-client/gooddata_api_client/model/dashboard_permissions.py index 8d307bdf5..751d18ddc 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_permissions.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_permissions.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_permissions_assignment.py b/gooddata-api-client/gooddata_api_client/model/dashboard_permissions_assignment.py index 674515ff4..458359e64 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_permissions_assignment.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_permissions_assignment.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_slides_template.py b/gooddata-api-client/gooddata_api_client/model/dashboard_slides_template.py index 4a41bc0fb..f0f08611e 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_slides_template.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_slides_template.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_tabular_export_request.py b/gooddata-api-client/gooddata_api_client/model/dashboard_tabular_export_request.py index dc0915025..076f6b3a0 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_tabular_export_request.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_tabular_export_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_tabular_export_request_v2.py b/gooddata-api-client/gooddata_api_client/model/dashboard_tabular_export_request_v2.py index d189ee2d3..602f278a7 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_tabular_export_request_v2.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_tabular_export_request_v2.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/data_column_locator.py b/gooddata-api-client/gooddata_api_client/model/data_column_locator.py index 869225e3a..d469cfb27 100644 --- a/gooddata-api-client/gooddata_api_client/model/data_column_locator.py +++ b/gooddata-api-client/gooddata_api_client/model/data_column_locator.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/data_column_locators.py b/gooddata-api-client/gooddata_api_client/model/data_column_locators.py index 995c87208..1417fa3d7 100644 --- a/gooddata-api-client/gooddata_api_client/model/data_column_locators.py +++ b/gooddata-api-client/gooddata_api_client/model/data_column_locators.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/data_source_parameter.py b/gooddata-api-client/gooddata_api_client/model/data_source_parameter.py index bca71d916..c72049e48 100644 --- a/gooddata-api-client/gooddata_api_client/model/data_source_parameter.py +++ b/gooddata-api-client/gooddata_api_client/model/data_source_parameter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/data_source_permission_assignment.py b/gooddata-api-client/gooddata_api_client/model/data_source_permission_assignment.py index cdb594d5a..01b645ef0 100644 --- a/gooddata-api-client/gooddata_api_client/model/data_source_permission_assignment.py +++ b/gooddata-api-client/gooddata_api_client/model/data_source_permission_assignment.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/data_source_schemata.py b/gooddata-api-client/gooddata_api_client/model/data_source_schemata.py index 0ec72fce7..8607fcd47 100644 --- a/gooddata-api-client/gooddata_api_client/model/data_source_schemata.py +++ b/gooddata-api-client/gooddata_api_client/model/data_source_schemata.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/data_source_table_identifier.py b/gooddata-api-client/gooddata_api_client/model/data_source_table_identifier.py index 5890d278c..a5cdfd1b0 100644 --- a/gooddata-api-client/gooddata_api_client/model/data_source_table_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/data_source_table_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/dataset_grain.py b/gooddata-api-client/gooddata_api_client/model/dataset_grain.py index aeec83a70..0540583ab 100644 --- a/gooddata-api-client/gooddata_api_client/model/dataset_grain.py +++ b/gooddata-api-client/gooddata_api_client/model/dataset_grain.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/dataset_reference_identifier.py b/gooddata-api-client/gooddata_api_client/model/dataset_reference_identifier.py index 5a6be1b66..cd6df685c 100644 --- a/gooddata-api-client/gooddata_api_client/model/dataset_reference_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/dataset_reference_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/dataset_workspace_data_filter_identifier.py b/gooddata-api-client/gooddata_api_client/model/dataset_workspace_data_filter_identifier.py index 75f2f8be8..acf210019 100644 --- a/gooddata-api-client/gooddata_api_client/model/dataset_workspace_data_filter_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/dataset_workspace_data_filter_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/date_absolute_filter.py b/gooddata-api-client/gooddata_api_client/model/date_absolute_filter.py index 68958cfae..b080679ef 100644 --- a/gooddata-api-client/gooddata_api_client/model/date_absolute_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/date_absolute_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/date_absolute_filter_all_of.py b/gooddata-api-client/gooddata_api_client/model/date_absolute_filter_all_of.py index bb6d2bfab..4475767a2 100644 --- a/gooddata-api-client/gooddata_api_client/model/date_absolute_filter_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/date_absolute_filter_all_of.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/date_filter.py b/gooddata-api-client/gooddata_api_client/model/date_filter.py index 3b2e25293..a0df7dade 100644 --- a/gooddata-api-client/gooddata_api_client/model/date_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/date_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/date_relative_filter.py b/gooddata-api-client/gooddata_api_client/model/date_relative_filter.py index 250e5587c..0ef9253da 100644 --- a/gooddata-api-client/gooddata_api_client/model/date_relative_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/date_relative_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/date_relative_filter_all_of.py b/gooddata-api-client/gooddata_api_client/model/date_relative_filter_all_of.py index 9d3be6a8f..0d691ed0f 100644 --- a/gooddata-api-client/gooddata_api_client/model/date_relative_filter_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/date_relative_filter_all_of.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/date_value.py b/gooddata-api-client/gooddata_api_client/model/date_value.py index beb07341b..5cdf9ce2c 100644 --- a/gooddata-api-client/gooddata_api_client/model/date_value.py +++ b/gooddata-api-client/gooddata_api_client/model/date_value.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_aggregated_fact.py b/gooddata-api-client/gooddata_api_client/model/declarative_aggregated_fact.py index 64888d9a5..beb4304a3 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_aggregated_fact.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_aggregated_fact.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -117,6 +117,8 @@ def openapi_types(): 'source_column': (str,), # noqa: E501 'source_fact_reference': (DeclarativeSourceFactReference,), # noqa: E501 'description': (str,), # noqa: E501 + 'is_nullable': (bool,), # noqa: E501 + 'null_value': (str,), # noqa: E501 'source_column_data_type': (str,), # noqa: E501 'tags': ([str],), # noqa: E501 } @@ -131,6 +133,8 @@ def discriminator(): 'source_column': 'sourceColumn', # noqa: E501 'source_fact_reference': 'sourceFactReference', # noqa: E501 'description': 'description', # noqa: E501 + 'is_nullable': 'isNullable', # noqa: E501 + 'null_value': 'nullValue', # noqa: E501 'source_column_data_type': 'sourceColumnDataType', # noqa: E501 'tags': 'tags', # noqa: E501 } @@ -182,6 +186,8 @@ def _from_openapi_data(cls, id, source_column, source_fact_reference, *args, **k through its discriminator because we passed in _visited_composed_classes = (Animal,) description (str): Fact description.. [optional] # noqa: E501 + is_nullable (bool): Flag indicating whether the associated source column allows null values.. [optional] # noqa: E501 + null_value (str): Value used in coalesce during joins instead of null.. [optional] # noqa: E501 source_column_data_type (str): A type of the source column. [optional] # noqa: E501 tags ([str]): A list of tags.. [optional] # noqa: E501 """ @@ -278,6 +284,8 @@ def __init__(self, id, source_column, source_fact_reference, *args, **kwargs): through its discriminator because we passed in _visited_composed_classes = (Animal,) description (str): Fact description.. [optional] # noqa: E501 + is_nullable (bool): Flag indicating whether the associated source column allows null values.. [optional] # noqa: E501 + null_value (str): Value used in coalesce during joins instead of null.. [optional] # noqa: E501 source_column_data_type (str): A type of the source column. [optional] # noqa: E501 tags ([str]): A list of tags.. [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard.py b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard.py index f2cb5467b..c9de81ad9 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_extension.py b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_extension.py index 35c50b79d..f18c72235 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_extension.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_extension.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_identifier.py b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_identifier.py index d2298ddf1..378df0efc 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_assignment.py b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_assignment.py index 677f9d867..9fa5cf131 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_assignment.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_assignment.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_for_assignee.py b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_for_assignee.py index 7be09d3c8..1051103d3 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_for_assignee.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_for_assignee.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_for_assignee_all_of.py b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_for_assignee_all_of.py index 023f2346d..b0220275c 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_for_assignee_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_for_assignee_all_of.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_for_assignee_rule.py b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_for_assignee_rule.py index 6cdafcb1b..bd4768a43 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_for_assignee_rule.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_for_assignee_rule.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_for_assignee_rule_all_of.py b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_for_assignee_rule_all_of.py index 364d9cb4b..83eddf802 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_for_assignee_rule_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission_for_assignee_rule_all_of.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permissions_inner.py b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permissions_inner.py index a2e7cc3c4..5b78e00ef 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permissions_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permissions_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_analytics.py b/gooddata-api-client/gooddata_api_client/model/declarative_analytics.py index e5feb9629..2089b1a5e 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_analytics.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_analytics.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_analytics_layer.py b/gooddata-api-client/gooddata_api_client/model/declarative_analytics_layer.py index c55246920..a7108d1ce 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_analytics_layer.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_analytics_layer.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_attribute.py b/gooddata-api-client/gooddata_api_client/model/declarative_attribute.py index 9e816757d..7de9fce31 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_attribute.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_attribute.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -132,7 +132,9 @@ def openapi_types(): 'default_view': (LabelIdentifier,), # noqa: E501 'description': (str,), # noqa: E501 'is_hidden': (bool,), # noqa: E501 + 'is_nullable': (bool,), # noqa: E501 'locale': (str,), # noqa: E501 + 'null_value': (str,), # noqa: E501 'sort_column': (str,), # noqa: E501 'sort_direction': (str,), # noqa: E501 'source_column_data_type': (str,), # noqa: E501 @@ -152,7 +154,9 @@ def discriminator(): 'default_view': 'defaultView', # noqa: E501 'description': 'description', # noqa: E501 'is_hidden': 'isHidden', # noqa: E501 + 'is_nullable': 'isNullable', # noqa: E501 'locale': 'locale', # noqa: E501 + 'null_value': 'nullValue', # noqa: E501 'sort_column': 'sortColumn', # noqa: E501 'sort_direction': 'sortDirection', # noqa: E501 'source_column_data_type': 'sourceColumnDataType', # noqa: E501 @@ -209,7 +213,9 @@ def _from_openapi_data(cls, id, labels, source_column, title, *args, **kwargs): default_view (LabelIdentifier): [optional] # noqa: E501 description (str): Attribute description.. [optional] # noqa: E501 is_hidden (bool): If true, this attribute is hidden from AI search results.. [optional] # noqa: E501 + is_nullable (bool): Flag indicating whether the associated source column allows null values.. [optional] # noqa: E501 locale (str): Default locale for primary label.. [optional] # noqa: E501 + null_value (str): Value used in coalesce during joins instead of null.. [optional] # noqa: E501 sort_column (str): Attribute sort column.. [optional] # noqa: E501 sort_direction (str): Attribute sort direction.. [optional] # noqa: E501 source_column_data_type (str): A type of the source column. [optional] # noqa: E501 @@ -312,7 +318,9 @@ def __init__(self, id, labels, source_column, title, *args, **kwargs): # noqa: default_view (LabelIdentifier): [optional] # noqa: E501 description (str): Attribute description.. [optional] # noqa: E501 is_hidden (bool): If true, this attribute is hidden from AI search results.. [optional] # noqa: E501 + is_nullable (bool): Flag indicating whether the associated source column allows null values.. [optional] # noqa: E501 locale (str): Default locale for primary label.. [optional] # noqa: E501 + null_value (str): Value used in coalesce during joins instead of null.. [optional] # noqa: E501 sort_column (str): Attribute sort column.. [optional] # noqa: E501 sort_direction (str): Attribute sort direction.. [optional] # noqa: E501 source_column_data_type (str): A type of the source column. [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_attribute_hierarchy.py b/gooddata-api-client/gooddata_api_client/model/declarative_attribute_hierarchy.py index 9b8113093..0bcd6804c 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_attribute_hierarchy.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_attribute_hierarchy.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_automation.py b/gooddata-api-client/gooddata_api_client/model/declarative_automation.py index ab7b92c33..3bcd996d1 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_automation.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_automation.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_color_palette.py b/gooddata-api-client/gooddata_api_client/model/declarative_color_palette.py index 836267092..c86e0172a 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_color_palette.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_color_palette.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_column.py b/gooddata-api-client/gooddata_api_client/model/declarative_column.py index 6428838db..a1413766e 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_column.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_column.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -70,6 +70,9 @@ class DeclarativeColumn(ModelNormal): validations = { ('name',): { 'max_length': 255, + 'regex': { + 'pattern': r'^[^]*$', # noqa: E501 + }, }, ('description',): { 'max_length': 10000, @@ -106,6 +109,7 @@ def openapi_types(): 'data_type': (str,), # noqa: E501 'name': (str,), # noqa: E501 'description': (str,), # noqa: E501 + 'is_nullable': (bool,), # noqa: E501 'is_primary_key': (bool,), # noqa: E501 'referenced_table_column': (str,), # noqa: E501 'referenced_table_id': (str,), # noqa: E501 @@ -120,6 +124,7 @@ def discriminator(): 'data_type': 'dataType', # noqa: E501 'name': 'name', # noqa: E501 'description': 'description', # noqa: E501 + 'is_nullable': 'isNullable', # noqa: E501 'is_primary_key': 'isPrimaryKey', # noqa: E501 'referenced_table_column': 'referencedTableColumn', # noqa: E501 'referenced_table_id': 'referencedTableId', # noqa: E501 @@ -171,6 +176,7 @@ def _from_openapi_data(cls, data_type, name, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) description (str): Column description/comment from database. [optional] # noqa: E501 + is_nullable (bool): Column is nullable. [optional] # noqa: E501 is_primary_key (bool): Is column part of primary key?. [optional] # noqa: E501 referenced_table_column (str): Referenced table (Foreign key). [optional] # noqa: E501 referenced_table_id (str): Referenced table (Foreign key). [optional] # noqa: E501 @@ -266,6 +272,7 @@ def __init__(self, data_type, name, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) description (str): Column description/comment from database. [optional] # noqa: E501 + is_nullable (bool): Column is nullable. [optional] # noqa: E501 is_primary_key (bool): Is column part of primary key?. [optional] # noqa: E501 referenced_table_column (str): Referenced table (Foreign key). [optional] # noqa: E501 referenced_table_id (str): Referenced table (Foreign key). [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_csp_directive.py b/gooddata-api-client/gooddata_api_client/model/declarative_csp_directive.py index 497b68aa9..00df2305d 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_csp_directive.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_csp_directive.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_custom_application_setting.py b/gooddata-api-client/gooddata_api_client/model/declarative_custom_application_setting.py index ff391768b..defe4fb63 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_custom_application_setting.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_custom_application_setting.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_custom_geo_collection.py b/gooddata-api-client/gooddata_api_client/model/declarative_custom_geo_collection.py new file mode 100644 index 000000000..2ebeec647 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/declarative_custom_geo_collection.py @@ -0,0 +1,275 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class DeclarativeCustomGeoCollection(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 = { + ('id',): { + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + """DeclarativeCustomGeoCollection - a model defined in OpenAPI + + Args: + id (str): Custom geo collection ID. + + 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.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, id, *args, **kwargs): # noqa: E501 + """DeclarativeCustomGeoCollection - a model defined in OpenAPI + + Args: + id (str): Custom geo collection ID. + + 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.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_custom_geo_collections.py b/gooddata-api-client/gooddata_api_client/model/declarative_custom_geo_collections.py new file mode 100644 index 000000000..f0a0265bb --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/declarative_custom_geo_collections.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: 90a5773 + 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.declarative_custom_geo_collection import DeclarativeCustomGeoCollection + globals()['DeclarativeCustomGeoCollection'] = DeclarativeCustomGeoCollection + + +class DeclarativeCustomGeoCollections(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 { + 'custom_geo_collections': ([DeclarativeCustomGeoCollection],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'custom_geo_collections': 'customGeoCollections', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, custom_geo_collections, *args, **kwargs): # noqa: E501 + """DeclarativeCustomGeoCollections - a model defined in OpenAPI + + Args: + custom_geo_collections ([DeclarativeCustomGeoCollection]): + + 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.custom_geo_collections = custom_geo_collections + 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, custom_geo_collections, *args, **kwargs): # noqa: E501 + """DeclarativeCustomGeoCollections - a model defined in OpenAPI + + Args: + custom_geo_collections ([DeclarativeCustomGeoCollection]): + + 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.custom_geo_collections = custom_geo_collections + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_dashboard_plugin.py b/gooddata-api-client/gooddata_api_client/model/declarative_dashboard_plugin.py index 0e6eb48ea..5c395c866 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_dashboard_plugin.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_dashboard_plugin.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_data_source.py b/gooddata-api-client/gooddata_api_client/model/declarative_data_source.py index c4d08e989..4a510ea8e 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_data_source.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_data_source.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -116,6 +116,11 @@ class DeclarativeDataSource(ModelNormal): ('schema',): { 'max_length': 255, }, + ('alternative_data_source_id',): { + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, ('client_id',): { 'max_length': 255, }, @@ -169,6 +174,7 @@ def openapi_types(): 'name': (str,), # noqa: E501 'schema': (str,), # noqa: E501 'type': (str,), # noqa: E501 + 'alternative_data_source_id': (str, none_type,), # noqa: E501 'authentication_type': (str, none_type,), # noqa: E501 'cache_strategy': (str,), # noqa: E501 'client_id': (str,), # noqa: E501 @@ -194,6 +200,7 @@ def discriminator(): 'name': 'name', # noqa: E501 'schema': 'schema', # noqa: E501 'type': 'type', # noqa: E501 + 'alternative_data_source_id': 'alternativeDataSourceId', # noqa: E501 'authentication_type': 'authenticationType', # noqa: E501 'cache_strategy': 'cacheStrategy', # noqa: E501 'client_id': 'clientId', # noqa: E501 @@ -256,6 +263,7 @@ def _from_openapi_data(cls, id, name, schema, type, *args, **kwargs): # noqa: E Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + alternative_data_source_id (str, none_type): Alternative data source ID. It is a weak reference meaning data source does not have to exist. All the entities (e.g. tables) from the data source must be available also in the alternative data source. It must be present in the same organization as the data source.. [optional] # noqa: E501 authentication_type (str, none_type): Type of authentication used to connect to the database.. [optional] # noqa: E501 cache_strategy (str): Determines how the results coming from a particular datasource should be cached. - ALWAYS: The results from the datasource should be cached normally (the default). - NEVER: The results from the datasource should never be cached.. [optional] # noqa: E501 client_id (str): Id of client with permission to connect to the data source.. [optional] # noqa: E501 @@ -364,6 +372,7 @@ def __init__(self, id, name, schema, type, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + alternative_data_source_id (str, none_type): Alternative data source ID. It is a weak reference meaning data source does not have to exist. All the entities (e.g. tables) from the data source must be available also in the alternative data source. It must be present in the same organization as the data source.. [optional] # noqa: E501 authentication_type (str, none_type): Type of authentication used to connect to the database.. [optional] # noqa: E501 cache_strategy (str): Determines how the results coming from a particular datasource should be cached. - ALWAYS: The results from the datasource should be cached normally (the default). - NEVER: The results from the datasource should never be cached.. [optional] # noqa: E501 client_id (str): Id of client with permission to connect to the data source.. [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_data_source_permission.py b/gooddata-api-client/gooddata_api_client/model/declarative_data_source_permission.py index b3dd238b1..b1b8b7b78 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_data_source_permission.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_data_source_permission.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_data_source_permissions.py b/gooddata-api-client/gooddata_api_client/model/declarative_data_source_permissions.py index 52b65d969..a0c0cec89 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_data_source_permissions.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_data_source_permissions.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_data_sources.py b/gooddata-api-client/gooddata_api_client/model/declarative_data_sources.py index a7a645fb2..02e321da3 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_data_sources.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_data_sources.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_dataset.py b/gooddata-api-client/gooddata_api_client/model/declarative_dataset.py index 7076567a8..bcbb69073 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_dataset.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_dataset.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_dataset_extension.py b/gooddata-api-client/gooddata_api_client/model/declarative_dataset_extension.py index 509dd2955..5a86e11c4 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_dataset_extension.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_dataset_extension.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_dataset_sql.py b/gooddata-api-client/gooddata_api_client/model/declarative_dataset_sql.py index b4085d467..1bd044b9a 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_dataset_sql.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_dataset_sql.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_date_dataset.py b/gooddata-api-client/gooddata_api_client/model/declarative_date_dataset.py index 7eb748b5e..806e98295 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_date_dataset.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_date_dataset.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_export_definition.py b/gooddata-api-client/gooddata_api_client/model/declarative_export_definition.py index 4a69b7a09..59293e458 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_export_definition.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_export_definition.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_export_definition_identifier.py b/gooddata-api-client/gooddata_api_client/model/declarative_export_definition_identifier.py index d6af4d8cc..b3c35b04d 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_export_definition_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_export_definition_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_export_definition_request_payload.py b/gooddata-api-client/gooddata_api_client/model/declarative_export_definition_request_payload.py index 9fb69bc0a..e6e14a60d 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_export_definition_request_payload.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_export_definition_request_payload.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_export_template.py b/gooddata-api-client/gooddata_api_client/model/declarative_export_template.py index 60e91bbe9..ca86862c3 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_export_template.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_export_template.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_export_templates.py b/gooddata-api-client/gooddata_api_client/model/declarative_export_templates.py index db3e3d55d..5d6aa4eaf 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_export_templates.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_export_templates.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_fact.py b/gooddata-api-client/gooddata_api_client/model/declarative_fact.py index 14f059876..bab9440ee 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_fact.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_fact.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -115,6 +115,8 @@ def openapi_types(): 'title': (str,), # noqa: E501 'description': (str,), # noqa: E501 'is_hidden': (bool,), # noqa: E501 + 'is_nullable': (bool,), # noqa: E501 + 'null_value': (str,), # noqa: E501 'source_column_data_type': (str,), # noqa: E501 'tags': ([str],), # noqa: E501 } @@ -130,6 +132,8 @@ def discriminator(): 'title': 'title', # noqa: E501 'description': 'description', # noqa: E501 'is_hidden': 'isHidden', # noqa: E501 + 'is_nullable': 'isNullable', # noqa: E501 + 'null_value': 'nullValue', # noqa: E501 'source_column_data_type': 'sourceColumnDataType', # noqa: E501 'tags': 'tags', # noqa: E501 } @@ -182,6 +186,8 @@ def _from_openapi_data(cls, id, source_column, title, *args, **kwargs): # noqa: _visited_composed_classes = (Animal,) description (str): Fact description.. [optional] # noqa: E501 is_hidden (bool): If true, this fact is hidden from AI search results.. [optional] # noqa: E501 + is_nullable (bool): Flag indicating whether the associated source column allows null values.. [optional] # noqa: E501 + null_value (str): Value used in coalesce during joins instead of null.. [optional] # noqa: E501 source_column_data_type (str): A type of the source column. [optional] # noqa: E501 tags ([str]): A list of tags.. [optional] # noqa: E501 """ @@ -279,6 +285,8 @@ def __init__(self, id, source_column, title, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) description (str): Fact description.. [optional] # noqa: E501 is_hidden (bool): If true, this fact is hidden from AI search results.. [optional] # noqa: E501 + is_nullable (bool): Flag indicating whether the associated source column allows null values.. [optional] # noqa: E501 + null_value (str): Value used in coalesce during joins instead of null.. [optional] # noqa: E501 source_column_data_type (str): A type of the source column. [optional] # noqa: E501 tags ([str]): A list of tags.. [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_filter_context.py b/gooddata-api-client/gooddata_api_client/model/declarative_filter_context.py index 9a8844861..8db22b169 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_filter_context.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_filter_context.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_filter_view.py b/gooddata-api-client/gooddata_api_client/model/declarative_filter_view.py index c302b8a48..084f21f92 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_filter_view.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_filter_view.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_identity_provider.py b/gooddata-api-client/gooddata_api_client/model/declarative_identity_provider.py index b178be39f..efaa97026 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_identity_provider.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_identity_provider.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_identity_provider_identifier.py b/gooddata-api-client/gooddata_api_client/model/declarative_identity_provider_identifier.py index 65a3e31ac..fb5d80108 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_identity_provider_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_identity_provider_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_jwk.py b/gooddata-api-client/gooddata_api_client/model/declarative_jwk.py index 5b6ed8182..f78b67b14 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_jwk.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_jwk.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_jwk_specification.py b/gooddata-api-client/gooddata_api_client/model/declarative_jwk_specification.py index 3b95a1962..6efeb9018 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_jwk_specification.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_jwk_specification.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_label.py b/gooddata-api-client/gooddata_api_client/model/declarative_label.py index 76b15f10d..8c680e4e1 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_label.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_label.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -133,7 +133,9 @@ def openapi_types(): 'description': (str,), # noqa: E501 'geo_area_config': (GeoAreaConfig,), # noqa: E501 'is_hidden': (bool,), # noqa: E501 + 'is_nullable': (bool,), # noqa: E501 'locale': (str,), # noqa: E501 + 'null_value': (str,), # noqa: E501 'source_column_data_type': (str,), # noqa: E501 'tags': ([str],), # noqa: E501 'translations': ([DeclarativeLabelTranslation],), # noqa: E501 @@ -152,7 +154,9 @@ def discriminator(): 'description': 'description', # noqa: E501 'geo_area_config': 'geoAreaConfig', # noqa: E501 'is_hidden': 'isHidden', # noqa: E501 + 'is_nullable': 'isNullable', # noqa: E501 'locale': 'locale', # noqa: E501 + 'null_value': 'nullValue', # noqa: E501 'source_column_data_type': 'sourceColumnDataType', # noqa: E501 'tags': 'tags', # noqa: E501 'translations': 'translations', # noqa: E501 @@ -208,7 +212,9 @@ def _from_openapi_data(cls, id, source_column, title, *args, **kwargs): # noqa: description (str): Label description.. [optional] # noqa: E501 geo_area_config (GeoAreaConfig): [optional] # noqa: E501 is_hidden (bool): Determines if the label is hidden from AI features.. [optional] # noqa: E501 + is_nullable (bool): Flag indicating whether the associated source column allows null values.. [optional] # noqa: E501 locale (str): Default label locale.. [optional] # noqa: E501 + null_value (str): Value used in coalesce during joins instead of null.. [optional] # noqa: E501 source_column_data_type (str): A type of the source column. [optional] # noqa: E501 tags ([str]): A list of tags.. [optional] # noqa: E501 translations ([DeclarativeLabelTranslation]): Other translations.. [optional] # noqa: E501 @@ -309,7 +315,9 @@ def __init__(self, id, source_column, title, *args, **kwargs): # noqa: E501 description (str): Label description.. [optional] # noqa: E501 geo_area_config (GeoAreaConfig): [optional] # noqa: E501 is_hidden (bool): Determines if the label is hidden from AI features.. [optional] # noqa: E501 + is_nullable (bool): Flag indicating whether the associated source column allows null values.. [optional] # noqa: E501 locale (str): Default label locale.. [optional] # noqa: E501 + null_value (str): Value used in coalesce during joins instead of null.. [optional] # noqa: E501 source_column_data_type (str): A type of the source column. [optional] # noqa: E501 tags ([str]): A list of tags.. [optional] # noqa: E501 translations ([DeclarativeLabelTranslation]): Other translations.. [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_label_translation.py b/gooddata-api-client/gooddata_api_client/model/declarative_label_translation.py index 30ebf1da0..c07c49dc4 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_label_translation.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_label_translation.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_ldm.py b/gooddata-api-client/gooddata_api_client/model/declarative_ldm.py index 50a8d6fc9..a84532c6d 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_ldm.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_ldm.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_metric.py b/gooddata-api-client/gooddata_api_client/model/declarative_metric.py index 2b51a356e..dd74a92c1 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_metric.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_metric.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_model.py b/gooddata-api-client/gooddata_api_client/model/declarative_model.py index c5a1148bf..47242e67f 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_model.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_model.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_notification_channel.py b/gooddata-api-client/gooddata_api_client/model/declarative_notification_channel.py index bed7f24f4..3f4c1bb11 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_notification_channel.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_notification_channel.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_notification_channel_destination.py b/gooddata-api-client/gooddata_api_client/model/declarative_notification_channel_destination.py index 4718770e6..4001223c2 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_notification_channel_destination.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_notification_channel_destination.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -78,6 +78,9 @@ class DeclarativeNotificationChannelDestination(ModelComposed): } validations = { + ('secret_key',): { + 'max_length': 10000, + }, ('token',): { 'max_length': 10000, }, @@ -118,7 +121,9 @@ def openapi_types(): 'password': (str,), # noqa: E501 'port': (int,), # noqa: E501 'username': (str,), # noqa: E501 + 'has_secret_key': (bool, none_type,), # noqa: E501 'has_token': (bool, none_type,), # noqa: E501 + 'secret_key': (str, none_type,), # noqa: E501 'token': (str, none_type,), # noqa: E501 'url': (str,), # noqa: E501 'type': (str,), # noqa: E501 @@ -136,13 +141,16 @@ def discriminator(): 'password': 'password', # noqa: E501 'port': 'port', # noqa: E501 'username': 'username', # noqa: E501 + 'has_secret_key': 'hasSecretKey', # noqa: E501 'has_token': 'hasToken', # noqa: E501 + 'secret_key': 'secretKey', # noqa: E501 'token': 'token', # noqa: E501 'url': 'url', # noqa: E501 'type': 'type', # noqa: E501 } read_only_vars = { + 'has_secret_key', # noqa: E501 'has_token', # noqa: E501 } @@ -188,7 +196,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 password (str): The SMTP server password.. [optional] # noqa: E501 port (int): The SMTP server port.. [optional] # noqa: E501 username (str): The SMTP server username.. [optional] # noqa: E501 + has_secret_key (bool, none_type): Flag indicating if webhook has a hmac secret key.. [optional] # noqa: E501 has_token (bool, none_type): Flag indicating if webhook has a token.. [optional] # noqa: E501 + secret_key (str, none_type): Hmac secret key for the webhook signature.. [optional] # noqa: E501 token (str, none_type): Bearer token for the webhook.. [optional] # noqa: E501 url (str): The webhook URL.. [optional] # noqa: E501 type (str): The destination type.. [optional] if omitted the server will use the default value of "WEBHOOK" # noqa: E501 @@ -301,7 +311,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 password (str): The SMTP server password.. [optional] # noqa: E501 port (int): The SMTP server port.. [optional] # noqa: E501 username (str): The SMTP server username.. [optional] # noqa: E501 + has_secret_key (bool, none_type): Flag indicating if webhook has a hmac secret key.. [optional] # noqa: E501 has_token (bool, none_type): Flag indicating if webhook has a token.. [optional] # noqa: E501 + secret_key (str, none_type): Hmac secret key for the webhook signature.. [optional] # noqa: E501 token (str, none_type): Bearer token for the webhook.. [optional] # noqa: E501 url (str): The webhook URL.. [optional] # noqa: E501 type (str): The destination type.. [optional] if omitted the server will use the default value of "WEBHOOK" # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_notification_channel_identifier.py b/gooddata-api-client/gooddata_api_client/model/declarative_notification_channel_identifier.py index 3e50d5e47..1462da461 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_notification_channel_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_notification_channel_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_notification_channels.py b/gooddata-api-client/gooddata_api_client/model/declarative_notification_channels.py index 57b9bb499..8c0601f77 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_notification_channels.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_notification_channels.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_organization.py b/gooddata-api-client/gooddata_api_client/model/declarative_organization.py index 37c34fced..503cf1e77 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_organization.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_organization.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -31,6 +31,7 @@ def lazy_import(): + from gooddata_api_client.model.declarative_custom_geo_collection import DeclarativeCustomGeoCollection from gooddata_api_client.model.declarative_data_source import DeclarativeDataSource from gooddata_api_client.model.declarative_export_template import DeclarativeExportTemplate from gooddata_api_client.model.declarative_identity_provider import DeclarativeIdentityProvider @@ -41,6 +42,7 @@ def lazy_import(): from gooddata_api_client.model.declarative_user_group import DeclarativeUserGroup from gooddata_api_client.model.declarative_workspace import DeclarativeWorkspace from gooddata_api_client.model.declarative_workspace_data_filter import DeclarativeWorkspaceDataFilter + globals()['DeclarativeCustomGeoCollection'] = DeclarativeCustomGeoCollection globals()['DeclarativeDataSource'] = DeclarativeDataSource globals()['DeclarativeExportTemplate'] = DeclarativeExportTemplate globals()['DeclarativeIdentityProvider'] = DeclarativeIdentityProvider @@ -107,6 +109,7 @@ def openapi_types(): lazy_import() return { 'organization': (DeclarativeOrganizationInfo,), # noqa: E501 + 'custom_geo_collections': ([DeclarativeCustomGeoCollection],), # noqa: E501 'data_sources': ([DeclarativeDataSource],), # noqa: E501 'export_templates': ([DeclarativeExportTemplate],), # noqa: E501 'identity_providers': ([DeclarativeIdentityProvider],), # noqa: E501 @@ -125,6 +128,7 @@ def discriminator(): attribute_map = { 'organization': 'organization', # noqa: E501 + 'custom_geo_collections': 'customGeoCollections', # noqa: E501 'data_sources': 'dataSources', # noqa: E501 'export_templates': 'exportTemplates', # noqa: E501 'identity_providers': 'identityProviders', # noqa: E501 @@ -180,6 +184,7 @@ def _from_openapi_data(cls, organization, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + custom_geo_collections ([DeclarativeCustomGeoCollection]): [optional] # noqa: E501 data_sources ([DeclarativeDataSource]): [optional] # noqa: E501 export_templates ([DeclarativeExportTemplate]): [optional] # noqa: E501 identity_providers ([DeclarativeIdentityProvider]): [optional] # noqa: E501 @@ -278,6 +283,7 @@ def __init__(self, organization, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + custom_geo_collections ([DeclarativeCustomGeoCollection]): [optional] # noqa: E501 data_sources ([DeclarativeDataSource]): [optional] # noqa: E501 export_templates ([DeclarativeExportTemplate]): [optional] # noqa: E501 identity_providers ([DeclarativeIdentityProvider]): [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_organization_info.py b/gooddata-api-client/gooddata_api_client/model/declarative_organization_info.py index 112ddf827..245705016 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_organization_info.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_organization_info.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_organization_permission.py b/gooddata-api-client/gooddata_api_client/model/declarative_organization_permission.py index 568a424e1..6f9996449 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_organization_permission.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_organization_permission.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_reference.py b/gooddata-api-client/gooddata_api_client/model/declarative_reference.py index 33bdf1816..d129f0150 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_reference.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_reference.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_reference_source.py b/gooddata-api-client/gooddata_api_client/model/declarative_reference_source.py index 2fd84ee9a..fdaa6674e 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_reference_source.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_reference_source.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -106,6 +106,8 @@ def openapi_types(): 'column': (str,), # noqa: E501 'target': (GrainIdentifier,), # noqa: E501 'data_type': (str,), # noqa: E501 + 'is_nullable': (bool,), # noqa: E501 + 'null_value': (str,), # noqa: E501 } @cached_property @@ -117,6 +119,8 @@ def discriminator(): 'column': 'column', # noqa: E501 'target': 'target', # noqa: E501 'data_type': 'dataType', # noqa: E501 + 'is_nullable': 'isNullable', # noqa: E501 + 'null_value': 'nullValue', # noqa: E501 } read_only_vars = { @@ -165,6 +169,8 @@ def _from_openapi_data(cls, column, target, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) data_type (str): A type of the source column.. [optional] # noqa: E501 + is_nullable (bool): Flag indicating whether the associated source column allows null values.. [optional] # noqa: E501 + null_value (str): Value used in coalesce during joins instead of null.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -257,6 +263,8 @@ def __init__(self, column, target, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) data_type (str): A type of the source column.. [optional] # noqa: E501 + is_nullable (bool): Flag indicating whether the associated source column allows null values.. [optional] # noqa: E501 + null_value (str): Value used in coalesce during joins instead of null.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_rsa_specification.py b/gooddata-api-client/gooddata_api_client/model/declarative_rsa_specification.py index 3aa1beaee..92fd97aff 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_rsa_specification.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_rsa_specification.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_setting.py b/gooddata-api-client/gooddata_api_client/model/declarative_setting.py index 84229410c..3ff05486a 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_setting.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_setting.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -65,6 +65,7 @@ class DeclarativeSetting(ModelNormal): 'ACTIVE_THEME': "ACTIVE_THEME", 'ACTIVE_COLOR_PALETTE': "ACTIVE_COLOR_PALETTE", 'ACTIVE_LLM_ENDPOINT': "ACTIVE_LLM_ENDPOINT", + 'ACTIVE_CALENDARS': "ACTIVE_CALENDARS", 'WHITE_LABELING': "WHITE_LABELING", 'LOCALE': "LOCALE", 'METADATA_LOCALE': "METADATA_LOCALE", @@ -102,6 +103,8 @@ class DeclarativeSetting(ModelNormal): 'SORT_CASE_SENSITIVE': "SORT_CASE_SENSITIVE", 'METRIC_FORMAT_OVERRIDE': "METRIC_FORMAT_OVERRIDE", 'ENABLE_AI_ON_DATA': "ENABLE_AI_ON_DATA", + 'API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE': "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", + 'ENABLE_NULL_JOINS': "ENABLE_NULL_JOINS", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_single_workspace_permission.py b/gooddata-api-client/gooddata_api_client/model/declarative_single_workspace_permission.py index ac9f1cd2e..c9f527fcd 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_single_workspace_permission.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_single_workspace_permission.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_source_fact_reference.py b/gooddata-api-client/gooddata_api_client/model/declarative_source_fact_reference.py index b8725374d..3ba258411 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_source_fact_reference.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_source_fact_reference.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_table.py b/gooddata-api-client/gooddata_api_client/model/declarative_table.py index 20f8c9b14..8e2bb3df0 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_table.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_table.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_tables.py b/gooddata-api-client/gooddata_api_client/model/declarative_tables.py index 0fc248659..2df59039b 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_tables.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_tables.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_theme.py b/gooddata-api-client/gooddata_api_client/model/declarative_theme.py index 401ccdc77..f3fc99301 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_theme.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_theme.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user.py b/gooddata-api-client/gooddata_api_client/model/declarative_user.py index dc6725a1d..eaf4b0fea 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_user.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user_data_filter.py b/gooddata-api-client/gooddata_api_client/model/declarative_user_data_filter.py index 1eaff311f..8e8d739ba 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user_data_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_user_data_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user_data_filters.py b/gooddata-api-client/gooddata_api_client/model/declarative_user_data_filters.py index 92be98218..6d336cbfe 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user_data_filters.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_user_data_filters.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user_group.py b/gooddata-api-client/gooddata_api_client/model/declarative_user_group.py index a05685f44..af721034c 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user_group.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_user_group.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user_group_identifier.py b/gooddata-api-client/gooddata_api_client/model/declarative_user_group_identifier.py index 594690a2d..fc2f9ea6d 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user_group_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_user_group_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user_group_permission.py b/gooddata-api-client/gooddata_api_client/model/declarative_user_group_permission.py index c6469536e..cc3644b9c 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user_group_permission.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_user_group_permission.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user_group_permissions.py b/gooddata-api-client/gooddata_api_client/model/declarative_user_group_permissions.py index fc6a6fe24..3f7c8c0b4 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user_group_permissions.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_user_group_permissions.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user_groups.py b/gooddata-api-client/gooddata_api_client/model/declarative_user_groups.py index 9d04e1228..2217fbdb4 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user_groups.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_user_groups.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user_identifier.py b/gooddata-api-client/gooddata_api_client/model/declarative_user_identifier.py index 1c685d25a..24a051345 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_user_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user_permission.py b/gooddata-api-client/gooddata_api_client/model/declarative_user_permission.py index d7c5b659c..f77443b4d 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user_permission.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_user_permission.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user_permissions.py b/gooddata-api-client/gooddata_api_client/model/declarative_user_permissions.py index 5d1662d56..a929f01f5 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user_permissions.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_user_permissions.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_users.py b/gooddata-api-client/gooddata_api_client/model/declarative_users.py index fe5ec8ef0..80daf502f 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_users.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_users.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_users_user_groups.py b/gooddata-api-client/gooddata_api_client/model/declarative_users_user_groups.py index f16386139..04147806e 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_users_user_groups.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_users_user_groups.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_visualization_object.py b/gooddata-api-client/gooddata_api_client/model/declarative_visualization_object.py index bf0537806..221144c2a 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_visualization_object.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_visualization_object.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_workspace.py b/gooddata-api-client/gooddata_api_client/model/declarative_workspace.py index 00c85223c..34e6672fd 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_workspace.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_workspace.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter.py b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter.py index e28f7ff95..08f016b73 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter_column.py b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter_column.py index 6aa74d499..d8cd2c374 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter_column.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter_column.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter_references.py b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter_references.py index f22ca35f0..ce91bc1df 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter_references.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter_references.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter_setting.py b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter_setting.py index b4a1387fa..a5f951c23 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter_setting.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter_setting.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filters.py b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filters.py index 99afe6f28..9b20fbfcf 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filters.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filters.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_hierarchy_permission.py b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_hierarchy_permission.py index 854309a92..3650a5881 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_hierarchy_permission.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_hierarchy_permission.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_model.py b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_model.py index 4a4fba810..7ff3c6cfd 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_model.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_model.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_permissions.py b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_permissions.py index b3da80166..5a8145639 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_permissions.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_permissions.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_workspaces.py b/gooddata-api-client/gooddata_api_client/model/declarative_workspaces.py index 2a01d2234..d6c0ef1c3 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_workspaces.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_workspaces.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/default_smtp.py b/gooddata-api-client/gooddata_api_client/model/default_smtp.py index 5d14c64aa..71714a926 100644 --- a/gooddata-api-client/gooddata_api_client/model/default_smtp.py +++ b/gooddata-api-client/gooddata_api_client/model/default_smtp.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/default_smtp_all_of.py b/gooddata-api-client/gooddata_api_client/model/default_smtp_all_of.py index a9f19a906..f72952220 100644 --- a/gooddata-api-client/gooddata_api_client/model/default_smtp_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/default_smtp_all_of.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/delete_files_request.py b/gooddata-api-client/gooddata_api_client/model/delete_files_request.py new file mode 100644 index 000000000..23de5567b --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/delete_files_request.py @@ -0,0 +1,270 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class DeleteFilesRequest(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'file_names': ([str],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'file_names': 'fileNames', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, file_names, *args, **kwargs): # noqa: E501 + """DeleteFilesRequest - a model defined in OpenAPI + + Args: + file_names ([str]): Names of the files to delete. + + 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.file_names = file_names + 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, file_names, *args, **kwargs): # noqa: E501 + """DeleteFilesRequest - a model defined in OpenAPI + + Args: + file_names ([str]): Names of the files to delete. + + 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.file_names = file_names + 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_graph.py b/gooddata-api-client/gooddata_api_client/model/dependent_entities_graph.py index 8041b1c31..c4c30dca5 100644 --- a/gooddata-api-client/gooddata_api_client/model/dependent_entities_graph.py +++ b/gooddata-api-client/gooddata_api_client/model/dependent_entities_graph.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ 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 eb821c36c..b1e26c476 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 @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -57,7 +57,6 @@ class DependentEntitiesNode(ModelNormal): allowed_values = { ('type',): { - 'AGGREGATEDFACT': "aggregatedFact", 'ANALYTICALDASHBOARD': "analyticalDashboard", 'ATTRIBUTE': "attribute", 'ATTRIBUTEHIERARCHY': "attributeHierarchy", @@ -69,6 +68,7 @@ class DependentEntitiesNode(ModelNormal): 'USERDATAFILTER': "userDataFilter", 'AUTOMATION': "automation", 'MEMORYITEM': "memoryItem", + 'KNOWLEDGERECOMMENDATION': "knowledgeRecommendation", 'VISUALIZATIONOBJECT': "visualizationObject", 'FILTERCONTEXT': "filterContext", 'FILTERVIEW': "filterView", @@ -101,8 +101,7 @@ def openapi_types(): return { 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 - # title can be None for some entity types like aggregatedFact - 'title': (str, none_type,), # noqa: E501 + 'title': (str,), # noqa: E501 } @cached_property diff --git a/gooddata-api-client/gooddata_api_client/model/dependent_entities_request.py b/gooddata-api-client/gooddata_api_client/model/dependent_entities_request.py index 38c1583db..66c13191e 100644 --- a/gooddata-api-client/gooddata_api_client/model/dependent_entities_request.py +++ b/gooddata-api-client/gooddata_api_client/model/dependent_entities_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/dependent_entities_response.py b/gooddata-api-client/gooddata_api_client/model/dependent_entities_response.py index 66ab425bd..bde1866f8 100644 --- a/gooddata-api-client/gooddata_api_client/model/dependent_entities_response.py +++ b/gooddata-api-client/gooddata_api_client/model/dependent_entities_response.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/depends_on.py b/gooddata-api-client/gooddata_api_client/model/depends_on.py index 594528e43..f346cda55 100644 --- a/gooddata-api-client/gooddata_api_client/model/depends_on.py +++ b/gooddata-api-client/gooddata_api_client/model/depends_on.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/depends_on_all_of.py b/gooddata-api-client/gooddata_api_client/model/depends_on_all_of.py index 664601750..3b2522036 100644 --- a/gooddata-api-client/gooddata_api_client/model/depends_on_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/depends_on_all_of.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/depends_on_date_filter.py b/gooddata-api-client/gooddata_api_client/model/depends_on_date_filter.py index 0737c5677..231dff8c2 100644 --- a/gooddata-api-client/gooddata_api_client/model/depends_on_date_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/depends_on_date_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/depends_on_date_filter_all_of.py b/gooddata-api-client/gooddata_api_client/model/depends_on_date_filter_all_of.py index 32dc5dc2d..3bd33707e 100644 --- a/gooddata-api-client/gooddata_api_client/model/depends_on_date_filter_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/depends_on_date_filter_all_of.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/depends_on_item.py b/gooddata-api-client/gooddata_api_client/model/depends_on_item.py index 30029a608..c5e628a48 100644 --- a/gooddata-api-client/gooddata_api_client/model/depends_on_item.py +++ b/gooddata-api-client/gooddata_api_client/model/depends_on_item.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/dim_attribute.py b/gooddata-api-client/gooddata_api_client/model/dim_attribute.py index f64d90fa1..e85734ac0 100644 --- a/gooddata-api-client/gooddata_api_client/model/dim_attribute.py +++ b/gooddata-api-client/gooddata_api_client/model/dim_attribute.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/dimension.py b/gooddata-api-client/gooddata_api_client/model/dimension.py index e5d7dde9a..ecfa9b6d9 100644 --- a/gooddata-api-client/gooddata_api_client/model/dimension.py +++ b/gooddata-api-client/gooddata_api_client/model/dimension.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/dimension_header.py b/gooddata-api-client/gooddata_api_client/model/dimension_header.py index 03ff40577..15bab1d2d 100644 --- a/gooddata-api-client/gooddata_api_client/model/dimension_header.py +++ b/gooddata-api-client/gooddata_api_client/model/dimension_header.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/element.py b/gooddata-api-client/gooddata_api_client/model/element.py index 89e8bd892..cf96f0675 100644 --- a/gooddata-api-client/gooddata_api_client/model/element.py +++ b/gooddata-api-client/gooddata_api_client/model/element.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ 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 23ce93f91..150a44c17 100644 --- a/gooddata-api-client/gooddata_api_client/model/elements_request.py +++ b/gooddata-api-client/gooddata_api_client/model/elements_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/elements_request_depends_on_inner.py b/gooddata-api-client/gooddata_api_client/model/elements_request_depends_on_inner.py index cf1bc2822..1a6d4e194 100644 --- a/gooddata-api-client/gooddata_api_client/model/elements_request_depends_on_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/elements_request_depends_on_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/elements_response.py b/gooddata-api-client/gooddata_api_client/model/elements_response.py index 02466b7c3..30a7ad7b2 100644 --- a/gooddata-api-client/gooddata_api_client/model/elements_response.py +++ b/gooddata-api-client/gooddata_api_client/model/elements_response.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/entitlements_request.py b/gooddata-api-client/gooddata_api_client/model/entitlements_request.py index 8162cf2a4..1d140b149 100644 --- a/gooddata-api-client/gooddata_api_client/model/entitlements_request.py +++ b/gooddata-api-client/gooddata_api_client/model/entitlements_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ 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 974de0a2e..6f3405b65 100644 --- a/gooddata-api-client/gooddata_api_client/model/entity_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/entity_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -57,7 +57,6 @@ class EntityIdentifier(ModelNormal): allowed_values = { ('type',): { - 'AGGREGATEDFACT': "aggregatedFact", 'ANALYTICALDASHBOARD': "analyticalDashboard", 'ATTRIBUTE': "attribute", 'ATTRIBUTEHIERARCHY': "attributeHierarchy", @@ -68,6 +67,7 @@ class EntityIdentifier(ModelNormal): 'METRIC': "metric", 'USERDATAFILTER': "userDataFilter", 'AUTOMATION': "automation", + 'KNOWLEDGERECOMMENDATION': "knowledgeRecommendation", 'VISUALIZATIONOBJECT': "visualizationObject", 'FILTERCONTEXT': "filterContext", 'FILTERVIEW': "filterView", diff --git a/gooddata-api-client/gooddata_api_client/model/entity_search_body.py b/gooddata-api-client/gooddata_api_client/model/entity_search_body.py index 412c8407f..1c730d09a 100644 --- a/gooddata-api-client/gooddata_api_client/model/entity_search_body.py +++ b/gooddata-api-client/gooddata_api_client/model/entity_search_body.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/entity_search_page.py b/gooddata-api-client/gooddata_api_client/model/entity_search_page.py index ce4e6715c..06fdc8426 100644 --- a/gooddata-api-client/gooddata_api_client/model/entity_search_page.py +++ b/gooddata-api-client/gooddata_api_client/model/entity_search_page.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/entity_search_sort.py b/gooddata-api-client/gooddata_api_client/model/entity_search_sort.py index 892e1ee89..6ecc48b49 100644 --- a/gooddata-api-client/gooddata_api_client/model/entity_search_sort.py +++ b/gooddata-api-client/gooddata_api_client/model/entity_search_sort.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/execution_links.py b/gooddata-api-client/gooddata_api_client/model/execution_links.py index 7eeeed7e1..c5364bc51 100644 --- a/gooddata-api-client/gooddata_api_client/model/execution_links.py +++ b/gooddata-api-client/gooddata_api_client/model/execution_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/execution_response.py b/gooddata-api-client/gooddata_api_client/model/execution_response.py index 15bda8582..5171e66d8 100644 --- a/gooddata-api-client/gooddata_api_client/model/execution_response.py +++ b/gooddata-api-client/gooddata_api_client/model/execution_response.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/execution_result.py b/gooddata-api-client/gooddata_api_client/model/execution_result.py index ebe9f1a59..76c3fe123 100644 --- a/gooddata-api-client/gooddata_api_client/model/execution_result.py +++ b/gooddata-api-client/gooddata_api_client/model/execution_result.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/execution_result_data_source_message.py b/gooddata-api-client/gooddata_api_client/model/execution_result_data_source_message.py index 5e1f08885..a58228fbd 100644 --- a/gooddata-api-client/gooddata_api_client/model/execution_result_data_source_message.py +++ b/gooddata-api-client/gooddata_api_client/model/execution_result_data_source_message.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/execution_result_grand_total.py b/gooddata-api-client/gooddata_api_client/model/execution_result_grand_total.py index ce34b8774..dbb56ff6e 100644 --- a/gooddata-api-client/gooddata_api_client/model/execution_result_grand_total.py +++ b/gooddata-api-client/gooddata_api_client/model/execution_result_grand_total.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/execution_result_header.py b/gooddata-api-client/gooddata_api_client/model/execution_result_header.py index 373cd6172..5d392fb73 100644 --- a/gooddata-api-client/gooddata_api_client/model/execution_result_header.py +++ b/gooddata-api-client/gooddata_api_client/model/execution_result_header.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/execution_result_metadata.py b/gooddata-api-client/gooddata_api_client/model/execution_result_metadata.py index 92c672510..76428cf78 100644 --- a/gooddata-api-client/gooddata_api_client/model/execution_result_metadata.py +++ b/gooddata-api-client/gooddata_api_client/model/execution_result_metadata.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/execution_result_paging.py b/gooddata-api-client/gooddata_api_client/model/execution_result_paging.py index 37f278bdc..8a540856d 100644 --- a/gooddata-api-client/gooddata_api_client/model/execution_result_paging.py +++ b/gooddata-api-client/gooddata_api_client/model/execution_result_paging.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/execution_settings.py b/gooddata-api-client/gooddata_api_client/model/execution_settings.py index b7daddc02..940086898 100644 --- a/gooddata-api-client/gooddata_api_client/model/execution_settings.py +++ b/gooddata-api-client/gooddata_api_client/model/execution_settings.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/export_request.py b/gooddata-api-client/gooddata_api_client/model/export_request.py index e848d04fe..613a82a4a 100644 --- a/gooddata-api-client/gooddata_api_client/model/export_request.py +++ b/gooddata-api-client/gooddata_api_client/model/export_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/export_response.py b/gooddata-api-client/gooddata_api_client/model/export_response.py index 039b6e224..60f122d4f 100644 --- a/gooddata-api-client/gooddata_api_client/model/export_response.py +++ b/gooddata-api-client/gooddata_api_client/model/export_response.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/export_result.py b/gooddata-api-client/gooddata_api_client/model/export_result.py index 288d51ca3..0b6546fa7 100644 --- a/gooddata-api-client/gooddata_api_client/model/export_result.py +++ b/gooddata-api-client/gooddata_api_client/model/export_result.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/fact_identifier.py b/gooddata-api-client/gooddata_api_client/model/fact_identifier.py index a8844d74a..8ac3cba74 100644 --- a/gooddata-api-client/gooddata_api_client/model/fact_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/fact_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/feature_flags_context.py b/gooddata-api-client/gooddata_api_client/model/feature_flags_context.py new file mode 100644 index 000000000..a910a2946 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/feature_flags_context.py @@ -0,0 +1,278 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class FeatureFlagsContext(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 = { + ('early_access_values',): { + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'early_access': (str,), # noqa: E501 + 'early_access_values': ([str],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'early_access': 'earlyAccess', # noqa: E501 + 'early_access_values': 'earlyAccessValues', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, early_access, early_access_values, *args, **kwargs): # noqa: E501 + """FeatureFlagsContext - a model defined in OpenAPI + + Args: + early_access (str): + early_access_values ([str]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _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.early_access = early_access + self.early_access_values = early_access_values + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, early_access, early_access_values, *args, **kwargs): # noqa: E501 + """FeatureFlagsContext - a model defined in OpenAPI + + Args: + early_access (str): + early_access_values ([str]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _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.early_access = early_access + self.early_access_values = early_access_values + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/features.py b/gooddata-api-client/gooddata_api_client/model/features.py new file mode 100644 index 000000000..2970cb2e1 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/features.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: 90a5773 + 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.feature_flags_context import FeatureFlagsContext + globals()['FeatureFlagsContext'] = FeatureFlagsContext + + +class Features(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 { + 'context': (FeatureFlagsContext,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'context': 'context', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, context, *args, **kwargs): # noqa: E501 + """Features - a model defined in OpenAPI + + Args: + context (FeatureFlagsContext): + + 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.context = context + 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, context, *args, **kwargs): # noqa: E501 + """Features - a model defined in OpenAPI + + Args: + context (FeatureFlagsContext): + + 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.context = context + 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/file.py b/gooddata-api-client/gooddata_api_client/model/file.py index 8e4aab148..b408bc70f 100644 --- a/gooddata-api-client/gooddata_api_client/model/file.py +++ b/gooddata-api-client/gooddata_api_client/model/file.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/filter.py b/gooddata-api-client/gooddata_api_client/model/filter.py index 160e2d9f3..8943bf98b 100644 --- a/gooddata-api-client/gooddata_api_client/model/filter.py +++ b/gooddata-api-client/gooddata_api_client/model/filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/filter_by.py b/gooddata-api-client/gooddata_api_client/model/filter_by.py index 8e483e4f1..33a36d61d 100644 --- a/gooddata-api-client/gooddata_api_client/model/filter_by.py +++ b/gooddata-api-client/gooddata_api_client/model/filter_by.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/filter_definition.py b/gooddata-api-client/gooddata_api_client/model/filter_definition.py index 94fce52c7..b5dcde369 100644 --- a/gooddata-api-client/gooddata_api_client/model/filter_definition.py +++ b/gooddata-api-client/gooddata_api_client/model/filter_definition.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -35,6 +35,8 @@ def lazy_import(): from gooddata_api_client.model.absolute_date_filter_absolute_date_filter import AbsoluteDateFilterAbsoluteDateFilter from gooddata_api_client.model.comparison_measure_value_filter import ComparisonMeasureValueFilter from gooddata_api_client.model.comparison_measure_value_filter_comparison_measure_value_filter import ComparisonMeasureValueFilterComparisonMeasureValueFilter + from gooddata_api_client.model.compound_measure_value_filter import CompoundMeasureValueFilter + from gooddata_api_client.model.compound_measure_value_filter_compound_measure_value_filter import CompoundMeasureValueFilterCompoundMeasureValueFilter from gooddata_api_client.model.inline_filter_definition import InlineFilterDefinition from gooddata_api_client.model.inline_filter_definition_inline import InlineFilterDefinitionInline from gooddata_api_client.model.negative_attribute_filter import NegativeAttributeFilter @@ -51,6 +53,8 @@ def lazy_import(): globals()['AbsoluteDateFilterAbsoluteDateFilter'] = AbsoluteDateFilterAbsoluteDateFilter globals()['ComparisonMeasureValueFilter'] = ComparisonMeasureValueFilter globals()['ComparisonMeasureValueFilterComparisonMeasureValueFilter'] = ComparisonMeasureValueFilterComparisonMeasureValueFilter + globals()['CompoundMeasureValueFilter'] = CompoundMeasureValueFilter + globals()['CompoundMeasureValueFilterCompoundMeasureValueFilter'] = CompoundMeasureValueFilterCompoundMeasureValueFilter globals()['InlineFilterDefinition'] = InlineFilterDefinition globals()['InlineFilterDefinitionInline'] = InlineFilterDefinitionInline globals()['NegativeAttributeFilter'] = NegativeAttributeFilter @@ -122,6 +126,7 @@ def openapi_types(): 'ranking_filter': (RankingFilterRankingFilter,), # noqa: E501 'comparison_measure_value_filter': (ComparisonMeasureValueFilterComparisonMeasureValueFilter,), # noqa: E501 'range_measure_value_filter': (RangeMeasureValueFilterRangeMeasureValueFilter,), # noqa: E501 + 'compound_measure_value_filter': (CompoundMeasureValueFilterCompoundMeasureValueFilter,), # noqa: E501 'absolute_date_filter': (AbsoluteDateFilterAbsoluteDateFilter,), # noqa: E501 'relative_date_filter': (RelativeDateFilterRelativeDateFilter,), # noqa: E501 'negative_attribute_filter': (NegativeAttributeFilterNegativeAttributeFilter,), # noqa: E501 @@ -138,6 +143,7 @@ def discriminator(): 'ranking_filter': 'rankingFilter', # noqa: E501 'comparison_measure_value_filter': 'comparisonMeasureValueFilter', # noqa: E501 'range_measure_value_filter': 'rangeMeasureValueFilter', # noqa: E501 + 'compound_measure_value_filter': 'compoundMeasureValueFilter', # noqa: E501 'absolute_date_filter': 'absoluteDateFilter', # noqa: E501 'relative_date_filter': 'relativeDateFilter', # noqa: E501 'negative_attribute_filter': 'negativeAttributeFilter', # noqa: E501 @@ -187,6 +193,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 ranking_filter (RankingFilterRankingFilter): [optional] # noqa: E501 comparison_measure_value_filter (ComparisonMeasureValueFilterComparisonMeasureValueFilter): [optional] # noqa: E501 range_measure_value_filter (RangeMeasureValueFilterRangeMeasureValueFilter): [optional] # noqa: E501 + compound_measure_value_filter (CompoundMeasureValueFilterCompoundMeasureValueFilter): [optional] # noqa: E501 absolute_date_filter (AbsoluteDateFilterAbsoluteDateFilter): [optional] # noqa: E501 relative_date_filter (RelativeDateFilterRelativeDateFilter): [optional] # noqa: E501 negative_attribute_filter (NegativeAttributeFilterNegativeAttributeFilter): [optional] # noqa: E501 @@ -298,6 +305,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 ranking_filter (RankingFilterRankingFilter): [optional] # noqa: E501 comparison_measure_value_filter (ComparisonMeasureValueFilterComparisonMeasureValueFilter): [optional] # noqa: E501 range_measure_value_filter (RangeMeasureValueFilterRangeMeasureValueFilter): [optional] # noqa: E501 + compound_measure_value_filter (CompoundMeasureValueFilterCompoundMeasureValueFilter): [optional] # noqa: E501 absolute_date_filter (AbsoluteDateFilterAbsoluteDateFilter): [optional] # noqa: E501 relative_date_filter (RelativeDateFilterRelativeDateFilter): [optional] # noqa: E501 negative_attribute_filter (NegativeAttributeFilterNegativeAttributeFilter): [optional] # noqa: E501 @@ -375,6 +383,7 @@ def _composed_schemas(): 'oneOf': [ AbsoluteDateFilter, ComparisonMeasureValueFilter, + CompoundMeasureValueFilter, InlineFilterDefinition, NegativeAttributeFilter, PositiveAttributeFilter, diff --git a/gooddata-api-client/gooddata_api_client/model/filter_definition_for_simple_measure.py b/gooddata-api-client/gooddata_api_client/model/filter_definition_for_simple_measure.py index 14bd2464a..79cfca86b 100644 --- a/gooddata-api-client/gooddata_api_client/model/filter_definition_for_simple_measure.py +++ b/gooddata-api-client/gooddata_api_client/model/filter_definition_for_simple_measure.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ 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 24e847cca..41d1d433e 100644 --- a/gooddata-api-client/gooddata_api_client/model/forecast_request.py +++ b/gooddata-api-client/gooddata_api_client/model/forecast_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/forecast_result.py b/gooddata-api-client/gooddata_api_client/model/forecast_result.py index 60cd6a506..2587d8af7 100644 --- a/gooddata-api-client/gooddata_api_client/model/forecast_result.py +++ b/gooddata-api-client/gooddata_api_client/model/forecast_result.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/found_objects.py b/gooddata-api-client/gooddata_api_client/model/found_objects.py index 9558ede33..219f8cf79 100644 --- a/gooddata-api-client/gooddata_api_client/model/found_objects.py +++ b/gooddata-api-client/gooddata_api_client/model/found_objects.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -114,7 +114,7 @@ def _from_openapi_data(cls, objects, reasoning, *args, **kwargs): # noqa: E501 Args: objects ([SearchResultObject]): List of objects found with a similarity search. - reasoning (str): Reasoning from LLM. Description of how and why the answer was generated. + reasoning (str): DEPRECATED: Use top-level reasoning.steps instead. Reasoning from LLM. Description of how and why the answer was generated. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -205,7 +205,7 @@ def __init__(self, objects, reasoning, *args, **kwargs): # noqa: E501 Args: objects ([SearchResultObject]): List of objects found with a similarity search. - reasoning (str): Reasoning from LLM. Description of how and why the answer was generated. + reasoning (str): DEPRECATED: Use top-level reasoning.steps instead. Reasoning from LLM. Description of how and why the answer was generated. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/gooddata-api-client/gooddata_api_client/model/frequency.py b/gooddata-api-client/gooddata_api_client/model/frequency.py index 5a39e7efe..4a152ba29 100644 --- a/gooddata-api-client/gooddata_api_client/model/frequency.py +++ b/gooddata-api-client/gooddata_api_client/model/frequency.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/frequency_bucket.py b/gooddata-api-client/gooddata_api_client/model/frequency_bucket.py index 6eaa50a59..bcd8a1251 100644 --- a/gooddata-api-client/gooddata_api_client/model/frequency_bucket.py +++ b/gooddata-api-client/gooddata_api_client/model/frequency_bucket.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/frequency_properties.py b/gooddata-api-client/gooddata_api_client/model/frequency_properties.py index af4c946d9..cc75778b9 100644 --- a/gooddata-api-client/gooddata_api_client/model/frequency_properties.py +++ b/gooddata-api-client/gooddata_api_client/model/frequency_properties.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/gd_storage_file.py b/gooddata-api-client/gooddata_api_client/model/gd_storage_file.py new file mode 100644 index 000000000..35509d600 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/gd_storage_file.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: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class GdStorageFile(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 = { + ('type',): { + 'CSV': "CSV", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'modified_at': (datetime,), # noqa: E501 + 'name': (str,), # noqa: E501 + 'size': (int,), # noqa: E501 + 'type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'modified_at': 'modifiedAt', # noqa: E501 + 'name': 'name', # noqa: E501 + 'size': 'size', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, modified_at, name, size, *args, **kwargs): # noqa: E501 + """GdStorageFile - a model defined in OpenAPI + + Args: + modified_at (datetime): Last modification timestamp of the file. + name (str): Name of the file. + size (int): Size of the file in bytes. + + Keyword Args: + type (str): Type of the file.. defaults to "CSV", must be one of ["CSV", ] # noqa: E501 + _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,) + """ + + type = kwargs.get('type', "CSV") + _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.modified_at = modified_at + self.name = name + self.size = size + self.type = type + 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, modified_at, name, size, *args, **kwargs): # noqa: E501 + """GdStorageFile - a model defined in OpenAPI + + Args: + modified_at (datetime): Last modification timestamp of the file. + name (str): Name of the file. + size (int): Size of the file in bytes. + + Keyword Args: + type (str): Type of the file.. defaults to "CSV", must be one of ["CSV", ] # noqa: E501 + _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,) + """ + + type = kwargs.get('type', "CSV") + _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.modified_at = modified_at + self.name = name + self.size = size + self.type = type + 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/generate_ldm_request.py b/gooddata-api-client/gooddata_api_client/model/generate_ldm_request.py index 4bb5f774f..87ff5e436 100644 --- a/gooddata-api-client/gooddata_api_client/model/generate_ldm_request.py +++ b/gooddata-api-client/gooddata_api_client/model/generate_ldm_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/geo_area_config.py b/gooddata-api-client/gooddata_api_client/model/geo_area_config.py index 2f25d96b7..78b214188 100644 --- a/gooddata-api-client/gooddata_api_client/model/geo_area_config.py +++ b/gooddata-api-client/gooddata_api_client/model/geo_area_config.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -31,8 +31,8 @@ def lazy_import(): - from gooddata_api_client.model.geo_collection import GeoCollection - globals()['GeoCollection'] = GeoCollection + from gooddata_api_client.model.geo_collection_identifier import GeoCollectionIdentifier + globals()['GeoCollectionIdentifier'] = GeoCollectionIdentifier class GeoAreaConfig(ModelNormal): @@ -88,7 +88,7 @@ def openapi_types(): """ lazy_import() return { - 'collection': (GeoCollection,), # noqa: E501 + 'collection': (GeoCollectionIdentifier,), # noqa: E501 } @cached_property @@ -111,7 +111,7 @@ def _from_openapi_data(cls, collection, *args, **kwargs): # noqa: E501 """GeoAreaConfig - a model defined in OpenAPI Args: - collection (GeoCollection): + collection (GeoCollectionIdentifier): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -200,7 +200,7 @@ def __init__(self, collection, *args, **kwargs): # noqa: E501 """GeoAreaConfig - a model defined in OpenAPI Args: - collection (GeoCollection): + collection (GeoCollectionIdentifier): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/gooddata-api-client/gooddata_api_client/model/geo_collection_identifier.py b/gooddata-api-client/gooddata_api_client/model/geo_collection_identifier.py new file mode 100644 index 000000000..adb0c1b01 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/geo_collection_identifier.py @@ -0,0 +1,281 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class GeoCollectionIdentifier(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 = { + ('kind',): { + 'STATIC': "STATIC", + 'CUSTOM': "CUSTOM", + }, + } + + validations = { + ('id',): { + 'max_length': 255, + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'kind': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'kind': 'kind', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + """GeoCollectionIdentifier - a model defined in OpenAPI + + Args: + id (str): Geo collection identifier. + + 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,) + kind (str): Type of geo collection.. [optional] if omitted the server will use the default value of "STATIC" # 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.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, id, *args, **kwargs): # noqa: E501 + """GeoCollectionIdentifier - a model defined in OpenAPI + + Args: + id (str): Geo collection identifier. + + 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,) + kind (str): Type of geo collection.. [optional] if omitted the server will use the default value of "STATIC" # 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.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/geo_json_feature.py b/gooddata-api-client/gooddata_api_client/model/geo_json_feature.py new file mode 100644 index 000000000..187be362d --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/geo_json_feature.py @@ -0,0 +1,290 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.geo_json_geometry import GeoJsonGeometry + globals()['GeoJsonGeometry'] = GeoJsonGeometry + + +class GeoJsonFeature(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 { + 'properties': ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)},), # noqa: E501 + 'type': (str,), # noqa: E501 + 'geometry': (GeoJsonGeometry,), # noqa: E501 + 'id': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'properties': 'properties', # noqa: E501 + 'type': 'type', # noqa: E501 + 'geometry': 'geometry', # noqa: E501 + 'id': 'id', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, properties, type, *args, **kwargs): # noqa: E501 + """GeoJsonFeature - a model defined in OpenAPI + + Args: + properties ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): + type (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + geometry (GeoJsonGeometry): [optional] # noqa: E501 + id ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.properties = properties + self.type = type + 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, properties, type, *args, **kwargs): # noqa: E501 + """GeoJsonFeature - a model defined in OpenAPI + + Args: + properties ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): + type (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + geometry (GeoJsonGeometry): [optional] # noqa: E501 + id ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.properties = properties + self.type = type + 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/geo_json_feature_collection.py b/gooddata-api-client/gooddata_api_client/model/geo_json_feature_collection.py new file mode 100644 index 000000000..70a01da0c --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/geo_json_feature_collection.py @@ -0,0 +1,286 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.geo_json_feature import GeoJsonFeature + globals()['GeoJsonFeature'] = GeoJsonFeature + + +class GeoJsonFeatureCollection(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 { + 'features': ([GeoJsonFeature],), # noqa: E501 + 'type': (str,), # noqa: E501 + 'bbox': ([float],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'features': 'features', # noqa: E501 + 'type': 'type', # noqa: E501 + 'bbox': 'bbox', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, features, type, *args, **kwargs): # noqa: E501 + """GeoJsonFeatureCollection - a model defined in OpenAPI + + Args: + features ([GeoJsonFeature]): + type (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + bbox ([float]): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.features = features + self.type = type + 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, features, type, *args, **kwargs): # noqa: E501 + """GeoJsonFeatureCollection - a model defined in OpenAPI + + Args: + features ([GeoJsonFeature]): + type (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + bbox ([float]): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.features = features + self.type = type + 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/geo_json_geometry.py b/gooddata-api-client/gooddata_api_client/model/geo_json_geometry.py new file mode 100644 index 000000000..cb38bb163 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/geo_json_geometry.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: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class GeoJsonGeometry(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'coordinates': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 + 'type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'coordinates': 'coordinates', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, coordinates, type, *args, **kwargs): # noqa: E501 + """GeoJsonGeometry - a model defined in OpenAPI + + Args: + coordinates ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): + type (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.coordinates = coordinates + self.type = type + 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, coordinates, type, *args, **kwargs): # noqa: E501 + """GeoJsonGeometry - a model defined in OpenAPI + + Args: + coordinates ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): + type (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.coordinates = coordinates + self.type = type + 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/get_image_export202_response_inner.py b/gooddata-api-client/gooddata_api_client/model/get_image_export202_response_inner.py index b8471bc53..2bf8b6028 100644 --- a/gooddata-api-client/gooddata_api_client/model/get_image_export202_response_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/get_image_export202_response_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/get_quality_issues_response.py b/gooddata-api-client/gooddata_api_client/model/get_quality_issues_response.py index 289767e4c..eafabfb63 100644 --- a/gooddata-api-client/gooddata_api_client/model/get_quality_issues_response.py +++ b/gooddata-api-client/gooddata_api_client/model/get_quality_issues_response.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/grain_identifier.py b/gooddata-api-client/gooddata_api_client/model/grain_identifier.py index 0eb07c28f..11b0d4c9d 100644 --- a/gooddata-api-client/gooddata_api_client/model/grain_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/grain_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/granted_permission.py b/gooddata-api-client/gooddata_api_client/model/granted_permission.py index 21ce103d1..9d143c667 100644 --- a/gooddata-api-client/gooddata_api_client/model/granted_permission.py +++ b/gooddata-api-client/gooddata_api_client/model/granted_permission.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/granularities_formatting.py b/gooddata-api-client/gooddata_api_client/model/granularities_formatting.py index 9fb4bf1d3..c2fa92fe7 100644 --- a/gooddata-api-client/gooddata_api_client/model/granularities_formatting.py +++ b/gooddata-api-client/gooddata_api_client/model/granularities_formatting.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/header_group.py b/gooddata-api-client/gooddata_api_client/model/header_group.py index 891eff7df..902d1b6a8 100644 --- a/gooddata-api-client/gooddata_api_client/model/header_group.py +++ b/gooddata-api-client/gooddata_api_client/model/header_group.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/hierarchy_object_identification.py b/gooddata-api-client/gooddata_api_client/model/hierarchy_object_identification.py index ba5c1ee9f..81ce555ae 100644 --- a/gooddata-api-client/gooddata_api_client/model/hierarchy_object_identification.py +++ b/gooddata-api-client/gooddata_api_client/model/hierarchy_object_identification.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/histogram.py b/gooddata-api-client/gooddata_api_client/model/histogram.py index 54010101c..c2358c452 100644 --- a/gooddata-api-client/gooddata_api_client/model/histogram.py +++ b/gooddata-api-client/gooddata_api_client/model/histogram.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/histogram_bucket.py b/gooddata-api-client/gooddata_api_client/model/histogram_bucket.py index 623ab57bf..fd46956f3 100644 --- a/gooddata-api-client/gooddata_api_client/model/histogram_bucket.py +++ b/gooddata-api-client/gooddata_api_client/model/histogram_bucket.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/histogram_properties.py b/gooddata-api-client/gooddata_api_client/model/histogram_properties.py index 3d6e988dd..f81665191 100644 --- a/gooddata-api-client/gooddata_api_client/model/histogram_properties.py +++ b/gooddata-api-client/gooddata_api_client/model/histogram_properties.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/identifier_duplications.py b/gooddata-api-client/gooddata_api_client/model/identifier_duplications.py index 6c16a2fe8..5ee26ed62 100644 --- a/gooddata-api-client/gooddata_api_client/model/identifier_duplications.py +++ b/gooddata-api-client/gooddata_api_client/model/identifier_duplications.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/identifier_ref.py b/gooddata-api-client/gooddata_api_client/model/identifier_ref.py index 260650773..86a3f1217 100644 --- a/gooddata-api-client/gooddata_api_client/model/identifier_ref.py +++ b/gooddata-api-client/gooddata_api_client/model/identifier_ref.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/identifier_ref_identifier.py b/gooddata-api-client/gooddata_api_client/model/identifier_ref_identifier.py index a14e929df..543469804 100644 --- a/gooddata-api-client/gooddata_api_client/model/identifier_ref_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/identifier_ref_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -71,6 +71,7 @@ class IdentifierRefIdentifier(ModelNormal): 'AUTOMATION': "automation", 'AUTOMATIONRESULT': "automationResult", 'MEMORYITEM': "memoryItem", + 'KNOWLEDGERECOMMENDATION': "knowledgeRecommendation", 'PROMPT': "prompt", 'VISUALIZATIONOBJECT': "visualizationObject", 'FILTERCONTEXT': "filterContext", diff --git a/gooddata-api-client/gooddata_api_client/model/image_export_request.py b/gooddata-api-client/gooddata_api_client/model/image_export_request.py index 31b482ebd..72caf04aa 100644 --- a/gooddata-api-client/gooddata_api_client/model/image_export_request.py +++ b/gooddata-api-client/gooddata_api_client/model/image_export_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/import_csv_request.py b/gooddata-api-client/gooddata_api_client/model/import_csv_request.py new file mode 100644 index 000000000..a2952b19d --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/import_csv_request.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: 90a5773 + 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.import_csv_request_table import ImportCsvRequestTable + globals()['ImportCsvRequestTable'] = ImportCsvRequestTable + + +class ImportCsvRequest(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 { + 'tables': ([ImportCsvRequestTable],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'tables': 'tables', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, tables, *args, **kwargs): # noqa: E501 + """ImportCsvRequest - a model defined in OpenAPI + + Args: + tables ([ImportCsvRequestTable]): Information about the individual tables. + + 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.tables = tables + 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, tables, *args, **kwargs): # noqa: E501 + """ImportCsvRequest - a model defined in OpenAPI + + Args: + tables ([ImportCsvRequestTable]): Information about the individual tables. + + 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.tables = tables + 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/import_csv_request_table.py b/gooddata-api-client/gooddata_api_client/model/import_csv_request_table.py new file mode 100644 index 000000000..94b9d2d90 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/import_csv_request_table.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.import_csv_request_table_source import ImportCsvRequestTableSource + globals()['ImportCsvRequestTableSource'] = ImportCsvRequestTableSource + + +class ImportCsvRequestTable(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 { + 'name': (str,), # noqa: E501 + 'source': (ImportCsvRequestTableSource,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'name': 'name', # noqa: E501 + 'source': 'source', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, name, source, *args, **kwargs): # noqa: E501 + """ImportCsvRequestTable - a model defined in OpenAPI + + Args: + name (str): Name of the table. + source (ImportCsvRequestTableSource): + + 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.name = name + self.source = source + 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, name, source, *args, **kwargs): # noqa: E501 + """ImportCsvRequestTable - a model defined in OpenAPI + + Args: + name (str): Name of the table. + source (ImportCsvRequestTableSource): + + 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.name = name + self.source = source + 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/import_csv_request_table_source.py b/gooddata-api-client/gooddata_api_client/model/import_csv_request_table_source.py new file mode 100644 index 000000000..0a11df374 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/import_csv_request_table_source.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.import_csv_request_table_source_config import ImportCsvRequestTableSourceConfig + globals()['ImportCsvRequestTableSourceConfig'] = ImportCsvRequestTableSourceConfig + + +class ImportCsvRequestTableSource(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 { + 'config': (ImportCsvRequestTableSourceConfig,), # noqa: E501 + 'location': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'config': 'config', # noqa: E501 + 'location': 'location', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, config, location, *args, **kwargs): # noqa: E501 + """ImportCsvRequestTableSource - a model defined in OpenAPI + + Args: + config (ImportCsvRequestTableSourceConfig): + location (str): Location of the data in the staging area. + + 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.config = config + self.location = location + 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, config, location, *args, **kwargs): # noqa: E501 + """ImportCsvRequestTableSource - a model defined in OpenAPI + + Args: + config (ImportCsvRequestTableSourceConfig): + location (str): Location of the data in the staging area. + + 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.config = config + self.location = location + 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/import_csv_request_table_source_config.py b/gooddata-api-client/gooddata_api_client/model/import_csv_request_table_source_config.py new file mode 100644 index 000000000..0ae1b62f4 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/import_csv_request_table_source_config.py @@ -0,0 +1,286 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.csv_convert_options import CsvConvertOptions + from gooddata_api_client.model.csv_parse_options import CsvParseOptions + from gooddata_api_client.model.csv_read_options import CsvReadOptions + globals()['CsvConvertOptions'] = CsvConvertOptions + globals()['CsvParseOptions'] = CsvParseOptions + globals()['CsvReadOptions'] = CsvReadOptions + + +class ImportCsvRequestTableSourceConfig(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 { + 'column_date_formats': ({str: (str,)},), # noqa: E501 + 'convert_options': (CsvConvertOptions,), # noqa: E501 + 'parse_options': (CsvParseOptions,), # noqa: E501 + 'read_options': (CsvReadOptions,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'column_date_formats': 'columnDateFormats', # noqa: E501 + 'convert_options': 'convertOptions', # noqa: E501 + 'parse_options': 'parseOptions', # noqa: E501 + 'read_options': 'readOptions', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ImportCsvRequestTableSourceConfig - a model defined in OpenAPI + + 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,) + column_date_formats ({str: (str,)}): Date formats to use to use to read the given columns.. [optional] # noqa: E501 + convert_options (CsvConvertOptions): [optional] # noqa: E501 + parse_options (CsvParseOptions): [optional] # noqa: E501 + read_options (CsvReadOptions): [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__,) + + 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, *args, **kwargs): # noqa: E501 + """ImportCsvRequestTableSourceConfig - a model defined in OpenAPI + + 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,) + column_date_formats ({str: (str,)}): Date formats to use to use to read the given columns.. [optional] # noqa: E501 + convert_options (CsvConvertOptions): [optional] # noqa: E501 + parse_options (CsvParseOptions): [optional] # noqa: E501 + read_options (CsvReadOptions): [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__,) + + 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/import_csv_response.py b/gooddata-api-client/gooddata_api_client/model/import_csv_response.py new file mode 100644 index 000000000..3ed56ea11 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/import_csv_response.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: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class ImportCsvResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'name': (str,), # noqa: E501 + 'version': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'name': 'name', # noqa: E501 + 'version': 'version', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, name, version, *args, **kwargs): # noqa: E501 + """ImportCsvResponse - a model defined in OpenAPI + + Args: + name (str): Name of the table the file was imported to. + version (int): Version the file was imported as. + + 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.name = name + self.version = version + 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, name, version, *args, **kwargs): # noqa: E501 + """ImportCsvResponse - a model defined in OpenAPI + + Args: + name (str): Name of the table the file was imported to. + version (int): Version the file was imported as. + + 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.name = name + self.version = version + 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/import_geo_collection_request.py b/gooddata-api-client/gooddata_api_client/model/import_geo_collection_request.py new file mode 100644 index 000000000..8bf035c15 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/import_geo_collection_request.py @@ -0,0 +1,270 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class ImportGeoCollectionRequest(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'location': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'location': 'location', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, location, *args, **kwargs): # noqa: E501 + """ImportGeoCollectionRequest - a model defined in OpenAPI + + Args: + location (str): Location of the file in the staging area. + + 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.location = location + 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, location, *args, **kwargs): # noqa: E501 + """ImportGeoCollectionRequest - a model defined in OpenAPI + + Args: + location (str): Location of the file in the staging area. + + 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.location = location + 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/import_geo_collection_response.py b/gooddata-api-client/gooddata_api_client/model/import_geo_collection_response.py new file mode 100644 index 000000000..40b4b1ef8 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/import_geo_collection_response.py @@ -0,0 +1,270 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class ImportGeoCollectionResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'version': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'version': 'version', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, version, *args, **kwargs): # noqa: E501 + """ImportGeoCollectionResponse - a model defined in OpenAPI + + Args: + version (int): The version of the imported geo collection. + + 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.version = version + 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, version, *args, **kwargs): # noqa: E501 + """ImportGeoCollectionResponse - a model defined in OpenAPI + + Args: + version (int): The version of the imported geo collection. + + 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.version = version + 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/in_platform.py b/gooddata-api-client/gooddata_api_client/model/in_platform.py index 12b64632a..9cc7f983f 100644 --- a/gooddata-api-client/gooddata_api_client/model/in_platform.py +++ b/gooddata-api-client/gooddata_api_client/model/in_platform.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/in_platform_all_of.py b/gooddata-api-client/gooddata_api_client/model/in_platform_all_of.py index e2c0440d0..bfbff3bfe 100644 --- a/gooddata-api-client/gooddata_api_client/model/in_platform_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/in_platform_all_of.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/inline_filter_definition.py b/gooddata-api-client/gooddata_api_client/model/inline_filter_definition.py index f92d89144..4c0c4655c 100644 --- a/gooddata-api-client/gooddata_api_client/model/inline_filter_definition.py +++ b/gooddata-api-client/gooddata_api_client/model/inline_filter_definition.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/inline_filter_definition_inline.py b/gooddata-api-client/gooddata_api_client/model/inline_filter_definition_inline.py index e33ac3ecd..ba308ea10 100644 --- a/gooddata-api-client/gooddata_api_client/model/inline_filter_definition_inline.py +++ b/gooddata-api-client/gooddata_api_client/model/inline_filter_definition_inline.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/inline_measure_definition.py b/gooddata-api-client/gooddata_api_client/model/inline_measure_definition.py index 346224eb3..7a292bbe5 100644 --- a/gooddata-api-client/gooddata_api_client/model/inline_measure_definition.py +++ b/gooddata-api-client/gooddata_api_client/model/inline_measure_definition.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/inline_measure_definition_inline.py b/gooddata-api-client/gooddata_api_client/model/inline_measure_definition_inline.py index c7d2afe0b..186d530f0 100644 --- a/gooddata-api-client/gooddata_api_client/model/inline_measure_definition_inline.py +++ b/gooddata-api-client/gooddata_api_client/model/inline_measure_definition_inline.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/intro_slide_template.py b/gooddata-api-client/gooddata_api_client/model/intro_slide_template.py index aceb77df0..2377e38b2 100644 --- a/gooddata-api-client/gooddata_api_client/model/intro_slide_template.py +++ b/gooddata-api-client/gooddata_api_client/model/intro_slide_template.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/invitation.py b/gooddata-api-client/gooddata_api_client/model/invitation.py new file mode 100644 index 000000000..d5233bca5 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/invitation.py @@ -0,0 +1,288 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class Invitation(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'email': (str,), # noqa: E501 + 'user_id': (str,), # noqa: E501 + 'first_name': (str,), # noqa: E501 + 'force_send': (bool,), # noqa: E501 + 'last_name': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'email': 'email', # noqa: E501 + 'user_id': 'userId', # noqa: E501 + 'first_name': 'firstName', # noqa: E501 + 'force_send': 'forceSend', # noqa: E501 + 'last_name': 'lastName', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, email, user_id, *args, **kwargs): # noqa: E501 + """Invitation - a model defined in OpenAPI + + Args: + email (str): + user_id (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + first_name (str): [optional] # noqa: E501 + force_send (bool): Force resend invitation email even if a pending invitation exists. Maximum 3 emails can be sent per invitation (1 initial + 2 resends). [optional] # noqa: E501 + last_name (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.email = email + self.user_id = user_id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, email, user_id, *args, **kwargs): # noqa: E501 + """Invitation - a model defined in OpenAPI + + Args: + email (str): + user_id (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + first_name (str): [optional] # noqa: E501 + force_send (bool): Force resend invitation email even if a pending invitation exists. Maximum 3 emails can be sent per invitation (1 initial + 2 resends). [optional] # noqa: E501 + last_name (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.email = email + self.user_id = user_id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_linkage.py index 693e8113f..c137b96a5 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out.py index c9a185f62..2fda4e53b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_attributes.py index ef80f57fe..60f08e0f3 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -105,6 +105,8 @@ def openapi_types(): 'operation': (str,), # noqa: E501 'are_relations_valid': (bool,), # noqa: E501 'description': (str,), # noqa: E501 + 'is_nullable': (bool,), # noqa: E501 + 'null_value': (str,), # noqa: E501 'source_column': (str,), # noqa: E501 'source_column_data_type': (str,), # noqa: E501 'tags': ([str],), # noqa: E501 @@ -119,6 +121,8 @@ def discriminator(): 'operation': 'operation', # noqa: E501 'are_relations_valid': 'areRelationsValid', # noqa: E501 'description': 'description', # noqa: E501 + 'is_nullable': 'isNullable', # noqa: E501 + 'null_value': 'nullValue', # noqa: E501 'source_column': 'sourceColumn', # noqa: E501 'source_column_data_type': 'sourceColumnDataType', # noqa: E501 'tags': 'tags', # noqa: E501 @@ -170,6 +174,8 @@ def _from_openapi_data(cls, operation, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) are_relations_valid (bool): [optional] # noqa: E501 description (str): [optional] # noqa: E501 + is_nullable (bool): [optional] # noqa: E501 + null_value (str): [optional] # noqa: E501 source_column (str): [optional] # noqa: E501 source_column_data_type (str): [optional] # noqa: E501 tags ([str]): [optional] # noqa: E501 @@ -264,6 +270,8 @@ def __init__(self, operation, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) are_relations_valid (bool): [optional] # noqa: E501 description (str): [optional] # noqa: E501 + is_nullable (bool): [optional] # noqa: E501 + null_value (str): [optional] # noqa: E501 source_column (str): [optional] # noqa: E501 source_column_data_type (str): [optional] # noqa: E501 tags ([str]): [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_document.py index daf47528c..bf6823c1d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_includes.py b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_includes.py index c9c658084..15931c32f 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_includes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_includes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_list.py index 9dfadaf05..745ff199e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_list_meta.py b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_list_meta.py index 6f74f2387..4e3fa7fc7 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_list_meta.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_list_meta.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_meta.py b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_meta.py index 524425794..575f44c4e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_meta.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_meta.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_meta_origin.py b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_meta_origin.py index 4887ea135..de9cf91b2 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_meta_origin.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_meta_origin.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_relationships.py index c37ea2210..08087c512 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_relationships_dataset.py b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_relationships_dataset.py index 617110008..26fce860a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_relationships_dataset.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_relationships_dataset.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_relationships_source_fact.py b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_relationships_source_fact.py index a8550b303..fd806460a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_relationships_source_fact.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_relationships_source_fact.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_with_links.py index 542d78b25..5796d3064 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_to_many_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_to_many_linkage.py index feb0ba9f6..82c613555 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_to_many_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_to_many_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in.py index 8a9df76fb..bac2e73f9 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in_attributes.py index b0d84f7d1..611a597fc 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in_document.py index f94c9d907..6dbe376ba 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_linkage.py index 84c1ca59e..8ee7a7f68 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out.py index 96ea4a9e4..1edc1bf10 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_attributes.py index 4537fa979..a53cb6430 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_document.py index 014741396..fb3974532 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_includes.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_includes.py index 03416d2cf..65abf7ffe 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_includes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_includes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_list.py index 9f7131c31..2ba3761b5 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_meta.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_meta.py index 8755ce6ff..33a31775e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_meta.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_meta.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_meta_access_info.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_meta_access_info.py index 8824419a1..36d629595 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_meta_access_info.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_meta_access_info.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships.py index 46dd683d0..d254e70c4 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_analytical_dashboards.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_analytical_dashboards.py index 686141078..80b4acf4e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_analytical_dashboards.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_analytical_dashboards.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_created_by.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_created_by.py index 3eb449668..37c32b62d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_created_by.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_created_by.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_dashboard_plugins.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_dashboard_plugins.py index ac3fa75fc..70919f4ef 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_dashboard_plugins.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_dashboard_plugins.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_datasets.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_datasets.py index d546bf6f6..42a2090bd 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_datasets.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_datasets.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_filter_contexts.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_filter_contexts.py index e4dc845ff..7834c447e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_filter_contexts.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_filter_contexts.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_labels.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_labels.py index 3fada8563..df59c23fa 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_labels.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_labels.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_metrics.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_metrics.py index a1d8db63f..96472ae19 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_metrics.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_metrics.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_visualization_objects.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_visualization_objects.py index 0cabb38c5..fc7f7a851 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_visualization_objects.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_visualization_objects.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_with_links.py index edd0f6c99..04e162736 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch.py index c3e7a4cfc..684c5ee1b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch_attributes.py index f0c3b98aa..93d6905f9 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch_document.py index 3215cca9c..0ac018d6a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id.py index c441b4300..1553b49a4 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id_document.py index 43791191b..f11338293 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_to_many_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_to_many_linkage.py index 344903ff6..6299e1f71 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_to_many_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_to_many_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_to_one_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_to_one_linkage.py index 912d62756..58c04ae57 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_to_one_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_to_one_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_in.py index 44e2999a0..e793c5096 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_in_document.py index 2ac1ba6ed..438be9b0a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out.py index 66a2bf146..e3275c288 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_attributes.py index 047e9f7b4..dc0693787 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_document.py index f543fa778..2f3f7ffe7 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_list.py index ebca05551..698dc6d68 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_with_links.py index d29006ed5..baec050c4 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_in.py index eaf2fc855..88804f8ce 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_in_attributes.py index e1dff406f..a6c28b71d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_in_document.py index b29f67037..d6d80a533 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_linkage.py index d6149bd64..0150c556f 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out.py index c9555f846..928daabd3 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_attributes.py index 1123140ec..29b6497b2 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_document.py index 23cddaf93..764a42b12 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_includes.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_includes.py index e2d58bec9..eeac35ba5 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_includes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_includes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_list.py index 814890fb7..8df48a8c2 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_relationships.py index 098b15b1b..34cb407d7 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_relationships_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_relationships_attributes.py index f3b0a124b..49150e685 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_relationships_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_relationships_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_with_links.py index e7e4e0d2b..48ec0873a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_patch.py index 325e62205..d8ff24690 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_patch_document.py index c0c175889..b23926485 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_to_many_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_to_many_linkage.py index 7037b3f6e..2ec6656b6 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_to_many_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_hierarchy_to_many_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_linkage.py index c3adc5021..18825b8f7 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out.py index 47ab51f12..dc8420e1b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_attributes.py index 6be0bb830..ea15d9a10 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -132,7 +132,9 @@ def openapi_types(): 'description': (str,), # noqa: E501 'granularity': (str,), # noqa: E501 'is_hidden': (bool,), # noqa: E501 + 'is_nullable': (bool,), # noqa: E501 'locale': (str,), # noqa: E501 + 'null_value': (str,), # noqa: E501 'sort_column': (str,), # noqa: E501 'sort_direction': (str,), # noqa: E501 'source_column': (str,), # noqa: E501 @@ -151,7 +153,9 @@ def discriminator(): 'description': 'description', # noqa: E501 'granularity': 'granularity', # noqa: E501 'is_hidden': 'isHidden', # noqa: E501 + 'is_nullable': 'isNullable', # noqa: E501 'locale': 'locale', # noqa: E501 + 'null_value': 'nullValue', # noqa: E501 'sort_column': 'sortColumn', # noqa: E501 'sort_direction': 'sortDirection', # noqa: E501 'source_column': 'sourceColumn', # noqa: E501 @@ -205,7 +209,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 description (str): [optional] # noqa: E501 granularity (str): [optional] # noqa: E501 is_hidden (bool): [optional] # noqa: E501 + is_nullable (bool): [optional] # noqa: E501 locale (str): [optional] # noqa: E501 + null_value (str): [optional] # noqa: E501 sort_column (str): [optional] # noqa: E501 sort_direction (str): [optional] # noqa: E501 source_column (str): [optional] # noqa: E501 @@ -301,7 +307,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 description (str): [optional] # noqa: E501 granularity (str): [optional] # noqa: E501 is_hidden (bool): [optional] # noqa: E501 + is_nullable (bool): [optional] # noqa: E501 locale (str): [optional] # noqa: E501 + null_value (str): [optional] # noqa: E501 sort_column (str): [optional] # noqa: E501 sort_direction (str): [optional] # noqa: E501 source_column (str): [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_document.py index 4e1f8d66b..fbd996110 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_includes.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_includes.py index 6138fbe41..417d90288 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_includes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_includes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_list.py index 6879fd060..eeb1784f2 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_relationships.py index 131e9f92a..09fd49394 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_relationships_attribute_hierarchies.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_relationships_attribute_hierarchies.py index 83135fef3..73925c4fa 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_relationships_attribute_hierarchies.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_relationships_attribute_hierarchies.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_relationships_default_view.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_relationships_default_view.py index ffb6d551d..28c4b0cce 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_relationships_default_view.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_relationships_default_view.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_with_links.py index c4b232f26..e93aec3f5 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_patch.py index 352a6db9d..04c4958d6 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_patch_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_patch_attributes.py index b999c39ae..9f15edef8 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_patch_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_patch_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -89,7 +89,6 @@ def openapi_types(): """ return { 'description': (str,), # noqa: E501 - 'locale': (str,), # noqa: E501 'tags': ([str],), # noqa: E501 'title': (str,), # noqa: E501 } @@ -101,7 +100,6 @@ def discriminator(): attribute_map = { 'description': 'description', # noqa: E501 - 'locale': 'locale', # noqa: E501 'tags': 'tags', # noqa: E501 'title': 'title', # noqa: E501 } @@ -148,7 +146,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) description (str): [optional] # noqa: E501 - locale (str): [optional] # noqa: E501 tags ([str]): [optional] # noqa: E501 title (str): [optional] # noqa: E501 """ @@ -237,7 +234,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) description (str): [optional] # noqa: E501 - locale (str): [optional] # noqa: E501 tags ([str]): [optional] # noqa: E501 title (str): [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_patch_document.py index 6bf7e6b7b..b26893b50 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_patch_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_patch_relationships.py index f8a7e1012..61d719671 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_patch_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_patch_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_to_many_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_to_many_linkage.py index ff970997c..b0086e2ec 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_to_many_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_to_many_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_to_one_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_to_one_linkage.py index f17b256bc..93658a5cf 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_to_one_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_to_one_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in.py index 754e458af..42227f295 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes.py index 80923dc45..5429f1c17 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_alert.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_alert.py index 98df186e7..1176b6fe7 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_alert.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_alert.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_dashboard_tabular_exports_inner.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_dashboard_tabular_exports_inner.py index 0d8f4fc4e..b39a1c2f5 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_dashboard_tabular_exports_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_dashboard_tabular_exports_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_external_recipients_inner.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_external_recipients_inner.py index fa4530ad2..212417c69 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_external_recipients_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_external_recipients_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_image_exports_inner.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_image_exports_inner.py index 00b363f69..f14cf680d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_image_exports_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_image_exports_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_metadata.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_metadata.py index 61e1fdf3b..b221bfc20 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_metadata.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_metadata.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_raw_exports_inner.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_raw_exports_inner.py index 431c0c82a..bb8055a91 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_raw_exports_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_raw_exports_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_schedule.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_schedule.py index d7a62d544..c7de0228a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_schedule.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_schedule.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_slides_exports_inner.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_slides_exports_inner.py index 62c074697..b04c8a81e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_slides_exports_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_slides_exports_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_tabular_exports_inner.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_tabular_exports_inner.py index 39b37f935..b428fe307 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_tabular_exports_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_tabular_exports_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_visual_exports_inner.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_visual_exports_inner.py index 8f7b1b64c..5739b195a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_visual_exports_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_visual_exports_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_document.py index 6235128cb..827749ff3 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships.py index f97aa5137..3a5a6f6f4 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships_analytical_dashboard.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships_analytical_dashboard.py index f3b7cfd5d..09a250d79 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships_analytical_dashboard.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships_analytical_dashboard.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships_export_definitions.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships_export_definitions.py index 56d8a04bb..42c72ee15 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships_export_definitions.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships_export_definitions.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships_notification_channel.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships_notification_channel.py index 0c01f49a2..eaea2d0a8 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships_notification_channel.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships_notification_channel.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships_recipients.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships_recipients.py index 0321aa56a..7c4e25c9b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships_recipients.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_in_relationships_recipients.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_linkage.py index a11943d81..273845c4d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_out.py index d5452a52b..70d9f4716 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_attributes.py index deddc63ca..e41a11772 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_document.py index 3d43e8688..608ed903a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_includes.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_includes.py index a70d9e76c..e1896ed43 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_includes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_includes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_list.py index 8444b415d..ecbb6b9d0 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_relationships.py index 3cb64f625..4b2527be3 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_relationships_automation_results.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_relationships_automation_results.py index 347234afe..5168732d5 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_relationships_automation_results.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_relationships_automation_results.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_with_links.py index 9f8b39d7b..12f08e038 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_patch.py index 69e8759c6..35c8e37f8 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_patch_document.py index ca857995a..8992434ed 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_linkage.py index 3dba289a8..296ae825f 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out.py index e722c7f06..e1e82075b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_attributes.py index b7247ddc4..5afac65a7 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_list.py index 54d848f1c..dc313e935 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_relationships.py index 8fe88d337..41f0f8e54 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_relationships_automation.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_relationships_automation.py index fd075bafb..5b9c66873 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_relationships_automation.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_relationships_automation.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_with_links.py index e617cc9f9..5bfdc4093 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_to_many_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_to_many_linkage.py index 029575c5b..03aa61b6e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_to_many_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_result_to_many_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_automation_to_one_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_automation_to_one_linkage.py index 7862aec38..855d8034a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_automation_to_one_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_automation_to_one_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_in.py index 9261c2481..9b799c85e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_in_attributes.py index d22e5b33f..ce9fbd844 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_in_document.py index 54ab75148..303a16e02 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out.py index fe32a9f94..638a0a8e3 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_document.py index 743f64ef0..aa1bc6aab 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_list.py index 2020a3d87..0ecead77b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_with_links.py index a71da81f1..d8aefb2af 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_patch.py index 477287c2b..edfd08a9d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_patch_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_patch_attributes.py index c1b023f63..cf2363869 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_patch_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_patch_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_patch_document.py index e967f77a7..9e431159f 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_in.py index facaa4355..b25d78026 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_in_attributes.py index 15a0ac217..8d7425364 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_in_document.py index f0b04edfb..3dfead687 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_out.py index bd3943dcc..28bd301e4 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_out_document.py index 99ab0c8da..2c7389336 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_patch.py index 19d4ec7d3..ff2db7d27 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_patch_document.py index 712a3f31b..fed3a8a58 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_in.py index 9ebde6c6d..bf3732b6e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_in_attributes.py index fc0f6def7..fb431d065 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_in_document.py index fd338fc59..8dd2152e8 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out.py index f3ec2892f..02b549889 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_document.py index 02199f3a4..ff1543619 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_list.py index 734a14d0e..def0260e5 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_with_links.py index 5a773aae2..698bfbd55 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_patch.py index 8836b2f1c..f37f93035 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_patch_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_patch_attributes.py index a1733e826..541133118 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_patch_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_patch_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_patch_document.py index bf7e0316b..230a8ef9a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_in.py index 88b0bc4f6..632d49799 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_in_attributes.py index 2157ea282..69ca8fdeb 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_in_document.py index 1f6f28f50..21a4a3a8a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out.py index eb994083f..c16f72163 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_document.py index dc7f23a4a..f00317981 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_list.py index 219a214e1..da194bc5e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_with_links.py index 3a0a6eb85..cdaf1d2b6 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_patch.py index 94de8cf08..cab1f2bf9 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_patch_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_patch_attributes.py index 4374dc16d..400c6b46d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_patch_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_patch_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_patch_document.py index d377477dd..70ffa84e9 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_post_optional_id.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_post_optional_id.py index 3d302bc1c..3e2d418e8 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_post_optional_id.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_post_optional_id.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_post_optional_id_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_post_optional_id_document.py index b343a4042..ef9228988 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_post_optional_id_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_post_optional_id_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_in.py new file mode 100644 index 000000000..e416aa0b2 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_in.py @@ -0,0 +1,286 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class JsonApiCustomGeoCollectionIn(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 = { + ('type',): { + 'CUSTOMGEOCOLLECTION': "customGeoCollection", + }, + } + + validations = { + ('id',): { + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + """JsonApiCustomGeoCollectionIn - a model defined in OpenAPI + + Args: + id (str): API identifier of an object + + Keyword Args: + type (str): Object type. defaults to "customGeoCollection", must be one of ["customGeoCollection", ] # noqa: E501 + _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,) + """ + + type = kwargs.get('type', "customGeoCollection") + _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.id = id + self.type = type + 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, id, *args, **kwargs): # noqa: E501 + """JsonApiCustomGeoCollectionIn - a model defined in OpenAPI + + Args: + id (str): API identifier of an object + + Keyword Args: + type (str): Object type. defaults to "customGeoCollection", must be one of ["customGeoCollection", ] # noqa: E501 + _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,) + """ + + type = kwargs.get('type', "customGeoCollection") + _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.id = id + self.type = type + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_in_document.py new file mode 100644 index 000000000..0b6d72412 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_in_document.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: 90a5773 + 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.json_api_custom_geo_collection_in import JsonApiCustomGeoCollectionIn + globals()['JsonApiCustomGeoCollectionIn'] = JsonApiCustomGeoCollectionIn + + +class JsonApiCustomGeoCollectionInDocument(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 { + 'data': (JsonApiCustomGeoCollectionIn,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 + """JsonApiCustomGeoCollectionInDocument - a model defined in OpenAPI + + Args: + data (JsonApiCustomGeoCollectionIn): + + 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.data = data + 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, data, *args, **kwargs): # noqa: E501 + """JsonApiCustomGeoCollectionInDocument - a model defined in OpenAPI + + Args: + data (JsonApiCustomGeoCollectionIn): + + 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.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_out.py new file mode 100644 index 000000000..cc660cb64 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_out.py @@ -0,0 +1,286 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class JsonApiCustomGeoCollectionOut(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 = { + ('type',): { + 'CUSTOMGEOCOLLECTION': "customGeoCollection", + }, + } + + validations = { + ('id',): { + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + """JsonApiCustomGeoCollectionOut - a model defined in OpenAPI + + Args: + id (str): API identifier of an object + + Keyword Args: + type (str): Object type. defaults to "customGeoCollection", must be one of ["customGeoCollection", ] # noqa: E501 + _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,) + """ + + type = kwargs.get('type', "customGeoCollection") + _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.id = id + self.type = type + 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, id, *args, **kwargs): # noqa: E501 + """JsonApiCustomGeoCollectionOut - a model defined in OpenAPI + + Args: + id (str): API identifier of an object + + Keyword Args: + type (str): Object type. defaults to "customGeoCollection", must be one of ["customGeoCollection", ] # noqa: E501 + _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,) + """ + + type = kwargs.get('type', "customGeoCollection") + _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.id = id + self.type = type + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_out_document.py new file mode 100644 index 000000000..0786ba202 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_out_document.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.json_api_custom_geo_collection_out import JsonApiCustomGeoCollectionOut + from gooddata_api_client.model.object_links import ObjectLinks + globals()['JsonApiCustomGeoCollectionOut'] = JsonApiCustomGeoCollectionOut + globals()['ObjectLinks'] = ObjectLinks + + +class JsonApiCustomGeoCollectionOutDocument(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 { + 'data': (JsonApiCustomGeoCollectionOut,), # noqa: E501 + 'links': (ObjectLinks,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + 'links': 'links', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 + """JsonApiCustomGeoCollectionOutDocument - a model defined in OpenAPI + + Args: + data (JsonApiCustomGeoCollectionOut): + + 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,) + links (ObjectLinks): [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.data = data + 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, data, *args, **kwargs): # noqa: E501 + """JsonApiCustomGeoCollectionOutDocument - a model defined in OpenAPI + + Args: + data (JsonApiCustomGeoCollectionOut): + + 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,) + links (ObjectLinks): [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.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_out_list.py new file mode 100644 index 000000000..516227fe2 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_out_list.py @@ -0,0 +1,290 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_custom_geo_collection_out_with_links import JsonApiCustomGeoCollectionOutWithLinks + from gooddata_api_client.model.list_links import ListLinks + globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiCustomGeoCollectionOutWithLinks'] = JsonApiCustomGeoCollectionOutWithLinks + globals()['ListLinks'] = ListLinks + + +class JsonApiCustomGeoCollectionOutList(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 = { + ('data',): { + }, + } + + @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 { + 'data': ([JsonApiCustomGeoCollectionOutWithLinks],), # noqa: E501 + 'links': (ListLinks,), # noqa: E501 + 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + 'links': 'links', # noqa: E501 + 'meta': 'meta', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 + """JsonApiCustomGeoCollectionOutList - a model defined in OpenAPI + + Args: + data ([JsonApiCustomGeoCollectionOutWithLinks]): + + 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,) + links (ListLinks): [optional] # noqa: E501 + meta (JsonApiAggregatedFactOutListMeta): [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.data = data + 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, data, *args, **kwargs): # noqa: E501 + """JsonApiCustomGeoCollectionOutList - a model defined in OpenAPI + + Args: + data ([JsonApiCustomGeoCollectionOutWithLinks]): + + 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,) + links (ListLinks): [optional] # noqa: E501 + meta (JsonApiAggregatedFactOutListMeta): [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.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_out_with_links.py new file mode 100644 index 000000000..3d196241a --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_out_with_links.py @@ -0,0 +1,343 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.json_api_custom_geo_collection_out import JsonApiCustomGeoCollectionOut + from gooddata_api_client.model.object_links import ObjectLinks + from gooddata_api_client.model.object_links_container import ObjectLinksContainer + globals()['JsonApiCustomGeoCollectionOut'] = JsonApiCustomGeoCollectionOut + globals()['ObjectLinks'] = ObjectLinks + globals()['ObjectLinksContainer'] = ObjectLinksContainer + + +class JsonApiCustomGeoCollectionOutWithLinks(ModelComposed): + """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 = { + ('type',): { + 'CUSTOMGEOCOLLECTION': "customGeoCollection", + }, + } + + validations = { + ('id',): { + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + } + + @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 { + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + 'links': (ObjectLinks,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + 'links': 'links', # noqa: E501 + } + + read_only_vars = { + } + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """JsonApiCustomGeoCollectionOutWithLinks - a model defined in OpenAPI + + Keyword Args: + id (str): API identifier of an object + type (str): Object type. defaults to "customGeoCollection", must be one of ["customGeoCollection", ] # noqa: E501 + _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,) + links (ObjectLinks): [optional] # noqa: E501 + """ + + type = kwargs.get('type', "customGeoCollection") + _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', ()) + + 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__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # 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', + '_composed_instances', + '_var_name_to_model_instances', + '_additional_properties_model_instances', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """JsonApiCustomGeoCollectionOutWithLinks - a model defined in OpenAPI + + Keyword Args: + id (str): API identifier of an object + type (str): Object type. defaults to "customGeoCollection", must be one of ["customGeoCollection", ] # noqa: E501 + _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,) + links (ObjectLinks): [optional] # noqa: E501 + """ + + type = kwargs.get('type', "customGeoCollection") + _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__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # 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.") + + @cached_property + def _composed_schemas(): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + lazy_import() + return { + 'anyOf': [ + ], + 'allOf': [ + JsonApiCustomGeoCollectionOut, + ObjectLinksContainer, + ], + 'oneOf': [ + ], + } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_patch.py new file mode 100644 index 000000000..ca5d858ef --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_patch.py @@ -0,0 +1,286 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class JsonApiCustomGeoCollectionPatch(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 = { + ('type',): { + 'CUSTOMGEOCOLLECTION': "customGeoCollection", + }, + } + + validations = { + ('id',): { + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + """JsonApiCustomGeoCollectionPatch - a model defined in OpenAPI + + Args: + id (str): API identifier of an object + + Keyword Args: + type (str): Object type. defaults to "customGeoCollection", must be one of ["customGeoCollection", ] # noqa: E501 + _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,) + """ + + type = kwargs.get('type', "customGeoCollection") + _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.id = id + self.type = type + 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, id, *args, **kwargs): # noqa: E501 + """JsonApiCustomGeoCollectionPatch - a model defined in OpenAPI + + Args: + id (str): API identifier of an object + + Keyword Args: + type (str): Object type. defaults to "customGeoCollection", must be one of ["customGeoCollection", ] # noqa: E501 + _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,) + """ + + type = kwargs.get('type', "customGeoCollection") + _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.id = id + self.type = type + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_patch_document.py new file mode 100644 index 000000000..424cd5698 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_geo_collection_patch_document.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: 90a5773 + 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.json_api_custom_geo_collection_patch import JsonApiCustomGeoCollectionPatch + globals()['JsonApiCustomGeoCollectionPatch'] = JsonApiCustomGeoCollectionPatch + + +class JsonApiCustomGeoCollectionPatchDocument(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 { + 'data': (JsonApiCustomGeoCollectionPatch,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 + """JsonApiCustomGeoCollectionPatchDocument - a model defined in OpenAPI + + Args: + data (JsonApiCustomGeoCollectionPatch): + + 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.data = data + 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, data, *args, **kwargs): # noqa: E501 + """JsonApiCustomGeoCollectionPatchDocument - a model defined in OpenAPI + + Args: + data (JsonApiCustomGeoCollectionPatch): + + 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.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_in.py index 5cbebccd6..cf00b8b45 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_in_attributes.py index 7b29763d8..05acaa6b3 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_in_document.py index 1fe44abe1..2990b1df8 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_linkage.py index 9ec0c7432..ffeeab109 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out.py index 523a9b705..ebc845d44 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_attributes.py index f59569ad6..d6c67c0be 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_document.py index e94476ad0..81343407b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_list.py index 18cc0c651..7caf93101 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_relationships.py index 7552a6b35..c83140696 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_with_links.py index c98f8db60..58b0fce4c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_patch.py index 19258f6b3..947ec1d98 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_patch_document.py index 6faa17cac..d7f15a7da 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_post_optional_id.py b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_post_optional_id.py index 8274babc8..099abd4b2 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_post_optional_id.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_post_optional_id.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_post_optional_id_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_post_optional_id_document.py index c4577287d..9453daa69 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_post_optional_id_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_post_optional_id_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_to_many_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_to_many_linkage.py index 206fd3a09..d337cc4cc 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_to_many_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_to_many_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out.py index ad7ea3ef5..61a472409 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_attributes.py index 0de851700..864b1f790 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_document.py index 0816d214d..523ecca59 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_list.py index 6f38cd5da..114628879 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_meta.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_meta.py index 4e93966c4..481e7666c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_meta.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_meta.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_with_links.py index 5cbdbfa87..b498eb58b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in.py index 8712da2ed..0a8dde36a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes.py index 98b6ee87d..ddaaa0602 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -102,6 +102,11 @@ class JsonApiDataSourceInAttributes(ModelNormal): ('schema',): { 'max_length': 255, }, + ('alternative_data_source_id',): { + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, ('client_id',): { 'max_length': 255, }, @@ -154,6 +159,7 @@ def openapi_types(): 'name': (str,), # noqa: E501 'schema': (str,), # noqa: E501 'type': (str,), # noqa: E501 + 'alternative_data_source_id': (str, none_type,), # noqa: E501 'cache_strategy': (str, none_type,), # noqa: E501 'client_id': (str, none_type,), # noqa: E501 'client_secret': (str, none_type,), # noqa: E501 @@ -175,6 +181,7 @@ def discriminator(): 'name': 'name', # noqa: E501 'schema': 'schema', # noqa: E501 'type': 'type', # noqa: E501 + 'alternative_data_source_id': 'alternativeDataSourceId', # noqa: E501 'cache_strategy': 'cacheStrategy', # noqa: E501 'client_id': 'clientId', # noqa: E501 'client_secret': 'clientSecret', # noqa: E501 @@ -233,6 +240,7 @@ def _from_openapi_data(cls, name, schema, type, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + alternative_data_source_id (str, none_type): Alternative data source ID. It is a weak reference meaning data source does not have to exist. All the entities (e.g. tables) from the data source must be available also in the alternative data source. It must be present in the same organization as the data source.. [optional] # noqa: E501 cache_strategy (str, none_type): Determines how the results coming from a particular datasource should be cached.. [optional] # noqa: E501 client_id (str, none_type): The client id to use to connect to the database providing the data for the data source (for example a Databricks Service Account).. [optional] # noqa: E501 client_secret (str, none_type): The client secret to use to connect to the database providing the data for the data source (for example a Databricks Service Account).. [optional] # noqa: E501 @@ -336,6 +344,7 @@ def __init__(self, name, schema, type, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + alternative_data_source_id (str, none_type): Alternative data source ID. It is a weak reference meaning data source does not have to exist. All the entities (e.g. tables) from the data source must be available also in the alternative data source. It must be present in the same organization as the data source.. [optional] # noqa: E501 cache_strategy (str, none_type): Determines how the results coming from a particular datasource should be cached.. [optional] # noqa: E501 client_id (str, none_type): The client id to use to connect to the database providing the data for the data source (for example a Databricks Service Account).. [optional] # noqa: E501 client_secret (str, none_type): The client secret to use to connect to the database providing the data for the data source (for example a Databricks Service Account).. [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes_parameters_inner.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes_parameters_inner.py index 334ebc4ff..19214f60e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes_parameters_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes_parameters_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_document.py index 366298100..061f55cc0 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out.py index 12dcedf1b..045a0a9d0 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_attributes.py index 5252b1b90..9d2131dae 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -110,6 +110,11 @@ class JsonApiDataSourceOutAttributes(ModelNormal): ('schema',): { 'max_length': 255, }, + ('alternative_data_source_id',): { + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, ('client_id',): { 'max_length': 255, }, @@ -147,6 +152,7 @@ def openapi_types(): 'name': (str,), # noqa: E501 'schema': (str,), # noqa: E501 'type': (str,), # noqa: E501 + 'alternative_data_source_id': (str, none_type,), # noqa: E501 'authentication_type': (str, none_type,), # noqa: E501 'cache_strategy': (str, none_type,), # noqa: E501 'client_id': (str, none_type,), # noqa: E501 @@ -165,6 +171,7 @@ def discriminator(): 'name': 'name', # noqa: E501 'schema': 'schema', # noqa: E501 'type': 'type', # noqa: E501 + 'alternative_data_source_id': 'alternativeDataSourceId', # noqa: E501 'authentication_type': 'authenticationType', # noqa: E501 'cache_strategy': 'cacheStrategy', # noqa: E501 'client_id': 'clientId', # noqa: E501 @@ -220,6 +227,7 @@ def _from_openapi_data(cls, name, schema, type, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + alternative_data_source_id (str, none_type): Alternative data source ID. It is a weak reference meaning data source does not have to exist. All the entities (e.g. tables) from the data source must be available also in the alternative data source. It must be present in the same organization as the data source.. [optional] # noqa: E501 authentication_type (str, none_type): Type of authentication used to connect to the database.. [optional] # noqa: E501 cache_strategy (str, none_type): Determines how the results coming from a particular datasource should be cached.. [optional] # noqa: E501 client_id (str, none_type): The client id to use to connect to the database providing the data for the data source (for example a Databricks Service Account).. [optional] # noqa: E501 @@ -320,6 +328,7 @@ def __init__(self, name, schema, type, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + alternative_data_source_id (str, none_type): Alternative data source ID. It is a weak reference meaning data source does not have to exist. All the entities (e.g. tables) from the data source must be available also in the alternative data source. It must be present in the same organization as the data source.. [optional] # noqa: E501 authentication_type (str, none_type): Type of authentication used to connect to the database.. [optional] # noqa: E501 cache_strategy (str, none_type): Determines how the results coming from a particular datasource should be cached.. [optional] # noqa: E501 client_id (str, none_type): The client id to use to connect to the database providing the data for the data source (for example a Databricks Service Account).. [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_document.py index cff60d6c7..5a658138e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_list.py index cb4f5fcbd..fbd2692d5 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_with_links.py index 26cd07105..ab7dc9993 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch.py index 4798f0c9f..88bcd550c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_attributes.py index 48460d0f7..6dd025778 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -96,6 +96,11 @@ class JsonApiDataSourcePatchAttributes(ModelNormal): } validations = { + ('alternative_data_source_id',): { + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, ('client_id',): { 'max_length': 255, }, @@ -151,6 +156,7 @@ def openapi_types(): """ lazy_import() return { + 'alternative_data_source_id': (str, none_type,), # noqa: E501 'cache_strategy': (str, none_type,), # noqa: E501 'client_id': (str, none_type,), # noqa: E501 'client_secret': (str, none_type,), # noqa: E501 @@ -172,6 +178,7 @@ def discriminator(): attribute_map = { + 'alternative_data_source_id': 'alternativeDataSourceId', # noqa: E501 'cache_strategy': 'cacheStrategy', # noqa: E501 'client_id': 'clientId', # noqa: E501 'client_secret': 'clientSecret', # noqa: E501 @@ -228,6 +235,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + alternative_data_source_id (str, none_type): Alternative data source ID. It is a weak reference meaning data source does not have to exist. All the entities (e.g. tables) from the data source must be available also in the alternative data source. It must be present in the same organization as the data source.. [optional] # noqa: E501 cache_strategy (str, none_type): Determines how the results coming from a particular datasource should be cached.. [optional] # noqa: E501 client_id (str, none_type): The client id to use to connect to the database providing the data for the data source (for example a Databricks Service Account).. [optional] # noqa: E501 client_secret (str, none_type): The client secret to use to connect to the database providing the data for the data source (for example a Databricks Service Account).. [optional] # noqa: E501 @@ -326,6 +334,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + alternative_data_source_id (str, none_type): Alternative data source ID. It is a weak reference meaning data source does not have to exist. All the entities (e.g. tables) from the data source must be available also in the alternative data source. It must be present in the same organization as the data source.. [optional] # noqa: E501 cache_strategy (str, none_type): Determines how the results coming from a particular datasource should be cached.. [optional] # noqa: E501 client_id (str, none_type): The client id to use to connect to the database providing the data for the data source (for example a Databricks Service Account).. [optional] # noqa: E501 client_secret (str, none_type): The client secret to use to connect to the database providing the data for the data source (for example a Databricks Service Account).. [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_document.py index 5655ec187..2a10417f7 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_linkage.py index 097dd3b5b..79141c51d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out.py index 7eca76592..bc6498e29 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes.py index acfbbf852..32b738a3b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_grain_inner.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_grain_inner.py index f2062b651..3d703d34d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_grain_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_grain_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_reference_properties_inner.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_reference_properties_inner.py index bb27bf267..bc760a20c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_reference_properties_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_reference_properties_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_sql.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_sql.py index cc2823140..b950893d9 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_sql.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_sql.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_workspace_data_filter_columns_inner.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_workspace_data_filter_columns_inner.py index 4c2c0c3a0..38f2a96b0 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_workspace_data_filter_columns_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_workspace_data_filter_columns_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_workspace_data_filter_references_inner.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_workspace_data_filter_references_inner.py index 0fedbc0a7..d94f2c6b0 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_workspace_data_filter_references_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_attributes_workspace_data_filter_references_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_document.py index 9b9a606c5..e84d2935a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_includes.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_includes.py index 97c7467ee..27d2eaaa0 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_includes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_includes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_list.py index 5798cfa4b..b69039a46 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_relationships.py index b518ea522..d18a7d16e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_relationships_aggregated_facts.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_relationships_aggregated_facts.py index 9062e20e6..0926cf379 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_relationships_aggregated_facts.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_relationships_aggregated_facts.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_relationships_facts.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_relationships_facts.py index 43b39cda2..1a31114d0 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_relationships_facts.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_relationships_facts.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_relationships_workspace_data_filters.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_relationships_workspace_data_filters.py index a472936cd..b1cb3d68c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_relationships_workspace_data_filters.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_relationships_workspace_data_filters.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_with_links.py index de5592118..def59d33c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_patch.py index f932e4586..5904f9619 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -31,8 +31,8 @@ def lazy_import(): - from gooddata_api_client.model.json_api_dataset_patch_attributes import JsonApiDatasetPatchAttributes - globals()['JsonApiDatasetPatchAttributes'] = JsonApiDatasetPatchAttributes + from gooddata_api_client.model.json_api_attribute_patch_attributes import JsonApiAttributePatchAttributes + globals()['JsonApiAttributePatchAttributes'] = JsonApiAttributePatchAttributes class JsonApiDatasetPatch(ModelNormal): @@ -98,7 +98,7 @@ def openapi_types(): return { 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 - 'attributes': (JsonApiDatasetPatchAttributes,), # noqa: E501 + 'attributes': (JsonApiAttributePatchAttributes,), # noqa: E501 } @cached_property @@ -157,7 +157,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiDatasetPatchAttributes): [optional] # noqa: E501 + attributes (JsonApiAttributePatchAttributes): [optional] # noqa: E501 """ type = kwargs.get('type', "dataset") @@ -250,7 +250,7 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiDatasetPatchAttributes): [optional] # noqa: E501 + attributes (JsonApiAttributePatchAttributes): [optional] # noqa: E501 """ type = kwargs.get('type', "dataset") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_patch_document.py index cca76739a..c103012bc 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_to_many_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_to_many_linkage.py index f228efdf0..7f499aef4 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_to_many_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_to_many_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_to_one_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_to_one_linkage.py index bee37aeae..aaa06de48 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_to_one_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_to_one_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out.py index d03663ffc..a97388814 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_attributes.py index 25d2c8faf..6f5415427 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_document.py index d95f87c8e..03bbfa630 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_list.py index 51cc0441d..7a9dfbf9f 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_with_links.py index 9ecea8a72..a67c2d132 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in.py index 578864702..3605996b4 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_attributes.py index b8407888e..8688d5d1e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_attributes_request_payload.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_attributes_request_payload.py index ba5e8c5d0..3939fdc54 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_attributes_request_payload.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_attributes_request_payload.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_document.py index fcb1fa996..d79e6bd00 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_relationships.py index 6d5318387..20d0acc4c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_relationships_visualization_object.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_relationships_visualization_object.py index 517d9ae9c..c0709d2a1 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_relationships_visualization_object.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_in_relationships_visualization_object.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_linkage.py index 1d3b5a279..95b67389a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out.py index 51e410ee3..c7b2c7cda 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_attributes.py index 09e266d1f..627f5b9a8 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_document.py index 02c9df7d7..4f014cc1e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_includes.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_includes.py index 5b308aee7..08b8b7e8c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_includes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_includes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_list.py index c0757e1a0..051d46bfa 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_relationships.py index 45d3e3952..80ba8ba3f 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_with_links.py index 80206b751..f2a70777e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_patch.py index c1bebe219..73150b60e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_patch_document.py index ec540b6c9..70d690aa6 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_post_optional_id.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_post_optional_id.py index 32ca1e089..5c76215d3 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_post_optional_id.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_post_optional_id.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_post_optional_id_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_post_optional_id_document.py index 0ba130ce6..3a7476291 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_post_optional_id_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_post_optional_id_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_to_many_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_to_many_linkage.py index 72c70a2f4..4506a5b51 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_to_many_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_definition_to_many_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in.py index 409962041..35080e06f 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in_attributes.py index 076631ef4..5405f2033 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in_attributes_dashboard_slides_template.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in_attributes_dashboard_slides_template.py index 7eac8f33e..a41098b8d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in_attributes_dashboard_slides_template.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in_attributes_dashboard_slides_template.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in_attributes_widget_slides_template.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in_attributes_widget_slides_template.py index c8b291bcc..09abe5e78 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in_attributes_widget_slides_template.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in_attributes_widget_slides_template.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in_document.py index f9f6af75a..29677773d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_out.py index fd5b37d8c..52ab3216e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_out_document.py index 118649bc9..a1b60a1ca 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_out_list.py index 6dfd20078..d1e56b704 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_out_with_links.py index 624440082..06845cf6d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_patch.py index 05afc5827..c2ee66cb8 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_patch_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_patch_attributes.py index 350a1f0f8..1bd5ca68b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_patch_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_patch_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_patch_document.py index 7301a717d..72577a98b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_post_optional_id.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_post_optional_id.py index bbad2489d..df07111b9 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_post_optional_id.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_post_optional_id.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_post_optional_id_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_post_optional_id_document.py index 5b8f778ba..74db31e9f 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_export_template_post_optional_id_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_export_template_post_optional_id_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_fact_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_fact_linkage.py index b9ce007a2..dd3cadb5d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_fact_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_fact_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_fact_out.py index c977d12ca..e188059fd 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_fact_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_attributes.py index e901c2579..ad5da20f1 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -103,6 +103,8 @@ def openapi_types(): 'are_relations_valid': (bool,), # noqa: E501 'description': (str,), # noqa: E501 'is_hidden': (bool,), # noqa: E501 + 'is_nullable': (bool,), # noqa: E501 + 'null_value': (str,), # noqa: E501 'source_column': (str,), # noqa: E501 'source_column_data_type': (str,), # noqa: E501 'tags': ([str],), # noqa: E501 @@ -118,6 +120,8 @@ def discriminator(): 'are_relations_valid': 'areRelationsValid', # noqa: E501 'description': 'description', # noqa: E501 'is_hidden': 'isHidden', # noqa: E501 + 'is_nullable': 'isNullable', # noqa: E501 + 'null_value': 'nullValue', # noqa: E501 'source_column': 'sourceColumn', # noqa: E501 'source_column_data_type': 'sourceColumnDataType', # noqa: E501 'tags': 'tags', # noqa: E501 @@ -168,6 +172,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 are_relations_valid (bool): [optional] # noqa: E501 description (str): [optional] # noqa: E501 is_hidden (bool): [optional] # noqa: E501 + is_nullable (bool): [optional] # noqa: E501 + null_value (str): [optional] # noqa: E501 source_column (str): [optional] # noqa: E501 source_column_data_type (str): [optional] # noqa: E501 tags ([str]): [optional] # noqa: E501 @@ -260,6 +266,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 are_relations_valid (bool): [optional] # noqa: E501 description (str): [optional] # noqa: E501 is_hidden (bool): [optional] # noqa: E501 + is_nullable (bool): [optional] # noqa: E501 + null_value (str): [optional] # noqa: E501 source_column (str): [optional] # noqa: E501 source_column_data_type (str): [optional] # noqa: E501 tags ([str]): [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_document.py index f38dcdde7..8bbdecc56 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_list.py index 4d59677f0..1481e17b0 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_relationships.py index fff978109..1f1618736 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_with_links.py index f70b65e36..2aa435298 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_fact_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_fact_patch.py index 15b57dc1b..6c0eefacd 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_fact_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_fact_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -31,8 +31,8 @@ def lazy_import(): - from gooddata_api_client.model.json_api_dataset_patch_attributes import JsonApiDatasetPatchAttributes - globals()['JsonApiDatasetPatchAttributes'] = JsonApiDatasetPatchAttributes + from gooddata_api_client.model.json_api_attribute_patch_attributes import JsonApiAttributePatchAttributes + globals()['JsonApiAttributePatchAttributes'] = JsonApiAttributePatchAttributes class JsonApiFactPatch(ModelNormal): @@ -98,7 +98,7 @@ def openapi_types(): return { 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 - 'attributes': (JsonApiDatasetPatchAttributes,), # noqa: E501 + 'attributes': (JsonApiAttributePatchAttributes,), # noqa: E501 } @cached_property @@ -157,7 +157,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiDatasetPatchAttributes): [optional] # noqa: E501 + attributes (JsonApiAttributePatchAttributes): [optional] # noqa: E501 """ type = kwargs.get('type', "fact") @@ -250,7 +250,7 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiDatasetPatchAttributes): [optional] # noqa: E501 + attributes (JsonApiAttributePatchAttributes): [optional] # noqa: E501 """ type = kwargs.get('type', "fact") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_fact_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_fact_patch_document.py index b79f26c4c..d4d2650f0 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_fact_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_fact_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_fact_to_many_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_fact_to_many_linkage.py index cca4b3dfc..b297c8a3d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_fact_to_many_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_fact_to_many_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_fact_to_one_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_fact_to_one_linkage.py index 1b434c3e1..86f03af5f 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_fact_to_one_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_fact_to_one_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_in.py index 9abbecc66..a94c9e21b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_in_document.py index aaa3fd1bc..188f090af 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_linkage.py index f03982fb6..f71c96ec3 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out.py index 07f5ddfa5..b9b5b5dca 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_document.py index 38c8e1b3f..5e43a1a3c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_includes.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_includes.py index 02cadb19a..1330e2713 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_includes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_includes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_list.py index 12566fe80..d9a2673fd 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_relationships.py index 0bebd66bc..bf0b5dc54 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_with_links.py index c0849e8f5..a7157e685 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_patch.py index 057ecb10f..5b744b689 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_patch_document.py index a55c24b4f..56d96daf2 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_post_optional_id.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_post_optional_id.py index 800b19623..f573a823b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_post_optional_id.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_post_optional_id.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_post_optional_id_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_post_optional_id_document.py index 479f64172..bda0d5bc0 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_post_optional_id_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_post_optional_id_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_to_many_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_to_many_linkage.py index b5abf59da..eef4c10d3 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_to_many_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_to_many_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in.py index d167b2e7d..ce2a1f0ff 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in_attributes.py index 53197a42b..eacd5916d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in_document.py index cdb54e124..3c11404f2 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in_relationships.py index 55dc853af..f7c49c252 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in_relationships_user.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in_relationships_user.py index 71ccc3ec6..eb0b80b2a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in_relationships_user.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_in_relationships_user.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out.py index ab3de9815..a94e50c11 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out_document.py index 0fc28f5b3..7d7896bb7 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out_includes.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out_includes.py index a41782712..8f081e07a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out_includes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out_includes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out_list.py index c29066388..6a14e0457 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out_with_links.py index 68177af84..68530b42d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_patch.py index 72188e84b..cc00e07d8 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_patch_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_patch_attributes.py index b8ce41c65..32356e994 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_patch_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_patch_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_patch_document.py index b89467cdf..4afa2223a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_view_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_in.py index 150730d8e..f878d09f5 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_in_attributes.py index 8867f8509..97ea93f26 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_in_document.py index cec635fc6..421a6c1a3 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_linkage.py index 02b7bfa06..0d9a05d06 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out.py index d5ad16172..392279f69 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out_attributes.py index 43be9330c..70eeeee35 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out_document.py index 793e4ed55..a9ed25972 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out_list.py index 6d29e4570..5d53741a8 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out_with_links.py index c0e5f5039..09c79d2f2 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_patch.py index 46844937b..2c7bfec2a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_patch_document.py index 61dcd7d6d..c0b14a31c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_to_one_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_to_one_linkage.py index 86b767d49..19bbc821f 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_to_one_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_identity_provider_to_one_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_in.py index b5bd2d2b2..b149038c3 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_in_attributes.py index 6b18c68e8..a71b98b85 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_in_attributes_content.py b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_in_attributes_content.py index 3554ced2b..0da4656c3 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_in_attributes_content.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_in_attributes_content.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -74,6 +74,13 @@ class JsonApiJwkInAttributesContent(ModelComposed): } validations = { + ('kid',): { + 'max_length': 255, + 'min_length': 0, + 'regex': { + 'pattern': r'^[^.]', # noqa: E501 + }, + }, } @cached_property diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_in_document.py index be7abc512..56bbd1c6d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_out.py index ee76c437c..e57d19bd7 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_out_document.py index c5b45d2b4..5b9144e9f 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_out_list.py index a789806f1..36f233a3c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_out_with_links.py index af95a8ff0..b83de3b2b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_patch.py index 606fe189d..e61047f30 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_patch_document.py index 5758d48bd..c237845fa 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_jwk_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_jwk_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_in.py new file mode 100644 index 000000000..c9bb90364 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_in.py @@ -0,0 +1,306 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.json_api_knowledge_recommendation_in_attributes import JsonApiKnowledgeRecommendationInAttributes + from gooddata_api_client.model.json_api_knowledge_recommendation_in_relationships import JsonApiKnowledgeRecommendationInRelationships + globals()['JsonApiKnowledgeRecommendationInAttributes'] = JsonApiKnowledgeRecommendationInAttributes + globals()['JsonApiKnowledgeRecommendationInRelationships'] = JsonApiKnowledgeRecommendationInRelationships + + +class JsonApiKnowledgeRecommendationIn(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 = { + ('type',): { + 'KNOWLEDGERECOMMENDATION': "knowledgeRecommendation", + }, + } + + validations = { + ('id',): { + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + } + + @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 { + 'attributes': (JsonApiKnowledgeRecommendationInAttributes,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'relationships': (JsonApiKnowledgeRecommendationInRelationships,), # noqa: E501 + 'type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'relationships': 'relationships', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, attributes, id, relationships, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationIn - a model defined in OpenAPI + + Args: + attributes (JsonApiKnowledgeRecommendationInAttributes): + id (str): API identifier of an object + relationships (JsonApiKnowledgeRecommendationInRelationships): + + Keyword Args: + type (str): Object type. defaults to "knowledgeRecommendation", must be one of ["knowledgeRecommendation", ] # noqa: E501 + _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,) + """ + + type = kwargs.get('type', "knowledgeRecommendation") + _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.attributes = attributes + self.id = id + self.relationships = relationships + self.type = type + 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, attributes, id, relationships, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationIn - a model defined in OpenAPI + + Args: + attributes (JsonApiKnowledgeRecommendationInAttributes): + id (str): API identifier of an object + relationships (JsonApiKnowledgeRecommendationInRelationships): + + Keyword Args: + type (str): Object type. defaults to "knowledgeRecommendation", must be one of ["knowledgeRecommendation", ] # noqa: E501 + _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,) + """ + + type = kwargs.get('type', "knowledgeRecommendation") + _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.attributes = attributes + self.id = id + self.relationships = relationships + self.type = type + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_in_attributes.py new file mode 100644 index 000000000..fc1b5a4ad --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_in_attributes.py @@ -0,0 +1,371 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class JsonApiKnowledgeRecommendationInAttributes(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('comparison_type',): { + 'MONTH': "MONTH", + 'QUARTER': "QUARTER", + 'YEAR': "YEAR", + }, + ('direction',): { + 'INCREASED': "INCREASED", + 'DECREASED': "DECREASED", + }, + } + + validations = { + ('title',): { + 'max_length': 255, + }, + ('analytical_dashboard_title',): { + 'max_length': 255, + }, + ('analyzed_period',): { + 'max_length': 255, + }, + ('description',): { + 'max_length': 10000, + }, + ('metric_title',): { + 'max_length': 255, + }, + ('reference_period',): { + 'max_length': 255, + }, + ('widget_id',): { + 'max_length': 255, + }, + ('widget_name',): { + 'max_length': 255, + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'comparison_type': (str,), # noqa: E501 + 'direction': (str,), # noqa: E501 + 'title': (str,), # noqa: E501 + 'analytical_dashboard_title': (str,), # noqa: E501 + 'analyzed_period': (str,), # noqa: E501 + 'analyzed_value': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 + 'are_relations_valid': (bool,), # noqa: E501 + 'confidence': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 + 'description': (str,), # noqa: E501 + 'metric_title': (str,), # noqa: E501 + 'recommendations': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 + 'reference_period': (str,), # noqa: E501 + 'reference_value': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 + 'source_count': (int,), # noqa: E501 + 'tags': ([str],), # noqa: E501 + 'widget_id': (str,), # noqa: E501 + 'widget_name': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'comparison_type': 'comparisonType', # noqa: E501 + 'direction': 'direction', # noqa: E501 + 'title': 'title', # noqa: E501 + 'analytical_dashboard_title': 'analyticalDashboardTitle', # noqa: E501 + 'analyzed_period': 'analyzedPeriod', # noqa: E501 + 'analyzed_value': 'analyzedValue', # noqa: E501 + 'are_relations_valid': 'areRelationsValid', # noqa: E501 + 'confidence': 'confidence', # noqa: E501 + 'description': 'description', # noqa: E501 + 'metric_title': 'metricTitle', # noqa: E501 + 'recommendations': 'recommendations', # noqa: E501 + 'reference_period': 'referencePeriod', # noqa: E501 + 'reference_value': 'referenceValue', # noqa: E501 + 'source_count': 'sourceCount', # noqa: E501 + 'tags': 'tags', # noqa: E501 + 'widget_id': 'widgetId', # noqa: E501 + 'widget_name': 'widgetName', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, comparison_type, direction, title, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationInAttributes - a model defined in OpenAPI + + Args: + comparison_type (str): Time period for comparison + direction (str): Direction of the metric change + title (str): Human-readable title for the recommendation, e.g. 'Revenue decreased vs last month' + + 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,) + analytical_dashboard_title (str): Human-readable title of the analytical dashboard (denormalized for display). [optional] # noqa: E501 + analyzed_period (str): Analyzed time period (e.g., '2023-07' or 'July 2023'). [optional] # noqa: E501 + analyzed_value (bool, date, datetime, dict, float, int, list, str, none_type): Metric value in the analyzed period (the observed value that triggered the anomaly). [optional] # noqa: E501 + are_relations_valid (bool): [optional] # noqa: E501 + confidence (bool, date, datetime, dict, float, int, list, str, none_type): Confidence score (0.0 to 1.0). [optional] # noqa: E501 + description (str): Description of the recommendation. [optional] # noqa: E501 + metric_title (str): Human-readable title of the metric (denormalized for display). [optional] # noqa: E501 + recommendations ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Structured recommendations data as JSON. [optional] # noqa: E501 + reference_period (str): Reference time period for comparison (e.g., '2023-06' or 'Jun 2023'). [optional] # noqa: E501 + reference_value (bool, date, datetime, dict, float, int, list, str, none_type): Metric value in the reference period. [optional] # noqa: E501 + source_count (int): Number of source documents used for generation. [optional] # noqa: E501 + tags ([str]): [optional] # noqa: E501 + widget_id (str): ID of the widget where the anomaly was detected. [optional] # noqa: E501 + widget_name (str): Name of the widget where the anomaly was detected. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.comparison_type = comparison_type + self.direction = direction + self.title = title + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, comparison_type, direction, title, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationInAttributes - a model defined in OpenAPI + + Args: + comparison_type (str): Time period for comparison + direction (str): Direction of the metric change + title (str): Human-readable title for the recommendation, e.g. 'Revenue decreased vs last month' + + 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,) + analytical_dashboard_title (str): Human-readable title of the analytical dashboard (denormalized for display). [optional] # noqa: E501 + analyzed_period (str): Analyzed time period (e.g., '2023-07' or 'July 2023'). [optional] # noqa: E501 + analyzed_value (bool, date, datetime, dict, float, int, list, str, none_type): Metric value in the analyzed period (the observed value that triggered the anomaly). [optional] # noqa: E501 + are_relations_valid (bool): [optional] # noqa: E501 + confidence (bool, date, datetime, dict, float, int, list, str, none_type): Confidence score (0.0 to 1.0). [optional] # noqa: E501 + description (str): Description of the recommendation. [optional] # noqa: E501 + metric_title (str): Human-readable title of the metric (denormalized for display). [optional] # noqa: E501 + recommendations ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Structured recommendations data as JSON. [optional] # noqa: E501 + reference_period (str): Reference time period for comparison (e.g., '2023-06' or 'Jun 2023'). [optional] # noqa: E501 + reference_value (bool, date, datetime, dict, float, int, list, str, none_type): Metric value in the reference period. [optional] # noqa: E501 + source_count (int): Number of source documents used for generation. [optional] # noqa: E501 + tags ([str]): [optional] # noqa: E501 + widget_id (str): ID of the widget where the anomaly was detected. [optional] # noqa: E501 + widget_name (str): Name of the widget where the anomaly was detected. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.comparison_type = comparison_type + self.direction = direction + self.title = title + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_in_document.py new file mode 100644 index 000000000..854c14bfd --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_in_document.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: 90a5773 + 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.json_api_knowledge_recommendation_in import JsonApiKnowledgeRecommendationIn + globals()['JsonApiKnowledgeRecommendationIn'] = JsonApiKnowledgeRecommendationIn + + +class JsonApiKnowledgeRecommendationInDocument(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 { + 'data': (JsonApiKnowledgeRecommendationIn,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationInDocument - a model defined in OpenAPI + + Args: + data (JsonApiKnowledgeRecommendationIn): + + 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.data = data + 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, data, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationInDocument - a model defined in OpenAPI + + Args: + data (JsonApiKnowledgeRecommendationIn): + + 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.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_in_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_in_relationships.py new file mode 100644 index 000000000..18593285c --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_in_relationships.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.json_api_automation_in_relationships_analytical_dashboard import JsonApiAutomationInRelationshipsAnalyticalDashboard + from gooddata_api_client.model.json_api_knowledge_recommendation_in_relationships_metric import JsonApiKnowledgeRecommendationInRelationshipsMetric + globals()['JsonApiAutomationInRelationshipsAnalyticalDashboard'] = JsonApiAutomationInRelationshipsAnalyticalDashboard + globals()['JsonApiKnowledgeRecommendationInRelationshipsMetric'] = JsonApiKnowledgeRecommendationInRelationshipsMetric + + +class JsonApiKnowledgeRecommendationInRelationships(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 { + 'metric': (JsonApiKnowledgeRecommendationInRelationshipsMetric,), # noqa: E501 + 'analytical_dashboard': (JsonApiAutomationInRelationshipsAnalyticalDashboard,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'metric': 'metric', # noqa: E501 + 'analytical_dashboard': 'analyticalDashboard', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, metric, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationInRelationships - a model defined in OpenAPI + + Args: + metric (JsonApiKnowledgeRecommendationInRelationshipsMetric): + + 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,) + analytical_dashboard (JsonApiAutomationInRelationshipsAnalyticalDashboard): [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.metric = metric + 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, metric, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationInRelationships - a model defined in OpenAPI + + Args: + metric (JsonApiKnowledgeRecommendationInRelationshipsMetric): + + 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,) + analytical_dashboard (JsonApiAutomationInRelationshipsAnalyticalDashboard): [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.metric = metric + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_in_relationships_metric.py b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_in_relationships_metric.py new file mode 100644 index 000000000..1cb11fad7 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_in_relationships_metric.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: 90a5773 + 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.json_api_metric_to_one_linkage import JsonApiMetricToOneLinkage + globals()['JsonApiMetricToOneLinkage'] = JsonApiMetricToOneLinkage + + +class JsonApiKnowledgeRecommendationInRelationshipsMetric(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 { + 'data': (JsonApiMetricToOneLinkage,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationInRelationshipsMetric - a model defined in OpenAPI + + Args: + data (JsonApiMetricToOneLinkage): + + 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.data = data + 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, data, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationInRelationshipsMetric - a model defined in OpenAPI + + Args: + data (JsonApiMetricToOneLinkage): + + 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.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out.py new file mode 100644 index 000000000..98bc0a0c5 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out.py @@ -0,0 +1,310 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.json_api_aggregated_fact_out_meta import JsonApiAggregatedFactOutMeta + from gooddata_api_client.model.json_api_knowledge_recommendation_out_attributes import JsonApiKnowledgeRecommendationOutAttributes + from gooddata_api_client.model.json_api_knowledge_recommendation_out_relationships import JsonApiKnowledgeRecommendationOutRelationships + globals()['JsonApiAggregatedFactOutMeta'] = JsonApiAggregatedFactOutMeta + globals()['JsonApiKnowledgeRecommendationOutAttributes'] = JsonApiKnowledgeRecommendationOutAttributes + globals()['JsonApiKnowledgeRecommendationOutRelationships'] = JsonApiKnowledgeRecommendationOutRelationships + + +class JsonApiKnowledgeRecommendationOut(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 = { + ('type',): { + 'KNOWLEDGERECOMMENDATION': "knowledgeRecommendation", + }, + } + + validations = { + ('id',): { + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + } + + @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 { + 'attributes': (JsonApiKnowledgeRecommendationOutAttributes,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + 'meta': (JsonApiAggregatedFactOutMeta,), # noqa: E501 + 'relationships': (JsonApiKnowledgeRecommendationOutRelationships,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + 'meta': 'meta', # noqa: E501 + 'relationships': 'relationships', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationOut - a model defined in OpenAPI + + Args: + attributes (JsonApiKnowledgeRecommendationOutAttributes): + id (str): API identifier of an object + + Keyword Args: + type (str): Object type. defaults to "knowledgeRecommendation", must be one of ["knowledgeRecommendation", ] # noqa: E501 + _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,) + meta (JsonApiAggregatedFactOutMeta): [optional] # noqa: E501 + relationships (JsonApiKnowledgeRecommendationOutRelationships): [optional] # noqa: E501 + """ + + type = kwargs.get('type', "knowledgeRecommendation") + _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.attributes = attributes + self.id = id + self.type = type + 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, attributes, id, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationOut - a model defined in OpenAPI + + Args: + attributes (JsonApiKnowledgeRecommendationOutAttributes): + id (str): API identifier of an object + + Keyword Args: + type (str): Object type. defaults to "knowledgeRecommendation", must be one of ["knowledgeRecommendation", ] # noqa: E501 + _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,) + meta (JsonApiAggregatedFactOutMeta): [optional] # noqa: E501 + relationships (JsonApiKnowledgeRecommendationOutRelationships): [optional] # noqa: E501 + """ + + type = kwargs.get('type', "knowledgeRecommendation") + _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.attributes = attributes + self.id = id + self.type = type + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out_attributes.py new file mode 100644 index 000000000..9cb23c90a --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out_attributes.py @@ -0,0 +1,375 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class JsonApiKnowledgeRecommendationOutAttributes(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('comparison_type',): { + 'MONTH': "MONTH", + 'QUARTER': "QUARTER", + 'YEAR': "YEAR", + }, + ('direction',): { + 'INCREASED': "INCREASED", + 'DECREASED': "DECREASED", + }, + } + + validations = { + ('title',): { + 'max_length': 255, + }, + ('analytical_dashboard_title',): { + 'max_length': 255, + }, + ('analyzed_period',): { + 'max_length': 255, + }, + ('description',): { + 'max_length': 10000, + }, + ('metric_title',): { + 'max_length': 255, + }, + ('reference_period',): { + 'max_length': 255, + }, + ('widget_id',): { + 'max_length': 255, + }, + ('widget_name',): { + 'max_length': 255, + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'comparison_type': (str,), # noqa: E501 + 'direction': (str,), # noqa: E501 + 'title': (str,), # noqa: E501 + 'analytical_dashboard_title': (str,), # noqa: E501 + 'analyzed_period': (str,), # noqa: E501 + 'analyzed_value': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 + 'are_relations_valid': (bool,), # noqa: E501 + 'confidence': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 + 'created_at': (datetime,), # noqa: E501 + 'description': (str,), # noqa: E501 + 'metric_title': (str,), # noqa: E501 + 'recommendations': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 + 'reference_period': (str,), # noqa: E501 + 'reference_value': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 + 'source_count': (int,), # noqa: E501 + 'tags': ([str],), # noqa: E501 + 'widget_id': (str,), # noqa: E501 + 'widget_name': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'comparison_type': 'comparisonType', # noqa: E501 + 'direction': 'direction', # noqa: E501 + 'title': 'title', # noqa: E501 + 'analytical_dashboard_title': 'analyticalDashboardTitle', # noqa: E501 + 'analyzed_period': 'analyzedPeriod', # noqa: E501 + 'analyzed_value': 'analyzedValue', # noqa: E501 + 'are_relations_valid': 'areRelationsValid', # noqa: E501 + 'confidence': 'confidence', # noqa: E501 + 'created_at': 'createdAt', # noqa: E501 + 'description': 'description', # noqa: E501 + 'metric_title': 'metricTitle', # noqa: E501 + 'recommendations': 'recommendations', # noqa: E501 + 'reference_period': 'referencePeriod', # noqa: E501 + 'reference_value': 'referenceValue', # noqa: E501 + 'source_count': 'sourceCount', # noqa: E501 + 'tags': 'tags', # noqa: E501 + 'widget_id': 'widgetId', # noqa: E501 + 'widget_name': 'widgetName', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, comparison_type, direction, title, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationOutAttributes - a model defined in OpenAPI + + Args: + comparison_type (str): Time period for comparison + direction (str): Direction of the metric change + title (str): Human-readable title for the recommendation, e.g. 'Revenue decreased vs last month' + + 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,) + analytical_dashboard_title (str): Human-readable title of the analytical dashboard (denormalized for display). [optional] # noqa: E501 + analyzed_period (str): Analyzed time period (e.g., '2023-07' or 'July 2023'). [optional] # noqa: E501 + analyzed_value (bool, date, datetime, dict, float, int, list, str, none_type): Metric value in the analyzed period (the observed value that triggered the anomaly). [optional] # noqa: E501 + are_relations_valid (bool): [optional] # noqa: E501 + confidence (bool, date, datetime, dict, float, int, list, str, none_type): Confidence score (0.0 to 1.0). [optional] # noqa: E501 + created_at (datetime): [optional] # noqa: E501 + description (str): Description of the recommendation. [optional] # noqa: E501 + metric_title (str): Human-readable title of the metric (denormalized for display). [optional] # noqa: E501 + recommendations ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Structured recommendations data as JSON. [optional] # noqa: E501 + reference_period (str): Reference time period for comparison (e.g., '2023-06' or 'Jun 2023'). [optional] # noqa: E501 + reference_value (bool, date, datetime, dict, float, int, list, str, none_type): Metric value in the reference period. [optional] # noqa: E501 + source_count (int): Number of source documents used for generation. [optional] # noqa: E501 + tags ([str]): [optional] # noqa: E501 + widget_id (str): ID of the widget where the anomaly was detected. [optional] # noqa: E501 + widget_name (str): Name of the widget where the anomaly was detected. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.comparison_type = comparison_type + self.direction = direction + self.title = title + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, comparison_type, direction, title, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationOutAttributes - a model defined in OpenAPI + + Args: + comparison_type (str): Time period for comparison + direction (str): Direction of the metric change + title (str): Human-readable title for the recommendation, e.g. 'Revenue decreased vs last month' + + 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,) + analytical_dashboard_title (str): Human-readable title of the analytical dashboard (denormalized for display). [optional] # noqa: E501 + analyzed_period (str): Analyzed time period (e.g., '2023-07' or 'July 2023'). [optional] # noqa: E501 + analyzed_value (bool, date, datetime, dict, float, int, list, str, none_type): Metric value in the analyzed period (the observed value that triggered the anomaly). [optional] # noqa: E501 + are_relations_valid (bool): [optional] # noqa: E501 + confidence (bool, date, datetime, dict, float, int, list, str, none_type): Confidence score (0.0 to 1.0). [optional] # noqa: E501 + created_at (datetime): [optional] # noqa: E501 + description (str): Description of the recommendation. [optional] # noqa: E501 + metric_title (str): Human-readable title of the metric (denormalized for display). [optional] # noqa: E501 + recommendations ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Structured recommendations data as JSON. [optional] # noqa: E501 + reference_period (str): Reference time period for comparison (e.g., '2023-06' or 'Jun 2023'). [optional] # noqa: E501 + reference_value (bool, date, datetime, dict, float, int, list, str, none_type): Metric value in the reference period. [optional] # noqa: E501 + source_count (int): Number of source documents used for generation. [optional] # noqa: E501 + tags ([str]): [optional] # noqa: E501 + widget_id (str): ID of the widget where the anomaly was detected. [optional] # noqa: E501 + widget_name (str): Name of the widget where the anomaly was detected. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.comparison_type = comparison_type + self.direction = direction + self.title = title + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out_document.py new file mode 100644 index 000000000..35159ee58 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out_document.py @@ -0,0 +1,290 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.json_api_knowledge_recommendation_out import JsonApiKnowledgeRecommendationOut + from gooddata_api_client.model.json_api_knowledge_recommendation_out_includes import JsonApiKnowledgeRecommendationOutIncludes + from gooddata_api_client.model.object_links import ObjectLinks + globals()['JsonApiKnowledgeRecommendationOut'] = JsonApiKnowledgeRecommendationOut + globals()['JsonApiKnowledgeRecommendationOutIncludes'] = JsonApiKnowledgeRecommendationOutIncludes + globals()['ObjectLinks'] = ObjectLinks + + +class JsonApiKnowledgeRecommendationOutDocument(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 = { + ('included',): { + }, + } + + @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 { + 'data': (JsonApiKnowledgeRecommendationOut,), # noqa: E501 + 'included': ([JsonApiKnowledgeRecommendationOutIncludes],), # noqa: E501 + 'links': (ObjectLinks,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + 'included': 'included', # noqa: E501 + 'links': 'links', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationOutDocument - a model defined in OpenAPI + + Args: + data (JsonApiKnowledgeRecommendationOut): + + 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,) + included ([JsonApiKnowledgeRecommendationOutIncludes]): Included resources. [optional] # noqa: E501 + links (ObjectLinks): [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.data = data + 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, data, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationOutDocument - a model defined in OpenAPI + + Args: + data (JsonApiKnowledgeRecommendationOut): + + 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,) + included ([JsonApiKnowledgeRecommendationOutIncludes]): Included resources. [optional] # noqa: E501 + links (ObjectLinks): [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.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out_includes.py b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out_includes.py new file mode 100644 index 000000000..5e4812c82 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out_includes.py @@ -0,0 +1,359 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.json_api_analytical_dashboard_out_attributes import JsonApiAnalyticalDashboardOutAttributes + from gooddata_api_client.model.json_api_analytical_dashboard_out_meta import JsonApiAnalyticalDashboardOutMeta + from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships import JsonApiAnalyticalDashboardOutRelationships + from gooddata_api_client.model.json_api_analytical_dashboard_out_with_links import JsonApiAnalyticalDashboardOutWithLinks + from gooddata_api_client.model.json_api_metric_out_with_links import JsonApiMetricOutWithLinks + from gooddata_api_client.model.object_links import ObjectLinks + globals()['JsonApiAnalyticalDashboardOutAttributes'] = JsonApiAnalyticalDashboardOutAttributes + globals()['JsonApiAnalyticalDashboardOutMeta'] = JsonApiAnalyticalDashboardOutMeta + globals()['JsonApiAnalyticalDashboardOutRelationships'] = JsonApiAnalyticalDashboardOutRelationships + globals()['JsonApiAnalyticalDashboardOutWithLinks'] = JsonApiAnalyticalDashboardOutWithLinks + globals()['JsonApiMetricOutWithLinks'] = JsonApiMetricOutWithLinks + globals()['ObjectLinks'] = ObjectLinks + + +class JsonApiKnowledgeRecommendationOutIncludes(ModelComposed): + """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 = { + ('type',): { + 'ANALYTICALDASHBOARD': "analyticalDashboard", + }, + } + + validations = { + ('id',): { + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + } + + @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 { + 'meta': (JsonApiAnalyticalDashboardOutMeta,), # noqa: E501 + 'relationships': (JsonApiAnalyticalDashboardOutRelationships,), # noqa: E501 + 'links': (ObjectLinks,), # noqa: E501 + 'attributes': (JsonApiAnalyticalDashboardOutAttributes,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'meta': 'meta', # noqa: E501 + 'relationships': 'relationships', # noqa: E501 + 'links': 'links', # noqa: E501 + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationOutIncludes - a model defined in OpenAPI + + 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,) + meta (JsonApiAnalyticalDashboardOutMeta): [optional] # noqa: E501 + relationships (JsonApiAnalyticalDashboardOutRelationships): [optional] # noqa: E501 + links (ObjectLinks): [optional] # noqa: E501 + attributes (JsonApiAnalyticalDashboardOutAttributes): [optional] # noqa: E501 + id (str): API identifier of an object. [optional] # noqa: E501 + type (str): Object type. [optional] if omitted the server will use the default value of "analyticalDashboard" # 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', ()) + + 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__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # 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', + '_composed_instances', + '_var_name_to_model_instances', + '_additional_properties_model_instances', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationOutIncludes - a model defined in OpenAPI + + 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,) + meta (JsonApiAnalyticalDashboardOutMeta): [optional] # noqa: E501 + relationships (JsonApiAnalyticalDashboardOutRelationships): [optional] # noqa: E501 + links (ObjectLinks): [optional] # noqa: E501 + attributes (JsonApiAnalyticalDashboardOutAttributes): [optional] # noqa: E501 + id (str): API identifier of an object. [optional] # noqa: E501 + type (str): Object type. [optional] if omitted the server will use the default value of "analyticalDashboard" # 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__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # 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.") + + @cached_property + def _composed_schemas(): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + lazy_import() + return { + 'anyOf': [ + ], + 'allOf': [ + ], + 'oneOf': [ + JsonApiAnalyticalDashboardOutWithLinks, + JsonApiMetricOutWithLinks, + ], + } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out_list.py new file mode 100644 index 000000000..32eaec1c0 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out_list.py @@ -0,0 +1,298 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_knowledge_recommendation_out_includes import JsonApiKnowledgeRecommendationOutIncludes + from gooddata_api_client.model.json_api_knowledge_recommendation_out_with_links import JsonApiKnowledgeRecommendationOutWithLinks + from gooddata_api_client.model.list_links import ListLinks + globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiKnowledgeRecommendationOutIncludes'] = JsonApiKnowledgeRecommendationOutIncludes + globals()['JsonApiKnowledgeRecommendationOutWithLinks'] = JsonApiKnowledgeRecommendationOutWithLinks + globals()['ListLinks'] = ListLinks + + +class JsonApiKnowledgeRecommendationOutList(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 = { + ('data',): { + }, + ('included',): { + }, + } + + @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 { + 'data': ([JsonApiKnowledgeRecommendationOutWithLinks],), # noqa: E501 + 'included': ([JsonApiKnowledgeRecommendationOutIncludes],), # noqa: E501 + 'links': (ListLinks,), # noqa: E501 + 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + 'included': 'included', # noqa: E501 + 'links': 'links', # noqa: E501 + 'meta': 'meta', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationOutList - a model defined in OpenAPI + + Args: + data ([JsonApiKnowledgeRecommendationOutWithLinks]): + + 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,) + included ([JsonApiKnowledgeRecommendationOutIncludes]): Included resources. [optional] # noqa: E501 + links (ListLinks): [optional] # noqa: E501 + meta (JsonApiAggregatedFactOutListMeta): [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.data = data + 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, data, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationOutList - a model defined in OpenAPI + + Args: + data ([JsonApiKnowledgeRecommendationOutWithLinks]): + + 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,) + included ([JsonApiKnowledgeRecommendationOutIncludes]): Included resources. [optional] # noqa: E501 + links (ListLinks): [optional] # noqa: E501 + meta (JsonApiAggregatedFactOutListMeta): [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.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out_relationships.py new file mode 100644 index 000000000..4a364e770 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out_relationships.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: 90a5773 + 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.json_api_automation_in_relationships_analytical_dashboard import JsonApiAutomationInRelationshipsAnalyticalDashboard + from gooddata_api_client.model.json_api_knowledge_recommendation_in_relationships_metric import JsonApiKnowledgeRecommendationInRelationshipsMetric + globals()['JsonApiAutomationInRelationshipsAnalyticalDashboard'] = JsonApiAutomationInRelationshipsAnalyticalDashboard + globals()['JsonApiKnowledgeRecommendationInRelationshipsMetric'] = JsonApiKnowledgeRecommendationInRelationshipsMetric + + +class JsonApiKnowledgeRecommendationOutRelationships(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 { + 'analytical_dashboard': (JsonApiAutomationInRelationshipsAnalyticalDashboard,), # noqa: E501 + 'metric': (JsonApiKnowledgeRecommendationInRelationshipsMetric,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'analytical_dashboard': 'analyticalDashboard', # noqa: E501 + 'metric': 'metric', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationOutRelationships - a model defined in OpenAPI + + 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,) + analytical_dashboard (JsonApiAutomationInRelationshipsAnalyticalDashboard): [optional] # noqa: E501 + metric (JsonApiKnowledgeRecommendationInRelationshipsMetric): [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__,) + + 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, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationOutRelationships - a model defined in OpenAPI + + 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,) + analytical_dashboard (JsonApiAutomationInRelationshipsAnalyticalDashboard): [optional] # noqa: E501 + metric (JsonApiKnowledgeRecommendationInRelationshipsMetric): [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__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out_with_links.py new file mode 100644 index 000000000..88021da0c --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_out_with_links.py @@ -0,0 +1,361 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.json_api_aggregated_fact_out_meta import JsonApiAggregatedFactOutMeta + from gooddata_api_client.model.json_api_knowledge_recommendation_out import JsonApiKnowledgeRecommendationOut + from gooddata_api_client.model.json_api_knowledge_recommendation_out_attributes import JsonApiKnowledgeRecommendationOutAttributes + from gooddata_api_client.model.json_api_knowledge_recommendation_out_relationships import JsonApiKnowledgeRecommendationOutRelationships + from gooddata_api_client.model.object_links import ObjectLinks + from gooddata_api_client.model.object_links_container import ObjectLinksContainer + globals()['JsonApiAggregatedFactOutMeta'] = JsonApiAggregatedFactOutMeta + globals()['JsonApiKnowledgeRecommendationOut'] = JsonApiKnowledgeRecommendationOut + globals()['JsonApiKnowledgeRecommendationOutAttributes'] = JsonApiKnowledgeRecommendationOutAttributes + globals()['JsonApiKnowledgeRecommendationOutRelationships'] = JsonApiKnowledgeRecommendationOutRelationships + globals()['ObjectLinks'] = ObjectLinks + globals()['ObjectLinksContainer'] = ObjectLinksContainer + + +class JsonApiKnowledgeRecommendationOutWithLinks(ModelComposed): + """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 = { + ('type',): { + 'KNOWLEDGERECOMMENDATION': "knowledgeRecommendation", + }, + } + + validations = { + ('id',): { + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + } + + @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 { + 'attributes': (JsonApiKnowledgeRecommendationOutAttributes,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + 'meta': (JsonApiAggregatedFactOutMeta,), # noqa: E501 + 'relationships': (JsonApiKnowledgeRecommendationOutRelationships,), # noqa: E501 + 'links': (ObjectLinks,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + 'meta': 'meta', # noqa: E501 + 'relationships': 'relationships', # noqa: E501 + 'links': 'links', # noqa: E501 + } + + read_only_vars = { + } + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationOutWithLinks - a model defined in OpenAPI + + Keyword Args: + attributes (JsonApiKnowledgeRecommendationOutAttributes): + id (str): API identifier of an object + type (str): Object type. defaults to "knowledgeRecommendation", must be one of ["knowledgeRecommendation", ] # noqa: E501 + _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,) + meta (JsonApiAggregatedFactOutMeta): [optional] # noqa: E501 + relationships (JsonApiKnowledgeRecommendationOutRelationships): [optional] # noqa: E501 + links (ObjectLinks): [optional] # noqa: E501 + """ + + type = kwargs.get('type', "knowledgeRecommendation") + _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', ()) + + 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__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # 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', + '_composed_instances', + '_var_name_to_model_instances', + '_additional_properties_model_instances', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationOutWithLinks - a model defined in OpenAPI + + Keyword Args: + attributes (JsonApiKnowledgeRecommendationOutAttributes): + id (str): API identifier of an object + type (str): Object type. defaults to "knowledgeRecommendation", must be one of ["knowledgeRecommendation", ] # noqa: E501 + _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,) + meta (JsonApiAggregatedFactOutMeta): [optional] # noqa: E501 + relationships (JsonApiKnowledgeRecommendationOutRelationships): [optional] # noqa: E501 + links (ObjectLinks): [optional] # noqa: E501 + """ + + type = kwargs.get('type', "knowledgeRecommendation") + _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__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # 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.") + + @cached_property + def _composed_schemas(): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + lazy_import() + return { + 'anyOf': [ + ], + 'allOf': [ + JsonApiKnowledgeRecommendationOut, + ObjectLinksContainer, + ], + 'oneOf': [ + ], + } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_patch.py new file mode 100644 index 000000000..da0c2e60c --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_patch.py @@ -0,0 +1,306 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.json_api_knowledge_recommendation_out_relationships import JsonApiKnowledgeRecommendationOutRelationships + from gooddata_api_client.model.json_api_knowledge_recommendation_patch_attributes import JsonApiKnowledgeRecommendationPatchAttributes + globals()['JsonApiKnowledgeRecommendationOutRelationships'] = JsonApiKnowledgeRecommendationOutRelationships + globals()['JsonApiKnowledgeRecommendationPatchAttributes'] = JsonApiKnowledgeRecommendationPatchAttributes + + +class JsonApiKnowledgeRecommendationPatch(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 = { + ('type',): { + 'KNOWLEDGERECOMMENDATION': "knowledgeRecommendation", + }, + } + + validations = { + ('id',): { + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + } + + @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 { + 'attributes': (JsonApiKnowledgeRecommendationPatchAttributes,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'relationships': (JsonApiKnowledgeRecommendationOutRelationships,), # noqa: E501 + 'type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'relationships': 'relationships', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, attributes, id, relationships, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationPatch - a model defined in OpenAPI + + Args: + attributes (JsonApiKnowledgeRecommendationPatchAttributes): + id (str): API identifier of an object + relationships (JsonApiKnowledgeRecommendationOutRelationships): + + Keyword Args: + type (str): Object type. defaults to "knowledgeRecommendation", must be one of ["knowledgeRecommendation", ] # noqa: E501 + _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,) + """ + + type = kwargs.get('type', "knowledgeRecommendation") + _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.attributes = attributes + self.id = id + self.relationships = relationships + self.type = type + 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, attributes, id, relationships, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationPatch - a model defined in OpenAPI + + Args: + attributes (JsonApiKnowledgeRecommendationPatchAttributes): + id (str): API identifier of an object + relationships (JsonApiKnowledgeRecommendationOutRelationships): + + Keyword Args: + type (str): Object type. defaults to "knowledgeRecommendation", must be one of ["knowledgeRecommendation", ] # noqa: E501 + _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,) + """ + + type = kwargs.get('type', "knowledgeRecommendation") + _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.attributes = attributes + self.id = id + self.relationships = relationships + self.type = type + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_patch_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_patch_attributes.py new file mode 100644 index 000000000..a9f12df74 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_patch_attributes.py @@ -0,0 +1,361 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class JsonApiKnowledgeRecommendationPatchAttributes(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('comparison_type',): { + 'MONTH': "MONTH", + 'QUARTER': "QUARTER", + 'YEAR': "YEAR", + }, + ('direction',): { + 'INCREASED': "INCREASED", + 'DECREASED': "DECREASED", + }, + } + + validations = { + ('analytical_dashboard_title',): { + 'max_length': 255, + }, + ('analyzed_period',): { + 'max_length': 255, + }, + ('description',): { + 'max_length': 10000, + }, + ('metric_title',): { + 'max_length': 255, + }, + ('reference_period',): { + 'max_length': 255, + }, + ('title',): { + 'max_length': 255, + }, + ('widget_id',): { + 'max_length': 255, + }, + ('widget_name',): { + 'max_length': 255, + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'analytical_dashboard_title': (str,), # noqa: E501 + 'analyzed_period': (str,), # noqa: E501 + 'analyzed_value': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 + 'are_relations_valid': (bool,), # noqa: E501 + 'comparison_type': (str,), # noqa: E501 + 'confidence': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 + 'description': (str,), # noqa: E501 + 'direction': (str,), # noqa: E501 + 'metric_title': (str,), # noqa: E501 + 'recommendations': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 + 'reference_period': (str,), # noqa: E501 + 'reference_value': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 + 'source_count': (int,), # noqa: E501 + 'tags': ([str],), # noqa: E501 + 'title': (str,), # noqa: E501 + 'widget_id': (str,), # noqa: E501 + 'widget_name': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'analytical_dashboard_title': 'analyticalDashboardTitle', # noqa: E501 + 'analyzed_period': 'analyzedPeriod', # noqa: E501 + 'analyzed_value': 'analyzedValue', # noqa: E501 + 'are_relations_valid': 'areRelationsValid', # noqa: E501 + 'comparison_type': 'comparisonType', # noqa: E501 + 'confidence': 'confidence', # noqa: E501 + 'description': 'description', # noqa: E501 + 'direction': 'direction', # noqa: E501 + 'metric_title': 'metricTitle', # noqa: E501 + 'recommendations': 'recommendations', # noqa: E501 + 'reference_period': 'referencePeriod', # noqa: E501 + 'reference_value': 'referenceValue', # noqa: E501 + 'source_count': 'sourceCount', # noqa: E501 + 'tags': 'tags', # noqa: E501 + 'title': 'title', # noqa: E501 + 'widget_id': 'widgetId', # noqa: E501 + 'widget_name': 'widgetName', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationPatchAttributes - a model defined in OpenAPI + + 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,) + analytical_dashboard_title (str): Human-readable title of the analytical dashboard (denormalized for display). [optional] # noqa: E501 + analyzed_period (str): Analyzed time period (e.g., '2023-07' or 'July 2023'). [optional] # noqa: E501 + analyzed_value (bool, date, datetime, dict, float, int, list, str, none_type): Metric value in the analyzed period (the observed value that triggered the anomaly). [optional] # noqa: E501 + are_relations_valid (bool): [optional] # noqa: E501 + comparison_type (str): Time period for comparison. [optional] # noqa: E501 + confidence (bool, date, datetime, dict, float, int, list, str, none_type): Confidence score (0.0 to 1.0). [optional] # noqa: E501 + description (str): Description of the recommendation. [optional] # noqa: E501 + direction (str): Direction of the metric change. [optional] # noqa: E501 + metric_title (str): Human-readable title of the metric (denormalized for display). [optional] # noqa: E501 + recommendations ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Structured recommendations data as JSON. [optional] # noqa: E501 + reference_period (str): Reference time period for comparison (e.g., '2023-06' or 'Jun 2023'). [optional] # noqa: E501 + reference_value (bool, date, datetime, dict, float, int, list, str, none_type): Metric value in the reference period. [optional] # noqa: E501 + source_count (int): Number of source documents used for generation. [optional] # noqa: E501 + tags ([str]): [optional] # noqa: E501 + title (str): Human-readable title for the recommendation, e.g. 'Revenue decreased vs last month'. [optional] # noqa: E501 + widget_id (str): ID of the widget where the anomaly was detected. [optional] # noqa: E501 + widget_name (str): Name of the widget where the anomaly was detected. [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__,) + + 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, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationPatchAttributes - a model defined in OpenAPI + + 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,) + analytical_dashboard_title (str): Human-readable title of the analytical dashboard (denormalized for display). [optional] # noqa: E501 + analyzed_period (str): Analyzed time period (e.g., '2023-07' or 'July 2023'). [optional] # noqa: E501 + analyzed_value (bool, date, datetime, dict, float, int, list, str, none_type): Metric value in the analyzed period (the observed value that triggered the anomaly). [optional] # noqa: E501 + are_relations_valid (bool): [optional] # noqa: E501 + comparison_type (str): Time period for comparison. [optional] # noqa: E501 + confidence (bool, date, datetime, dict, float, int, list, str, none_type): Confidence score (0.0 to 1.0). [optional] # noqa: E501 + description (str): Description of the recommendation. [optional] # noqa: E501 + direction (str): Direction of the metric change. [optional] # noqa: E501 + metric_title (str): Human-readable title of the metric (denormalized for display). [optional] # noqa: E501 + recommendations ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Structured recommendations data as JSON. [optional] # noqa: E501 + reference_period (str): Reference time period for comparison (e.g., '2023-06' or 'Jun 2023'). [optional] # noqa: E501 + reference_value (bool, date, datetime, dict, float, int, list, str, none_type): Metric value in the reference period. [optional] # noqa: E501 + source_count (int): Number of source documents used for generation. [optional] # noqa: E501 + tags ([str]): [optional] # noqa: E501 + title (str): Human-readable title for the recommendation, e.g. 'Revenue decreased vs last month'. [optional] # noqa: E501 + widget_id (str): ID of the widget where the anomaly was detected. [optional] # noqa: E501 + widget_name (str): Name of the widget where the anomaly was detected. [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__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_patch_document.py new file mode 100644 index 000000000..f83771e0d --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_patch_document.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: 90a5773 + 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.json_api_knowledge_recommendation_patch import JsonApiKnowledgeRecommendationPatch + globals()['JsonApiKnowledgeRecommendationPatch'] = JsonApiKnowledgeRecommendationPatch + + +class JsonApiKnowledgeRecommendationPatchDocument(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 { + 'data': (JsonApiKnowledgeRecommendationPatch,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationPatchDocument - a model defined in OpenAPI + + Args: + data (JsonApiKnowledgeRecommendationPatch): + + 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.data = data + 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, data, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationPatchDocument - a model defined in OpenAPI + + Args: + data (JsonApiKnowledgeRecommendationPatch): + + 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.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_post_optional_id.py b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_post_optional_id.py new file mode 100644 index 000000000..c4e842f54 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_post_optional_id.py @@ -0,0 +1,304 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.json_api_knowledge_recommendation_in_attributes import JsonApiKnowledgeRecommendationInAttributes + from gooddata_api_client.model.json_api_knowledge_recommendation_in_relationships import JsonApiKnowledgeRecommendationInRelationships + globals()['JsonApiKnowledgeRecommendationInAttributes'] = JsonApiKnowledgeRecommendationInAttributes + globals()['JsonApiKnowledgeRecommendationInRelationships'] = JsonApiKnowledgeRecommendationInRelationships + + +class JsonApiKnowledgeRecommendationPostOptionalId(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 = { + ('type',): { + 'KNOWLEDGERECOMMENDATION': "knowledgeRecommendation", + }, + } + + validations = { + ('id',): { + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + } + + @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 { + 'attributes': (JsonApiKnowledgeRecommendationInAttributes,), # noqa: E501 + 'relationships': (JsonApiKnowledgeRecommendationInRelationships,), # noqa: E501 + 'type': (str,), # noqa: E501 + 'id': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'relationships': 'relationships', # noqa: E501 + 'type': 'type', # noqa: E501 + 'id': 'id', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, attributes, relationships, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationPostOptionalId - a model defined in OpenAPI + + Args: + attributes (JsonApiKnowledgeRecommendationInAttributes): + relationships (JsonApiKnowledgeRecommendationInRelationships): + + Keyword Args: + type (str): Object type. defaults to "knowledgeRecommendation", must be one of ["knowledgeRecommendation", ] # noqa: E501 + _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,) + id (str): API identifier of an object. [optional] # noqa: E501 + """ + + type = kwargs.get('type', "knowledgeRecommendation") + _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.attributes = attributes + self.relationships = relationships + self.type = type + 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, attributes, relationships, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationPostOptionalId - a model defined in OpenAPI + + Args: + attributes (JsonApiKnowledgeRecommendationInAttributes): + relationships (JsonApiKnowledgeRecommendationInRelationships): + + Keyword Args: + type (str): Object type. defaults to "knowledgeRecommendation", must be one of ["knowledgeRecommendation", ] # noqa: E501 + _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,) + id (str): API identifier of an object. [optional] # noqa: E501 + """ + + type = kwargs.get('type', "knowledgeRecommendation") + _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.attributes = attributes + self.relationships = relationships + self.type = type + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_post_optional_id_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_post_optional_id_document.py new file mode 100644 index 000000000..33bf004c2 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_knowledge_recommendation_post_optional_id_document.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: 90a5773 + 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.json_api_knowledge_recommendation_post_optional_id import JsonApiKnowledgeRecommendationPostOptionalId + globals()['JsonApiKnowledgeRecommendationPostOptionalId'] = JsonApiKnowledgeRecommendationPostOptionalId + + +class JsonApiKnowledgeRecommendationPostOptionalIdDocument(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 { + 'data': (JsonApiKnowledgeRecommendationPostOptionalId,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationPostOptionalIdDocument - a model defined in OpenAPI + + Args: + data (JsonApiKnowledgeRecommendationPostOptionalId): + + 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.data = data + 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, data, *args, **kwargs): # noqa: E501 + """JsonApiKnowledgeRecommendationPostOptionalIdDocument - a model defined in OpenAPI + + Args: + data (JsonApiKnowledgeRecommendationPostOptionalId): + + 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.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_label_linkage.py index 8aabd522b..14ee8aa3d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_label_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_label_out.py index 2c59a3a9f..4dd567b33 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_label_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes.py index 5502fcb70..dcda48ca1 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -121,7 +121,9 @@ def openapi_types(): 'description': (str,), # noqa: E501 'geo_area_config': (JsonApiLabelOutAttributesGeoAreaConfig,), # noqa: E501 'is_hidden': (bool,), # noqa: E501 + 'is_nullable': (bool,), # noqa: E501 'locale': (str,), # noqa: E501 + 'null_value': (str,), # noqa: E501 'primary': (bool,), # noqa: E501 'source_column': (str,), # noqa: E501 'source_column_data_type': (str,), # noqa: E501 @@ -141,7 +143,9 @@ def discriminator(): 'description': 'description', # noqa: E501 'geo_area_config': 'geoAreaConfig', # noqa: E501 'is_hidden': 'isHidden', # noqa: E501 + 'is_nullable': 'isNullable', # noqa: E501 'locale': 'locale', # noqa: E501 + 'null_value': 'nullValue', # noqa: E501 'primary': 'primary', # noqa: E501 'source_column': 'sourceColumn', # noqa: E501 'source_column_data_type': 'sourceColumnDataType', # noqa: E501 @@ -196,7 +200,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 description (str): [optional] # noqa: E501 geo_area_config (JsonApiLabelOutAttributesGeoAreaConfig): [optional] # noqa: E501 is_hidden (bool): [optional] # noqa: E501 + is_nullable (bool): [optional] # noqa: E501 locale (str): [optional] # noqa: E501 + null_value (str): [optional] # noqa: E501 primary (bool): [optional] # noqa: E501 source_column (str): [optional] # noqa: E501 source_column_data_type (str): [optional] # noqa: E501 @@ -293,7 +299,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 description (str): [optional] # noqa: E501 geo_area_config (JsonApiLabelOutAttributesGeoAreaConfig): [optional] # noqa: E501 is_hidden (bool): [optional] # noqa: E501 + is_nullable (bool): [optional] # noqa: E501 locale (str): [optional] # noqa: E501 + null_value (str): [optional] # noqa: E501 primary (bool): [optional] # noqa: E501 source_column (str): [optional] # noqa: E501 source_column_data_type (str): [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes_geo_area_config.py b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes_geo_area_config.py index 6edf94020..49dcb6404 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes_geo_area_config.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes_geo_area_config.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -31,8 +31,8 @@ def lazy_import(): - from gooddata_api_client.model.geo_collection import GeoCollection - globals()['GeoCollection'] = GeoCollection + from gooddata_api_client.model.geo_collection_identifier import GeoCollectionIdentifier + globals()['GeoCollectionIdentifier'] = GeoCollectionIdentifier class JsonApiLabelOutAttributesGeoAreaConfig(ModelNormal): @@ -88,7 +88,7 @@ def openapi_types(): """ lazy_import() return { - 'collection': (GeoCollection,), # noqa: E501 + 'collection': (GeoCollectionIdentifier,), # noqa: E501 } @cached_property @@ -111,7 +111,7 @@ def _from_openapi_data(cls, collection, *args, **kwargs): # noqa: E501 """JsonApiLabelOutAttributesGeoAreaConfig - a model defined in OpenAPI Args: - collection (GeoCollection): + collection (GeoCollectionIdentifier): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -200,7 +200,7 @@ def __init__(self, collection, *args, **kwargs): # noqa: E501 """JsonApiLabelOutAttributesGeoAreaConfig - a model defined in OpenAPI Args: - collection (GeoCollection): + collection (GeoCollectionIdentifier): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes_translations_inner.py b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes_translations_inner.py index f7e34d7f6..cd51673a6 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes_translations_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes_translations_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_document.py index e944d53aa..8f23c3a92 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_list.py index a20fa93a1..6b1e652dd 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_relationships.py index 624aede73..508205a9d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_relationships_attribute.py b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_relationships_attribute.py index 22290f3bb..45d81013a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_relationships_attribute.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_relationships_attribute.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_with_links.py index bf71e00d4..b88074c1d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_label_patch.py index c4fb9a7cd..f7bd759a0 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_label_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -31,8 +31,8 @@ def lazy_import(): - from gooddata_api_client.model.json_api_label_patch_attributes import JsonApiLabelPatchAttributes - globals()['JsonApiLabelPatchAttributes'] = JsonApiLabelPatchAttributes + from gooddata_api_client.model.json_api_attribute_patch_attributes import JsonApiAttributePatchAttributes + globals()['JsonApiAttributePatchAttributes'] = JsonApiAttributePatchAttributes class JsonApiLabelPatch(ModelNormal): @@ -98,7 +98,7 @@ def openapi_types(): return { 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 - 'attributes': (JsonApiLabelPatchAttributes,), # noqa: E501 + 'attributes': (JsonApiAttributePatchAttributes,), # noqa: E501 } @cached_property @@ -157,7 +157,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiLabelPatchAttributes): [optional] # noqa: E501 + attributes (JsonApiAttributePatchAttributes): [optional] # noqa: E501 """ type = kwargs.get('type', "label") @@ -250,7 +250,7 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiLabelPatchAttributes): [optional] # noqa: E501 + attributes (JsonApiAttributePatchAttributes): [optional] # noqa: E501 """ type = kwargs.get('type', "label") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_label_patch_document.py index cb16846bb..1f9bba62d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_label_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_to_many_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_label_to_many_linkage.py index 7fd000aec..f8932112d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_to_many_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_label_to_many_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_to_one_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_label_to_one_linkage.py index 37f210462..eff07133e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_to_one_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_label_to_one_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in.py index 8647b9935..f7d93b289 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in_attributes.py index 99ba87736..3091738a7 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in_document.py index 3fc291295..9a981a004 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out.py index a9850660e..822c0fc96 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_attributes.py index 9faf5ad22..c73731bd3 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_document.py index d58654b56..2ab70ede8 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_list.py index f8aec527c..3be9b7913 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_with_links.py index bf298968f..25c226632 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch.py index 2d5a040e8..d7b175b67 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch_attributes.py index 75ee7d976..dc94757f3 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch_document.py index af95c27d6..c6cb851a4 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_in.py index 190f9fa49..1ead7d965 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_in_attributes.py index 35fbc4714..f367f6ddd 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_in_document.py index 2d1b34a96..5e924a335 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out.py index 97935a50c..9882417ea 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out_attributes.py index 402462862..5a4e442e8 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out_document.py index 67e771671..0d10881a7 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out_list.py index a7552f112..d897f0b15 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out_with_links.py index 62f033bfd..4b4f4c86d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_patch.py index 47b923bf7..07cb78900 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_patch_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_patch_attributes.py index 5edfbdcef..414dc2b17 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_patch_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_patch_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_patch_document.py index 0d727a0fa..1955b909b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_post_optional_id.py b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_post_optional_id.py index 9f5f00b1d..a50d7eb38 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_post_optional_id.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_post_optional_id.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_post_optional_id_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_post_optional_id_document.py index 5316d479d..be9c39bf3 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_post_optional_id_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_memory_item_post_optional_id_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_metric_in.py index 2dfdd1060..8e17511da 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_metric_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_metric_in_attributes.py index ce2b334d1..6bfda3cf5 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_metric_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_in_attributes_content.py b/gooddata-api-client/gooddata_api_client/model/json_api_metric_in_attributes_content.py index 2284b4ec6..f42b7911b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_in_attributes_content.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_metric_in_attributes_content.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -93,7 +93,7 @@ def openapi_types(): """ return { 'maql': (str,), # noqa: E501 - 'format': (str,), # noqa: E501 + 'format': (str, none_type,), # noqa: E501 'metric_type': (str,), # noqa: E501 } @@ -152,7 +152,7 @@ def _from_openapi_data(cls, maql, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - format (str): [optional] # noqa: E501 + format (str, none_type): Excel-like format string with optional dynamic tokens. Filter value tokens: [$FILTER:] for raw filter value passthrough. Currency tokens: [$CURRENCY:] for currency symbol, with optional forms :symbol, :narrow, :code, :name. Locale abbreviations: [$K], [$M], [$B], [$T] for locale-specific scale abbreviations. Tokens are resolved at execution time based on AFM filters and user's format locale. Single-value filters only; multi-value filters use fallback values.. [optional] # noqa: E501 metric_type (str): Categorizes metric semantics (e.g., currency).. [optional] # noqa: E501 """ @@ -243,7 +243,7 @@ def __init__(self, maql, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - format (str): [optional] # noqa: E501 + format (str, none_type): Excel-like format string with optional dynamic tokens. Filter value tokens: [$FILTER:] for raw filter value passthrough. Currency tokens: [$CURRENCY:] for currency symbol, with optional forms :symbol, :narrow, :code, :name. Locale abbreviations: [$K], [$M], [$B], [$T] for locale-specific scale abbreviations. Tokens are resolved at execution time based on AFM filters and user's format locale. Single-value filters only; multi-value filters use fallback values.. [optional] # noqa: E501 metric_type (str): Categorizes metric semantics (e.g., currency).. [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_metric_in_document.py index 71397fb87..1bd87f5f9 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_metric_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_metric_linkage.py index 460a37ecc..095f93e26 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_metric_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_metric_out.py index 7ff40e868..39f102960 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_metric_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_attributes.py index dd87c1444..74d9ac642 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_document.py index 80593a1b9..fc1544384 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_includes.py b/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_includes.py index cc941bc44..666a279cb 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_includes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_includes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_list.py index 7e38c3294..d5c2050f6 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_relationships.py index 5c3ebc5c8..ee5d6a133 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_with_links.py index 97b662ae5..365cfa8f7 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_metric_patch.py index a7f5e553f..72e4cb696 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_metric_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_patch_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_metric_patch_attributes.py index e76b86442..16ff369c1 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_patch_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_metric_patch_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_metric_patch_document.py index c21a4d6c8..852c0f305 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_metric_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_post_optional_id.py b/gooddata-api-client/gooddata_api_client/model/json_api_metric_post_optional_id.py index 86e21f148..9ae2a3e02 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_post_optional_id.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_metric_post_optional_id.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_post_optional_id_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_metric_post_optional_id_document.py index b8698904f..69c2098f1 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_post_optional_id_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_metric_post_optional_id_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_to_many_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_metric_to_many_linkage.py index 6a5e44fc3..bde529780 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_to_many_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_metric_to_many_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_to_one_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_metric_to_one_linkage.py new file mode 100644 index 000000000..8d6156c69 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_metric_to_one_linkage.py @@ -0,0 +1,327 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.json_api_metric_linkage import JsonApiMetricLinkage + globals()['JsonApiMetricLinkage'] = JsonApiMetricLinkage + + +class JsonApiMetricToOneLinkage(ModelComposed): + """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 = { + ('type',): { + 'METRIC': "metric", + }, + } + + 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 = True + + @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 { + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """JsonApiMetricToOneLinkage - a model defined in OpenAPI + + 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,) + id (str): [optional] # noqa: E501 + type (str): [optional] if omitted the server will use the default value of "metric" # 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', ()) + + 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__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # 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', + '_composed_instances', + '_var_name_to_model_instances', + '_additional_properties_model_instances', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """JsonApiMetricToOneLinkage - a model defined in OpenAPI + + 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,) + id (str): [optional] # noqa: E501 + type (str): [optional] if omitted the server will use the default value of "metric" # 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__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # 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.") + + @cached_property + def _composed_schemas(): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + lazy_import() + return { + 'anyOf': [ + ], + 'allOf': [ + ], + 'oneOf': [ + JsonApiMetricLinkage, + ], + } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out.py index c82e5d404..25b808df6 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out_attributes.py index 3cd18a400..5df41054f 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out_document.py index b7a36300f..23379ce43 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out_list.py index 1175189b6..0b612b184 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out_with_links.py index d266e1886..e887cc9d0 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_identifier_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_in.py index a4c262d05..9b9a26791 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_in_attributes.py index 7717d6ba1..0c0ac1c11 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_in_attributes_destination.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_in_attributes_destination.py index d6cc96a30..1d58c8efb 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_in_attributes_destination.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_in_attributes_destination.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -78,6 +78,9 @@ class JsonApiNotificationChannelInAttributesDestination(ModelComposed): } validations = { + ('secret_key',): { + 'max_length': 10000, + }, ('token',): { 'max_length': 10000, }, @@ -118,7 +121,9 @@ def openapi_types(): 'password': (str,), # noqa: E501 'port': (int,), # noqa: E501 'username': (str,), # noqa: E501 + 'has_secret_key': (bool, none_type,), # noqa: E501 'has_token': (bool, none_type,), # noqa: E501 + 'secret_key': (str, none_type,), # noqa: E501 'token': (str, none_type,), # noqa: E501 'url': (str,), # noqa: E501 'type': (str,), # noqa: E501 @@ -136,13 +141,16 @@ def discriminator(): 'password': 'password', # noqa: E501 'port': 'port', # noqa: E501 'username': 'username', # noqa: E501 + 'has_secret_key': 'hasSecretKey', # noqa: E501 'has_token': 'hasToken', # noqa: E501 + 'secret_key': 'secretKey', # noqa: E501 'token': 'token', # noqa: E501 'url': 'url', # noqa: E501 'type': 'type', # noqa: E501 } read_only_vars = { + 'has_secret_key', # noqa: E501 'has_token', # noqa: E501 } @@ -188,7 +196,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 password (str): The SMTP server password.. [optional] # noqa: E501 port (int): The SMTP server port.. [optional] # noqa: E501 username (str): The SMTP server username.. [optional] # noqa: E501 + has_secret_key (bool, none_type): Flag indicating if webhook has a hmac secret key.. [optional] # noqa: E501 has_token (bool, none_type): Flag indicating if webhook has a token.. [optional] # noqa: E501 + secret_key (str, none_type): Hmac secret key for the webhook signature.. [optional] # noqa: E501 token (str, none_type): Bearer token for the webhook.. [optional] # noqa: E501 url (str): The webhook URL.. [optional] # noqa: E501 type (str): The destination type.. [optional] if omitted the server will use the default value of "WEBHOOK" # noqa: E501 @@ -301,7 +311,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 password (str): The SMTP server password.. [optional] # noqa: E501 port (int): The SMTP server port.. [optional] # noqa: E501 username (str): The SMTP server username.. [optional] # noqa: E501 + has_secret_key (bool, none_type): Flag indicating if webhook has a hmac secret key.. [optional] # noqa: E501 has_token (bool, none_type): Flag indicating if webhook has a token.. [optional] # noqa: E501 + secret_key (str, none_type): Hmac secret key for the webhook signature.. [optional] # noqa: E501 token (str, none_type): Bearer token for the webhook.. [optional] # noqa: E501 url (str): The webhook URL.. [optional] # noqa: E501 type (str): The destination type.. [optional] if omitted the server will use the default value of "WEBHOOK" # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_in_document.py index 08f66df8d..de9695a16 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_linkage.py index c21411e67..51f7e2afc 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out.py index 5eb57fd0b..ba71816c3 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out_attributes.py index 3454871ad..c8ecc6626 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out_document.py index 4ceb3157c..4559104ac 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out_list.py index 04056b5b2..e59ccd772 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out_with_links.py index d453211ed..6c66145da 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_patch.py index 317033a27..42b803874 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_patch_document.py index 9ebe88489..ffe2007f9 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_post_optional_id.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_post_optional_id.py index ce3fe1ca4..b1884982c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_post_optional_id.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_post_optional_id.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_post_optional_id_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_post_optional_id_document.py index 64b852b3a..62c6fb374 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_post_optional_id_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_post_optional_id_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_to_one_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_to_one_linkage.py index fe255ec6f..032fea864 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_to_one_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_notification_channel_to_one_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_in.py index 471c44c50..48d1adea0 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_in_attributes.py index b5752c799..046d009b5 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_in_document.py index 242606b37..053aeb30e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_in_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_in_relationships.py index 8e94bc1a5..c3da25530 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_in_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_in_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_in_relationships_identity_provider.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_in_relationships_identity_provider.py index 2a0f14240..13ad2aa6c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_in_relationships_identity_provider.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_in_relationships_identity_provider.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_out.py index 7b7b29129..10c0c7dee 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_attributes.py index 7e17b3427..9141ab86a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_attributes_cache_settings.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_attributes_cache_settings.py index cc7051a89..476187e83 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_attributes_cache_settings.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_attributes_cache_settings.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_document.py index 14d3ebd89..afa314e97 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_includes.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_includes.py index f71afe680..abb28137a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_includes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_includes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_meta.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_meta.py index cbd10176e..a2838f8dc 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_meta.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_meta.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_relationships.py index 2acb2ac6d..d09c5e7b0 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_relationships_bootstrap_user_group.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_relationships_bootstrap_user_group.py index ea7c60fba..503e31a08 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_relationships_bootstrap_user_group.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_relationships_bootstrap_user_group.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_patch.py index 0d4d6c111..2c295064d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_patch_document.py index e0300a230..3e12e6e88 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in.py index 988f11f5e..c155ff151 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_attributes.py index 56324ed72..82f14f680 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -61,6 +61,7 @@ class JsonApiOrganizationSettingInAttributes(ModelNormal): 'ACTIVE_THEME': "ACTIVE_THEME", 'ACTIVE_COLOR_PALETTE': "ACTIVE_COLOR_PALETTE", 'ACTIVE_LLM_ENDPOINT': "ACTIVE_LLM_ENDPOINT", + 'ACTIVE_CALENDARS': "ACTIVE_CALENDARS", 'WHITE_LABELING': "WHITE_LABELING", 'LOCALE': "LOCALE", 'METADATA_LOCALE': "METADATA_LOCALE", @@ -98,6 +99,8 @@ class JsonApiOrganizationSettingInAttributes(ModelNormal): 'SORT_CASE_SENSITIVE': "SORT_CASE_SENSITIVE", 'METRIC_FORMAT_OVERRIDE': "METRIC_FORMAT_OVERRIDE", 'ENABLE_AI_ON_DATA': "ENABLE_AI_ON_DATA", + 'API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE': "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", + 'ENABLE_NULL_JOINS': "ENABLE_NULL_JOINS", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_document.py index 140f75cca..5c86fbd43 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out.py index 31a427fbe..cfadc0d89 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_document.py index 109aec745..92d800273 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_list.py index 339eca486..ea08389be 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_with_links.py index acd24ffad..3662ae85c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_patch.py index a3d6ddfe5..1fadfdfbc 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_patch_document.py index cccc26f50..9f4c52902 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_theme_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_theme_in.py index 695f8c45a..5a800973d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_theme_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_theme_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_theme_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_theme_in_document.py index 2ced6112a..80ff90657 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_theme_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_theme_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_theme_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_theme_out.py index 8f8d2565e..d0365258a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_theme_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_theme_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_document.py index b61d619c6..8a636a1e9 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_list.py index 074d6a354..518eb3431 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_with_links.py index 6a42205c4..f1a377ed4 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_theme_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_theme_patch.py index 36a2fd9e5..642ddb626 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_theme_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_theme_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_theme_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_theme_patch_document.py index 5e8326993..25ddbca38 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_theme_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_theme_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in.py index a8138770f..85aa7d8ff 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in_attributes.py index 611fc9d3c..cafacf8c1 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in_document.py index 8fc788db8..daa98b0cc 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in_relationships.py index 69d42b85f..ce36186b5 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out.py index 5db83abe2..b15c5b010 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_document.py index 124c9b58b..a4f13d617 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_includes.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_includes.py index 6bd0cbfde..f802b01dd 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_includes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_includes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_list.py index 38fa9b790..c6be5c8c9 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_relationships.py index 990a13736..dc6fc1139 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_with_links.py index 4d918d3b4..65862e1d3 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_patch.py index 17eda7d48..a388b5898 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_patch_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_patch_attributes.py index bd3c18bc9..0f0f4f146 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_patch_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_patch_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_patch_document.py index 6dc376ade..4ced65b34 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_post_optional_id.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_post_optional_id.py index 3286c4565..f95e0a7ac 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_post_optional_id.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_post_optional_id.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_post_optional_id_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_post_optional_id_document.py index ff169e162..95757c80e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_post_optional_id_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_post_optional_id_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in.py index 60fff4957..afb209fd6 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_attributes.py index 65081a729..cc33fdf33 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_document.py index 7a6c0658b..4217aebce 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_relationships.py index 73f2e2f64..31593074d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_relationships_parents.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_relationships_parents.py index e9fb6e8c5..69de17a93 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_relationships_parents.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_relationships_parents.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_linkage.py index 3992d66f5..bafbdb343 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out.py index fff4ac780..aad01d259 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_document.py index 9569323ba..609743e9c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_list.py index d4de57b58..36c84d5ee 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_with_links.py index 1542e38d4..d82e198f9 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_patch.py index 21e49e787..ebc3c46b8 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_patch_document.py index e16f2e6f9..282508e00 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_to_many_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_to_many_linkage.py index e82b41825..79d476d7d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_to_many_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_to_many_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_to_one_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_to_one_linkage.py index 423629448..4d24b08f0 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_to_one_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_to_one_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_linkage.py index a222046c1..56aba3e43 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out.py index 38fcb0ce0..74bd64959 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out_attributes.py index 37236fe2e..47740adba 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out_document.py index a5b58f5c6..9c1c5995b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out_list.py index 90a652672..d07882be0 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out_with_links.py index 4489f8fdd..8538d4025 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_to_one_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_to_one_linkage.py index e328613a2..1e41562d7 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_to_one_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_identifier_to_one_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_in.py index 35066c069..ed5968325 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_in_attributes.py index eb9ec07e0..02774b74c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_in_document.py index 886b50047..cce4e049b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_in_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_in_relationships.py index a065bcc53..aa9eb65de 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_in_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_in_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_linkage.py index c696f1824..08bf538d6 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_out.py index 7c820e757..72d6a74e7 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_out_document.py index bf91724af..fe6722b71 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_out_list.py index 4fc448ce2..1949fbf29 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_out_with_links.py index 002a384f9..e7ca945ac 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_patch.py index 80faeb33c..6f7630c04 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_patch_document.py index 2daae72a9..88a2bd32d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_in.py index faa70c25a..3f45d0a7c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_in_document.py index ceb872794..16997408b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out.py index 4d0cda2b6..322f6ad85 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_document.py index 875fb9b4c..559294774 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_list.py index c26b64b04..a39e26fcd 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_with_links.py index 8793fa0bc..5db6242bf 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_to_many_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_to_many_linkage.py index 540a66ecb..39d3484e8 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_to_many_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_to_many_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_to_one_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_to_one_linkage.py index 3a29cd136..bdaf2a7bd 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_to_one_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_to_one_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in.py index 673a39145..be5558183 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in_attributes.py index 52fad07ff..b6a88f4a0 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in_document.py index ee08a6301..81d2d7e76 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_linkage.py index cfeae735a..2a97db9c5 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out.py index 5cbb922c9..6619de2d7 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_attributes.py index 9bf8d32a0..d58a6f0ee 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_document.py index 60ba9cea1..1483c461e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_list.py index 55693b5f8..a885d97eb 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_with_links.py index a5a3ccc57..ece493507 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch.py index db1411d7c..287de5264 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch_attributes.py index 0656b4c65..f73d2325b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch_document.py index 81fc9b8d5..d84d0fb9c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_post_optional_id.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_post_optional_id.py index a3973d2d9..d9d245e72 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_post_optional_id.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_post_optional_id.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_post_optional_id_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_post_optional_id_document.py index b93decd6c..900fe1252 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_post_optional_id_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_post_optional_id_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_to_many_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_to_many_linkage.py index a31b221b1..87f496397 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_to_many_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_to_many_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_to_one_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_to_one_linkage.py index 2e088e11d..d10a1efe2 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_to_one_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_to_one_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out.py index 46026361f..80404593f 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_includes.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_includes.py index ebf907810..eb6ed1f95 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_includes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_includes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_list.py index 870df883d..8fbf12d01 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_relationships.py index 1608b606e..9a5f44592 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_relationships_workspace.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_relationships_workspace.py index 1e88a1b53..c30fc0fb2 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_relationships_workspace.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_relationships_workspace.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_with_links.py index ab0244692..1da371736 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_automation_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in.py index cac3e0fbf..82033faf0 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in_attributes.py index 18a4d9c3e..4199c9de9 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in_document.py index b3c66bb0b..8d097ddec 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in_relationships.py index 7a64cd2b2..5fbbfe0b8 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in_relationships_filter_settings.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in_relationships_filter_settings.py index cd2ad41cd..7c7a3d3a7 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in_relationships_filter_settings.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in_relationships_filter_settings.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_linkage.py index bfdfe5c0b..0f866dcab 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out.py index 2017a6842..e643deaca 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_document.py index 370909507..a7d8bfb48 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_list.py index eef3d0118..24fe79608 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_with_links.py index 024176d52..1d92ee795 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_patch.py index c045fc1bf..4fa236ed9 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_patch_document.py index b13e0eba2..3af2c0215 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in.py index 26bf6da0c..748c680ee 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in_attributes.py index 92f3bfbe2..d7188bdfa 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in_document.py index f8a42e571..f9aabd0f2 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in_relationships.py index 499f0c7a1..151a52b05 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in_relationships_workspace_data_filter.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in_relationships_workspace_data_filter.py index 9752cd0dd..af75cfd96 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in_relationships_workspace_data_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_in_relationships_workspace_data_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_linkage.py index c8db6b4c1..f5ea6253c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out.py index bd5981fdd..e56c823a5 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_document.py index 8cf426cb8..dba11b5cb 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_list.py index 74885e505..1a280d3c6 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_with_links.py index 6629fe693..9d25b39c2 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_patch.py index 461eced29..958382903 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_patch_document.py index b2b4aecf3..aebc5983d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_to_many_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_to_many_linkage.py index dc2ebd7fb..4f952498e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_to_many_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_to_many_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_to_many_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_to_many_linkage.py index da2271ea4..f393b79c9 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_to_many_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_to_many_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_to_one_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_to_one_linkage.py index 8123bc89c..90b130556 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_to_one_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_to_one_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in.py index 5a466a969..be1f53707 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in_attributes.py index 663da38c7..83fa62321 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in_attributes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in_attributes_data_source.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in_attributes_data_source.py index a5370a8c0..469386b66 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in_attributes_data_source.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in_attributes_data_source.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in_document.py index f29b24093..29962176c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in_relationships.py index 58a9be330..23ed783d5 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in_relationships.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in_relationships.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_linkage.py index dd1ca214a..92fb5e2c3 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out.py index 65794d693..64ed2e831 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_document.py index bf19ab726..9d7315442 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_list.py index aaf1172b5..d7fc4e6e4 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta.py index 5771a0633..66550871b 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta_config.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta_config.py index 01f7b6641..846828614 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta_config.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta_config.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta_data_model.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta_data_model.py index ec8c6f53e..a3d3b9c66 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta_data_model.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta_data_model.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta_hierarchy.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta_hierarchy.py index 0a3392cf9..682b20940 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta_hierarchy.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta_hierarchy.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_with_links.py index 9adfff6af..23927c292 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_patch.py index 9a24ccc62..71c06a5ed 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_patch_document.py index b75ecb199..0eaab92b1 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_in.py index f86f1ac13..3a7a4b2f1 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_in.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_in_document.py index bb9d3b3d2..7a74e3b6d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_in_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out.py index 91a07a48b..649529b45 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_document.py index 9d7259f8e..1ec29a1c2 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_list.py index 4ca5def2c..34263dd72 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_list.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_with_links.py index e0fcec1e5..c70905fbd 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_with_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_patch.py index 8c7fb324b..b2c78f70c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_patch.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_patch_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_patch_document.py index e72c1d82c..8d61d983c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_patch_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_post_optional_id.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_post_optional_id.py index 1e88a7caf..b224e83e5 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_post_optional_id.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_post_optional_id.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_post_optional_id_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_post_optional_id_document.py index acb9e3a9c..c3afa3b15 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_post_optional_id_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_post_optional_id_document.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_to_one_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_to_one_linkage.py index c7354fee0..a98406522 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_to_one_linkage.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_to_one_linkage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_node.py b/gooddata-api-client/gooddata_api_client/model/json_node.py index 92e6feae1..2b79a9d20 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_node.py +++ b/gooddata-api-client/gooddata_api_client/model/json_node.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/key_drivers_dimension.py b/gooddata-api-client/gooddata_api_client/model/key_drivers_dimension.py index bb65f3599..87fa5e84b 100644 --- a/gooddata-api-client/gooddata_api_client/model/key_drivers_dimension.py +++ b/gooddata-api-client/gooddata_api_client/model/key_drivers_dimension.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/key_drivers_request.py b/gooddata-api-client/gooddata_api_client/model/key_drivers_request.py index 1941f1963..9429d79ce 100644 --- a/gooddata-api-client/gooddata_api_client/model/key_drivers_request.py +++ b/gooddata-api-client/gooddata_api_client/model/key_drivers_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/key_drivers_response.py b/gooddata-api-client/gooddata_api_client/model/key_drivers_response.py index 8c4052808..bcd58ad46 100644 --- a/gooddata-api-client/gooddata_api_client/model/key_drivers_response.py +++ b/gooddata-api-client/gooddata_api_client/model/key_drivers_response.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/key_drivers_result.py b/gooddata-api-client/gooddata_api_client/model/key_drivers_result.py index 4b3fd604f..b7e7e28d1 100644 --- a/gooddata-api-client/gooddata_api_client/model/key_drivers_result.py +++ b/gooddata-api-client/gooddata_api_client/model/key_drivers_result.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/label_identifier.py b/gooddata-api-client/gooddata_api_client/model/label_identifier.py index ee9cff094..900a5e29f 100644 --- a/gooddata-api-client/gooddata_api_client/model/label_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/label_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/list_links.py b/gooddata-api-client/gooddata_api_client/model/list_links.py index 13b32bdc8..a7ef11736 100644 --- a/gooddata-api-client/gooddata_api_client/model/list_links.py +++ b/gooddata-api-client/gooddata_api_client/model/list_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/list_links_all_of.py b/gooddata-api-client/gooddata_api_client/model/list_links_all_of.py index b309bc22b..0c8616e25 100644 --- a/gooddata-api-client/gooddata_api_client/model/list_links_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/list_links_all_of.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/live_feature_flag_configuration.py b/gooddata-api-client/gooddata_api_client/model/live_feature_flag_configuration.py new file mode 100644 index 000000000..4018fbba4 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/live_feature_flag_configuration.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: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class LiveFeatureFlagConfiguration(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'host': (str,), # noqa: E501 + 'key': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'host': 'host', # noqa: E501 + 'key': 'key', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, host, key, *args, **kwargs): # noqa: E501 + """LiveFeatureFlagConfiguration - a model defined in OpenAPI + + Args: + host (str): + key (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.host = host + self.key = key + 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, host, key, *args, **kwargs): # noqa: E501 + """LiveFeatureFlagConfiguration - a model defined in OpenAPI + + Args: + host (str): + key (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.host = host + self.key = key + 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/live_features.py b/gooddata-api-client/gooddata_api_client/model/live_features.py new file mode 100644 index 000000000..84b5694dc --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/live_features.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: 90a5773 + 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.live_features_live import LiveFeaturesLive + globals()['LiveFeaturesLive'] = LiveFeaturesLive + + +class LiveFeatures(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 { + 'live': (LiveFeaturesLive,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'live': 'live', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, live, *args, **kwargs): # noqa: E501 + """LiveFeatures - a model defined in OpenAPI + + Args: + live (LiveFeaturesLive): + + 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.live = live + 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, live, *args, **kwargs): # noqa: E501 + """LiveFeatures - a model defined in OpenAPI + + Args: + live (LiveFeaturesLive): + + 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.live = live + 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/live_features_live.py b/gooddata-api-client/gooddata_api_client/model/live_features_live.py new file mode 100644 index 000000000..5b2f33d5b --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/live_features_live.py @@ -0,0 +1,331 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.feature_flags_context import FeatureFlagsContext + from gooddata_api_client.model.features import Features + from gooddata_api_client.model.live_feature_flag_configuration import LiveFeatureFlagConfiguration + from gooddata_api_client.model.live_features_live_all_of import LiveFeaturesLiveAllOf + globals()['FeatureFlagsContext'] = FeatureFlagsContext + globals()['Features'] = Features + globals()['LiveFeatureFlagConfiguration'] = LiveFeatureFlagConfiguration + globals()['LiveFeaturesLiveAllOf'] = LiveFeaturesLiveAllOf + + +class LiveFeaturesLive(ModelComposed): + """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 { + 'context': (FeatureFlagsContext,), # noqa: E501 + 'configuration': (LiveFeatureFlagConfiguration,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'context': 'context', # noqa: E501 + 'configuration': 'configuration', # noqa: E501 + } + + read_only_vars = { + } + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """LiveFeaturesLive - a model defined in OpenAPI + + Keyword Args: + context (FeatureFlagsContext): + configuration (LiveFeatureFlagConfiguration): + _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', ()) + + 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__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # 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', + '_composed_instances', + '_var_name_to_model_instances', + '_additional_properties_model_instances', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """LiveFeaturesLive - a model defined in OpenAPI + + Keyword Args: + context (FeatureFlagsContext): + configuration (LiveFeatureFlagConfiguration): + _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__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # 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.") + + @cached_property + def _composed_schemas(): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + lazy_import() + return { + 'anyOf': [ + ], + 'allOf': [ + Features, + LiveFeaturesLiveAllOf, + ], + 'oneOf': [ + ], + } diff --git a/gooddata-api-client/gooddata_api_client/model/live_features_live_all_of.py b/gooddata-api-client/gooddata_api_client/model/live_features_live_all_of.py new file mode 100644 index 000000000..974f0f9bf --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/live_features_live_all_of.py @@ -0,0 +1,270 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.live_feature_flag_configuration import LiveFeatureFlagConfiguration + globals()['LiveFeatureFlagConfiguration'] = LiveFeatureFlagConfiguration + + +class LiveFeaturesLiveAllOf(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 { + 'configuration': (LiveFeatureFlagConfiguration,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'configuration': 'configuration', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """LiveFeaturesLiveAllOf - a model defined in OpenAPI + + 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,) + configuration (LiveFeatureFlagConfiguration): [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__,) + + 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, *args, **kwargs): # noqa: E501 + """LiveFeaturesLiveAllOf - a model defined in OpenAPI + + 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,) + configuration (LiveFeatureFlagConfiguration): [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__,) + + 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/local_identifier.py b/gooddata-api-client/gooddata_api_client/model/local_identifier.py index 5a5313c68..3c644087e 100644 --- a/gooddata-api-client/gooddata_api_client/model/local_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/local_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/locale_request.py b/gooddata-api-client/gooddata_api_client/model/locale_request.py index dae7d1eed..4c08b720f 100644 --- a/gooddata-api-client/gooddata_api_client/model/locale_request.py +++ b/gooddata-api-client/gooddata_api_client/model/locale_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/manage_dashboard_permissions_request_inner.py b/gooddata-api-client/gooddata_api_client/model/manage_dashboard_permissions_request_inner.py index 72b4aa6ad..0b36a5c0a 100644 --- a/gooddata-api-client/gooddata_api_client/model/manage_dashboard_permissions_request_inner.py +++ b/gooddata-api-client/gooddata_api_client/model/manage_dashboard_permissions_request_inner.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/matomo_service.py b/gooddata-api-client/gooddata_api_client/model/matomo_service.py new file mode 100644 index 000000000..427004b98 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/matomo_service.py @@ -0,0 +1,280 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class MatomoService(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'host': (str,), # noqa: E501 + 'site_id': (int,), # noqa: E501 + 'reporting_endpoint': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'host': 'host', # noqa: E501 + 'site_id': 'siteId', # noqa: E501 + 'reporting_endpoint': 'reportingEndpoint', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, host, site_id, *args, **kwargs): # noqa: E501 + """MatomoService - a model defined in OpenAPI + + Args: + host (str): Telemetry host to send events to. + site_id (int): Site ID on telemetry server. + + 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,) + reporting_endpoint (str): Optional reporting endpoint for proxying telemetry events.. [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.host = host + self.site_id = site_id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, host, site_id, *args, **kwargs): # noqa: E501 + """MatomoService - a model defined in OpenAPI + + Args: + host (str): Telemetry host to send events to. + site_id (int): Site ID on telemetry server. + + 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,) + reporting_endpoint (str): Optional reporting endpoint for proxying telemetry events.. [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.host = host + self.site_id = site_id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/measure_definition.py b/gooddata-api-client/gooddata_api_client/model/measure_definition.py index e7d2b88db..4aa90ccac 100644 --- a/gooddata-api-client/gooddata_api_client/model/measure_definition.py +++ b/gooddata-api-client/gooddata_api_client/model/measure_definition.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/measure_execution_result_header.py b/gooddata-api-client/gooddata_api_client/model/measure_execution_result_header.py index cd6c98894..dad7eec53 100644 --- a/gooddata-api-client/gooddata_api_client/model/measure_execution_result_header.py +++ b/gooddata-api-client/gooddata_api_client/model/measure_execution_result_header.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/measure_group_headers.py b/gooddata-api-client/gooddata_api_client/model/measure_group_headers.py index 9bbe6d2fa..c54af10d4 100644 --- a/gooddata-api-client/gooddata_api_client/model/measure_group_headers.py +++ b/gooddata-api-client/gooddata_api_client/model/measure_group_headers.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/measure_header.py b/gooddata-api-client/gooddata_api_client/model/measure_header.py index 11d216cbd..909eeb824 100644 --- a/gooddata-api-client/gooddata_api_client/model/measure_header.py +++ b/gooddata-api-client/gooddata_api_client/model/measure_header.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/measure_item.py b/gooddata-api-client/gooddata_api_client/model/measure_item.py index aa26f1814..edf254717 100644 --- a/gooddata-api-client/gooddata_api_client/model/measure_item.py +++ b/gooddata-api-client/gooddata_api_client/model/measure_item.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/measure_item_definition.py b/gooddata-api-client/gooddata_api_client/model/measure_item_definition.py index b6def417f..ad026d5a1 100644 --- a/gooddata-api-client/gooddata_api_client/model/measure_item_definition.py +++ b/gooddata-api-client/gooddata_api_client/model/measure_item_definition.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/measure_result_header.py b/gooddata-api-client/gooddata_api_client/model/measure_result_header.py index b8e2f86ab..d4d9db6a6 100644 --- a/gooddata-api-client/gooddata_api_client/model/measure_result_header.py +++ b/gooddata-api-client/gooddata_api_client/model/measure_result_header.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/measure_value_condition.py b/gooddata-api-client/gooddata_api_client/model/measure_value_condition.py new file mode 100644 index 000000000..fce1ac0e8 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/measure_value_condition.py @@ -0,0 +1,331 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.comparison_condition import ComparisonCondition + from gooddata_api_client.model.comparison_condition_comparison import ComparisonConditionComparison + from gooddata_api_client.model.range_condition import RangeCondition + from gooddata_api_client.model.range_condition_range import RangeConditionRange + globals()['ComparisonCondition'] = ComparisonCondition + globals()['ComparisonConditionComparison'] = ComparisonConditionComparison + globals()['RangeCondition'] = RangeCondition + globals()['RangeConditionRange'] = RangeConditionRange + + +class MeasureValueCondition(ModelComposed): + """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 { + 'comparison': (ComparisonConditionComparison,), # noqa: E501 + 'range': (RangeConditionRange,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'comparison': 'comparison', # noqa: E501 + 'range': 'range', # noqa: E501 + } + + read_only_vars = { + } + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """MeasureValueCondition - a model defined in OpenAPI + + 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,) + comparison (ComparisonConditionComparison): [optional] # noqa: E501 + range (RangeConditionRange): [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', ()) + + 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__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # 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', + '_composed_instances', + '_var_name_to_model_instances', + '_additional_properties_model_instances', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """MeasureValueCondition - a model defined in OpenAPI + + 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,) + comparison (ComparisonConditionComparison): [optional] # noqa: E501 + range (RangeConditionRange): [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__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # 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.") + + @cached_property + def _composed_schemas(): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + lazy_import() + return { + 'anyOf': [ + ], + 'allOf': [ + ], + 'oneOf': [ + ComparisonCondition, + RangeCondition, + ], + } diff --git a/gooddata-api-client/gooddata_api_client/model/measure_value_filter.py b/gooddata-api-client/gooddata_api_client/model/measure_value_filter.py index 559a24513..77b6d367d 100644 --- a/gooddata-api-client/gooddata_api_client/model/measure_value_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/measure_value_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -33,10 +33,14 @@ def lazy_import(): from gooddata_api_client.model.comparison_measure_value_filter import ComparisonMeasureValueFilter from gooddata_api_client.model.comparison_measure_value_filter_comparison_measure_value_filter import ComparisonMeasureValueFilterComparisonMeasureValueFilter + from gooddata_api_client.model.compound_measure_value_filter import CompoundMeasureValueFilter + from gooddata_api_client.model.compound_measure_value_filter_compound_measure_value_filter import CompoundMeasureValueFilterCompoundMeasureValueFilter from gooddata_api_client.model.range_measure_value_filter import RangeMeasureValueFilter from gooddata_api_client.model.range_measure_value_filter_range_measure_value_filter import RangeMeasureValueFilterRangeMeasureValueFilter globals()['ComparisonMeasureValueFilter'] = ComparisonMeasureValueFilter globals()['ComparisonMeasureValueFilterComparisonMeasureValueFilter'] = ComparisonMeasureValueFilterComparisonMeasureValueFilter + globals()['CompoundMeasureValueFilter'] = CompoundMeasureValueFilter + globals()['CompoundMeasureValueFilterCompoundMeasureValueFilter'] = CompoundMeasureValueFilterCompoundMeasureValueFilter globals()['RangeMeasureValueFilter'] = RangeMeasureValueFilter globals()['RangeMeasureValueFilterRangeMeasureValueFilter'] = RangeMeasureValueFilterRangeMeasureValueFilter @@ -96,6 +100,7 @@ def openapi_types(): return { 'comparison_measure_value_filter': (ComparisonMeasureValueFilterComparisonMeasureValueFilter,), # noqa: E501 'range_measure_value_filter': (RangeMeasureValueFilterRangeMeasureValueFilter,), # noqa: E501 + 'compound_measure_value_filter': (CompoundMeasureValueFilterCompoundMeasureValueFilter,), # noqa: E501 } @cached_property @@ -106,6 +111,7 @@ def discriminator(): attribute_map = { 'comparison_measure_value_filter': 'comparisonMeasureValueFilter', # noqa: E501 'range_measure_value_filter': 'rangeMeasureValueFilter', # noqa: E501 + 'compound_measure_value_filter': 'compoundMeasureValueFilter', # noqa: E501 } read_only_vars = { @@ -149,6 +155,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) comparison_measure_value_filter (ComparisonMeasureValueFilterComparisonMeasureValueFilter): [optional] # noqa: E501 range_measure_value_filter (RangeMeasureValueFilterRangeMeasureValueFilter): [optional] # noqa: E501 + compound_measure_value_filter (CompoundMeasureValueFilterCompoundMeasureValueFilter): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,6 +261,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) comparison_measure_value_filter (ComparisonMeasureValueFilterComparisonMeasureValueFilter): [optional] # noqa: E501 range_measure_value_filter (RangeMeasureValueFilterRangeMeasureValueFilter): [optional] # noqa: E501 + compound_measure_value_filter (CompoundMeasureValueFilterCompoundMeasureValueFilter): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -326,6 +334,7 @@ def _composed_schemas(): ], 'oneOf': [ ComparisonMeasureValueFilter, + CompoundMeasureValueFilter, RangeMeasureValueFilter, ], } diff --git a/gooddata-api-client/gooddata_api_client/model/memory_item_created_by_users.py b/gooddata-api-client/gooddata_api_client/model/memory_item_created_by_users.py index 0f12d54ac..2aa3e4eea 100644 --- a/gooddata-api-client/gooddata_api_client/model/memory_item_created_by_users.py +++ b/gooddata-api-client/gooddata_api_client/model/memory_item_created_by_users.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/memory_item_user.py b/gooddata-api-client/gooddata_api_client/model/memory_item_user.py index a469fd150..0c1ae2ee2 100644 --- a/gooddata-api-client/gooddata_api_client/model/memory_item_user.py +++ b/gooddata-api-client/gooddata_api_client/model/memory_item_user.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/metric.py b/gooddata-api-client/gooddata_api_client/model/metric.py index 69df26fe1..ab582696f 100644 --- a/gooddata-api-client/gooddata_api_client/model/metric.py +++ b/gooddata-api-client/gooddata_api_client/model/metric.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/metric_record.py b/gooddata-api-client/gooddata_api_client/model/metric_record.py index dd65219f9..894ae7dd5 100644 --- a/gooddata-api-client/gooddata_api_client/model/metric_record.py +++ b/gooddata-api-client/gooddata_api_client/model/metric_record.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/metric_value_change.py b/gooddata-api-client/gooddata_api_client/model/metric_value_change.py index d92704130..505f9548f 100644 --- a/gooddata-api-client/gooddata_api_client/model/metric_value_change.py +++ b/gooddata-api-client/gooddata_api_client/model/metric_value_change.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/negative_attribute_filter.py b/gooddata-api-client/gooddata_api_client/model/negative_attribute_filter.py index 1fbcbcfbb..c4e9b227a 100644 --- a/gooddata-api-client/gooddata_api_client/model/negative_attribute_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/negative_attribute_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/negative_attribute_filter_negative_attribute_filter.py b/gooddata-api-client/gooddata_api_client/model/negative_attribute_filter_negative_attribute_filter.py index a7eed4428..fb2404db7 100644 --- a/gooddata-api-client/gooddata_api_client/model/negative_attribute_filter_negative_attribute_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/negative_attribute_filter_negative_attribute_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/note.py b/gooddata-api-client/gooddata_api_client/model/note.py index d87208d1a..7352a75ac 100644 --- a/gooddata-api-client/gooddata_api_client/model/note.py +++ b/gooddata-api-client/gooddata_api_client/model/note.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/notes.py b/gooddata-api-client/gooddata_api_client/model/notes.py index 9c91f4f85..1c7f125e5 100644 --- a/gooddata-api-client/gooddata_api_client/model/notes.py +++ b/gooddata-api-client/gooddata_api_client/model/notes.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -107,9 +107,12 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, note, *args, **kwargs): # noqa: E501 """Notes - a model defined in OpenAPI + Args: + note ([Note]): + Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -141,7 +144,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - note ([Note]): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -173,6 +175,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.note = note for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -193,9 +196,12 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 + def __init__(self, note, *args, **kwargs): # noqa: E501 """Notes - a model defined in OpenAPI + Args: + note ([Note]): + Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -227,7 +233,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - note ([Note]): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -257,6 +262,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.note = note for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/gooddata-api-client/gooddata_api_client/model/notification.py b/gooddata-api-client/gooddata_api_client/model/notification.py index 305144c6a..ea2ca9971 100644 --- a/gooddata-api-client/gooddata_api_client/model/notification.py +++ b/gooddata-api-client/gooddata_api_client/model/notification.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/notification_channel_destination.py b/gooddata-api-client/gooddata_api_client/model/notification_channel_destination.py index 09f74e5f2..111f74778 100644 --- a/gooddata-api-client/gooddata_api_client/model/notification_channel_destination.py +++ b/gooddata-api-client/gooddata_api_client/model/notification_channel_destination.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -75,6 +75,9 @@ class NotificationChannelDestination(ModelComposed): } validations = { + ('secret_key',): { + 'max_length': 10000, + }, ('token',): { 'max_length': 10000, }, @@ -110,7 +113,9 @@ def openapi_types(): lazy_import() return { 'type': (str,), # noqa: E501 + 'has_secret_key': (bool, none_type,), # noqa: E501 'has_token': (bool, none_type,), # noqa: E501 + 'secret_key': (str, none_type,), # noqa: E501 'token': (str, none_type,), # noqa: E501 'url': (str,), # noqa: E501 'from_email': (str,), # noqa: E501 @@ -128,7 +133,9 @@ def discriminator(): attribute_map = { 'type': 'type', # noqa: E501 + 'has_secret_key': 'hasSecretKey', # noqa: E501 'has_token': 'hasToken', # noqa: E501 + 'secret_key': 'secretKey', # noqa: E501 'token': 'token', # noqa: E501 'url': 'url', # noqa: E501 'from_email': 'fromEmail', # noqa: E501 @@ -140,6 +147,7 @@ def discriminator(): } read_only_vars = { + 'has_secret_key', # noqa: E501 'has_token', # noqa: E501 } @@ -180,7 +188,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + has_secret_key (bool, none_type): Flag indicating if webhook has a hmac secret key.. [optional] # noqa: E501 has_token (bool, none_type): Flag indicating if webhook has a token.. [optional] # noqa: E501 + secret_key (str, none_type): Hmac secret key for the webhook signature.. [optional] # noqa: E501 token (str, none_type): Bearer token for the webhook.. [optional] # noqa: E501 url (str): The webhook URL.. [optional] # noqa: E501 from_email (str): E-mail address to send notifications from. Currently this does not have any effect. E-mail 'no-reply@gooddata.com' is used instead.. [optional] if omitted the server will use the default value of no-reply@gooddata.com # noqa: E501 @@ -293,7 +303,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + has_secret_key (bool, none_type): Flag indicating if webhook has a hmac secret key.. [optional] # noqa: E501 has_token (bool, none_type): Flag indicating if webhook has a token.. [optional] # noqa: E501 + secret_key (str, none_type): Hmac secret key for the webhook signature.. [optional] # noqa: E501 token (str, none_type): Bearer token for the webhook.. [optional] # noqa: E501 url (str): The webhook URL.. [optional] # noqa: E501 from_email (str): E-mail address to send notifications from. Currently this does not have any effect. E-mail 'no-reply@gooddata.com' is used instead.. [optional] if omitted the server will use the default value of no-reply@gooddata.com # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/notification_content.py b/gooddata-api-client/gooddata_api_client/model/notification_content.py index acf1a390d..6a0d30e1c 100644 --- a/gooddata-api-client/gooddata_api_client/model/notification_content.py +++ b/gooddata-api-client/gooddata_api_client/model/notification_content.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/notification_data.py b/gooddata-api-client/gooddata_api_client/model/notification_data.py index 1cfb66b77..5636a9d63 100644 --- a/gooddata-api-client/gooddata_api_client/model/notification_data.py +++ b/gooddata-api-client/gooddata_api_client/model/notification_data.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/notification_filter.py b/gooddata-api-client/gooddata_api_client/model/notification_filter.py index 3f77cd810..56dd4a684 100644 --- a/gooddata-api-client/gooddata_api_client/model/notification_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/notification_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/notifications.py b/gooddata-api-client/gooddata_api_client/model/notifications.py index d17e12fad..5b827d14a 100644 --- a/gooddata-api-client/gooddata_api_client/model/notifications.py +++ b/gooddata-api-client/gooddata_api_client/model/notifications.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/notifications_meta.py b/gooddata-api-client/gooddata_api_client/model/notifications_meta.py index dcab676a8..5b65cf099 100644 --- a/gooddata-api-client/gooddata_api_client/model/notifications_meta.py +++ b/gooddata-api-client/gooddata_api_client/model/notifications_meta.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/notifications_meta_total.py b/gooddata-api-client/gooddata_api_client/model/notifications_meta_total.py index 5c1b26219..22a961b20 100644 --- a/gooddata-api-client/gooddata_api_client/model/notifications_meta_total.py +++ b/gooddata-api-client/gooddata_api_client/model/notifications_meta_total.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/object_links.py b/gooddata-api-client/gooddata_api_client/model/object_links.py index 2b05b6b58..75342022e 100644 --- a/gooddata-api-client/gooddata_api_client/model/object_links.py +++ b/gooddata-api-client/gooddata_api_client/model/object_links.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/object_links_container.py b/gooddata-api-client/gooddata_api_client/model/object_links_container.py index db0b8efc2..bec1a337e 100644 --- a/gooddata-api-client/gooddata_api_client/model/object_links_container.py +++ b/gooddata-api-client/gooddata_api_client/model/object_links_container.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/open_telemetry_service.py b/gooddata-api-client/gooddata_api_client/model/open_telemetry_service.py new file mode 100644 index 000000000..7f9ef0ecf --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/open_telemetry_service.py @@ -0,0 +1,270 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class OpenTelemetryService(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'host': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'host': 'host', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, host, *args, **kwargs): # noqa: E501 + """OpenTelemetryService - a model defined in OpenAPI + + Args: + host (str): Telemetry host to send events to. + + 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.host = host + 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, host, *args, **kwargs): # noqa: E501 + """OpenTelemetryService - a model defined in OpenAPI + + Args: + host (str): Telemetry host to send events to. + + 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.host = host + 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/organization_automation_identifier.py b/gooddata-api-client/gooddata_api_client/model/organization_automation_identifier.py index 2f8c98fd4..3d039e0a3 100644 --- a/gooddata-api-client/gooddata_api_client/model/organization_automation_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/organization_automation_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/organization_automation_management_bulk_request.py b/gooddata-api-client/gooddata_api_client/model/organization_automation_management_bulk_request.py index 3ca8cb2b4..c5e50c5f2 100644 --- a/gooddata-api-client/gooddata_api_client/model/organization_automation_management_bulk_request.py +++ b/gooddata-api-client/gooddata_api_client/model/organization_automation_management_bulk_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/organization_cache_settings.py b/gooddata-api-client/gooddata_api_client/model/organization_cache_settings.py new file mode 100644 index 000000000..6d6da95cb --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/organization_cache_settings.py @@ -0,0 +1,270 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class OrganizationCacheSettings(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'extra_cache_budget': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'extra_cache_budget': 'extraCacheBudget', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, extra_cache_budget, *args, **kwargs): # noqa: E501 + """OrganizationCacheSettings - a model defined in OpenAPI + + Args: + extra_cache_budget (int): Extra cache budget the organization can allocate among its workspaces, in bytes. + + 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.extra_cache_budget = extra_cache_budget + 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, extra_cache_budget, *args, **kwargs): # noqa: E501 + """OrganizationCacheSettings - a model defined in OpenAPI + + Args: + extra_cache_budget (int): Extra cache budget the organization can allocate among its workspaces, in bytes. + + 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.extra_cache_budget = extra_cache_budget + 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/organization_cache_usage.py b/gooddata-api-client/gooddata_api_client/model/organization_cache_usage.py new file mode 100644 index 000000000..71736da61 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/organization_cache_usage.py @@ -0,0 +1,292 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.cache_removal_interval import CacheRemovalInterval + from gooddata_api_client.model.organization_cache_settings import OrganizationCacheSettings + from gooddata_api_client.model.organization_current_cache_usage import OrganizationCurrentCacheUsage + globals()['CacheRemovalInterval'] = CacheRemovalInterval + globals()['OrganizationCacheSettings'] = OrganizationCacheSettings + globals()['OrganizationCurrentCacheUsage'] = OrganizationCurrentCacheUsage + + +class OrganizationCacheUsage(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 { + 'current': (OrganizationCurrentCacheUsage,), # noqa: E501 + 'removal_intervals': ([CacheRemovalInterval],), # noqa: E501 + 'settings': (OrganizationCacheSettings,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'current': 'current', # noqa: E501 + 'removal_intervals': 'removalIntervals', # noqa: E501 + 'settings': 'settings', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, current, removal_intervals, settings, *args, **kwargs): # noqa: E501 + """OrganizationCacheUsage - a model defined in OpenAPI + + Args: + current (OrganizationCurrentCacheUsage): + removal_intervals ([CacheRemovalInterval]): List of cache removal intervals. + settings (OrganizationCacheSettings): + + 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.current = current + self.removal_intervals = removal_intervals + self.settings = settings + 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, current, removal_intervals, settings, *args, **kwargs): # noqa: E501 + """OrganizationCacheUsage - a model defined in OpenAPI + + Args: + current (OrganizationCurrentCacheUsage): + removal_intervals ([CacheRemovalInterval]): List of cache removal intervals. + settings (OrganizationCacheSettings): + + 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.current = current + self.removal_intervals = removal_intervals + self.settings = settings + 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/organization_current_cache_usage.py b/gooddata-api-client/gooddata_api_client/model/organization_current_cache_usage.py new file mode 100644 index 000000000..65ef03a26 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/organization_current_cache_usage.py @@ -0,0 +1,280 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class OrganizationCurrentCacheUsage(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'cache_used': (int,), # noqa: E501 + 'removed_since_start': (int,), # noqa: E501 + 'removal_period_start': (datetime,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'cache_used': 'cacheUsed', # noqa: E501 + 'removed_since_start': 'removedSinceStart', # noqa: E501 + 'removal_period_start': 'removalPeriodStart', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, cache_used, removed_since_start, *args, **kwargs): # noqa: E501 + """OrganizationCurrentCacheUsage - a model defined in OpenAPI + + Args: + cache_used (int): Cache currently used by the organization, in bytes. + removed_since_start (int): Bytes removed since start due to insufficient cache. + + 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,) + removal_period_start (datetime): Start timestamp of removal period.. [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.cache_used = cache_used + self.removed_since_start = removed_since_start + 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, cache_used, removed_since_start, *args, **kwargs): # noqa: E501 + """OrganizationCurrentCacheUsage - a model defined in OpenAPI + + Args: + cache_used (int): Cache currently used by the organization, in bytes. + removed_since_start (int): Bytes removed since start due to insufficient cache. + + 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,) + removal_period_start (datetime): Start timestamp of removal period.. [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.cache_used = cache_used + self.removed_since_start = removed_since_start + 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/organization_permission_assignment.py b/gooddata-api-client/gooddata_api_client/model/organization_permission_assignment.py index dbb2a0554..03c2447bd 100644 --- a/gooddata-api-client/gooddata_api_client/model/organization_permission_assignment.py +++ b/gooddata-api-client/gooddata_api_client/model/organization_permission_assignment.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/outlier_detection_request.py b/gooddata-api-client/gooddata_api_client/model/outlier_detection_request.py new file mode 100644 index 000000000..78ecb1d30 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/outlier_detection_request.py @@ -0,0 +1,324 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.attribute_item import AttributeItem + from gooddata_api_client.model.change_analysis_params_filters_inner import ChangeAnalysisParamsFiltersInner + from gooddata_api_client.model.measure_item import MeasureItem + globals()['AttributeItem'] = AttributeItem + globals()['ChangeAnalysisParamsFiltersInner'] = ChangeAnalysisParamsFiltersInner + globals()['MeasureItem'] = MeasureItem + + +class OutlierDetectionRequest(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 = { + ('granularity',): { + 'HOUR': "HOUR", + 'DAY': "DAY", + 'WEEK': "WEEK", + 'MONTH': "MONTH", + 'QUARTER': "QUARTER", + 'YEAR': "YEAR", + }, + ('sensitivity',): { + 'LOW': "LOW", + 'MEDIUM': "MEDIUM", + 'HIGH': "HIGH", + }, + } + + validations = { + ('measures',): { + 'min_items': 1, + }, + } + + @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 { + 'attributes': ([AttributeItem],), # noqa: E501 + 'filters': ([ChangeAnalysisParamsFiltersInner],), # noqa: E501 + 'granularity': (str,), # noqa: E501 + 'measures': ([MeasureItem],), # noqa: E501 + 'sensitivity': (str,), # noqa: E501 + 'aux_measures': ([MeasureItem],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'filters': 'filters', # noqa: E501 + 'granularity': 'granularity', # noqa: E501 + 'measures': 'measures', # noqa: E501 + 'sensitivity': 'sensitivity', # noqa: E501 + 'aux_measures': 'auxMeasures', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, attributes, filters, granularity, measures, sensitivity, *args, **kwargs): # noqa: E501 + """OutlierDetectionRequest - a model defined in OpenAPI + + Args: + attributes ([AttributeItem]): Attributes to be used in the computation. + filters ([ChangeAnalysisParamsFiltersInner]): Various filter types to filter the execution result. + granularity (str): Date granularity for anomaly detection. Only time-based granularities are supported (HOUR, DAY, WEEK, MONTH, QUARTER, YEAR). + measures ([MeasureItem]): + sensitivity (str): Sensitivity level for outlier detection + + 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,) + aux_measures ([MeasureItem]): Metrics to be referenced from other AFM objects (e.g. filters) but not included in the result.. [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.attributes = attributes + self.filters = filters + self.granularity = granularity + self.measures = measures + self.sensitivity = sensitivity + 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, attributes, filters, granularity, measures, sensitivity, *args, **kwargs): # noqa: E501 + """OutlierDetectionRequest - a model defined in OpenAPI + + Args: + attributes ([AttributeItem]): Attributes to be used in the computation. + filters ([ChangeAnalysisParamsFiltersInner]): Various filter types to filter the execution result. + granularity (str): Date granularity for anomaly detection. Only time-based granularities are supported (HOUR, DAY, WEEK, MONTH, QUARTER, YEAR). + measures ([MeasureItem]): + sensitivity (str): Sensitivity level for outlier detection + + 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,) + aux_measures ([MeasureItem]): Metrics to be referenced from other AFM objects (e.g. filters) but not included in the result.. [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.attributes = attributes + self.filters = filters + self.granularity = granularity + self.measures = measures + self.sensitivity = sensitivity + 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/outlier_detection_response.py b/gooddata-api-client/gooddata_api_client/model/outlier_detection_response.py new file mode 100644 index 000000000..560cda77f --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/outlier_detection_response.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: 90a5773 + 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.execution_links import ExecutionLinks + globals()['ExecutionLinks'] = ExecutionLinks + + +class OutlierDetectionResponse(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 { + 'links': (ExecutionLinks,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'links': 'links', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, links, *args, **kwargs): # noqa: E501 + """OutlierDetectionResponse - a model defined in OpenAPI + + Args: + links (ExecutionLinks): + + 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.links = links + 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, links, *args, **kwargs): # noqa: E501 + """OutlierDetectionResponse - a model defined in OpenAPI + + Args: + links (ExecutionLinks): + + 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.links = links + 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/outlier_detection_result.py b/gooddata-api-client/gooddata_api_client/model/outlier_detection_result.py new file mode 100644 index 000000000..f48b10070 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/outlier_detection_result.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: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class OutlierDetectionResult(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'attribute': ([str], none_type,), # noqa: E501 + 'values': ({str: ([float, none_type], none_type)}, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attribute': 'attribute', # noqa: E501 + 'values': 'values', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, attribute, values, *args, **kwargs): # noqa: E501 + """OutlierDetectionResult - a model defined in OpenAPI + + Args: + attribute ([str], none_type): Attribute values for outlier detection results. + values ({str: ([float, none_type], none_type)}, none_type): Map of measure identifiers to their outlier detection values. Each value is a list of nullable numbers. + + 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.attribute = attribute + self.values = values + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, attribute, values, *args, **kwargs): # noqa: E501 + """OutlierDetectionResult - a model defined in OpenAPI + + Args: + attribute ([str], none_type): Attribute values for outlier detection results. + values ({str: ([float, none_type], none_type)}, none_type): Map of measure identifiers to their outlier detection values. Each value is a list of nullable numbers. + + 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.attribute = attribute + self.values = values + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/over.py b/gooddata-api-client/gooddata_api_client/model/over.py index ddafbea07..7c915edec 100644 --- a/gooddata-api-client/gooddata_api_client/model/over.py +++ b/gooddata-api-client/gooddata_api_client/model/over.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/page_metadata.py b/gooddata-api-client/gooddata_api_client/model/page_metadata.py index 261e59532..06c6e6a60 100644 --- a/gooddata-api-client/gooddata_api_client/model/page_metadata.py +++ b/gooddata-api-client/gooddata_api_client/model/page_metadata.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/paging.py b/gooddata-api-client/gooddata_api_client/model/paging.py index ee9452d33..e365b16b9 100644 --- a/gooddata-api-client/gooddata_api_client/model/paging.py +++ b/gooddata-api-client/gooddata_api_client/model/paging.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/parameter.py b/gooddata-api-client/gooddata_api_client/model/parameter.py index b727cb29f..378983c9a 100644 --- a/gooddata-api-client/gooddata_api_client/model/parameter.py +++ b/gooddata-api-client/gooddata_api_client/model/parameter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/pdf_table_style.py b/gooddata-api-client/gooddata_api_client/model/pdf_table_style.py index 3bb9e21a4..a56e7a33a 100644 --- a/gooddata-api-client/gooddata_api_client/model/pdf_table_style.py +++ b/gooddata-api-client/gooddata_api_client/model/pdf_table_style.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/pdf_table_style_property.py b/gooddata-api-client/gooddata_api_client/model/pdf_table_style_property.py index 94058d40d..2c50ad9e8 100644 --- a/gooddata-api-client/gooddata_api_client/model/pdf_table_style_property.py +++ b/gooddata-api-client/gooddata_api_client/model/pdf_table_style_property.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/pdm_ldm_request.py b/gooddata-api-client/gooddata_api_client/model/pdm_ldm_request.py index 4dae6455f..6306e8715 100644 --- a/gooddata-api-client/gooddata_api_client/model/pdm_ldm_request.py +++ b/gooddata-api-client/gooddata_api_client/model/pdm_ldm_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/pdm_sql.py b/gooddata-api-client/gooddata_api_client/model/pdm_sql.py index 565090e1c..103509d3a 100644 --- a/gooddata-api-client/gooddata_api_client/model/pdm_sql.py +++ b/gooddata-api-client/gooddata_api_client/model/pdm_sql.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/permissions_assignment.py b/gooddata-api-client/gooddata_api_client/model/permissions_assignment.py index 1e7eae843..2c25c5259 100644 --- a/gooddata-api-client/gooddata_api_client/model/permissions_assignment.py +++ b/gooddata-api-client/gooddata_api_client/model/permissions_assignment.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee.py b/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee.py index 0e4fb2e89..0fdababe8 100644 --- a/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee.py +++ b/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee_all_of.py b/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee_all_of.py index e3230b392..dc4bad842 100644 --- a/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee_all_of.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee_rule.py b/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee_rule.py index 320b6cb96..503e808ec 100644 --- a/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee_rule.py +++ b/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee_rule.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/platform_usage.py b/gooddata-api-client/gooddata_api_client/model/platform_usage.py index c7177d50a..6db97c939 100644 --- a/gooddata-api-client/gooddata_api_client/model/platform_usage.py +++ b/gooddata-api-client/gooddata_api_client/model/platform_usage.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/platform_usage_request.py b/gooddata-api-client/gooddata_api_client/model/platform_usage_request.py index 8567f3944..a2d219429 100644 --- a/gooddata-api-client/gooddata_api_client/model/platform_usage_request.py +++ b/gooddata-api-client/gooddata_api_client/model/platform_usage_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/pop_dataset.py b/gooddata-api-client/gooddata_api_client/model/pop_dataset.py index 173411247..b60f180ce 100644 --- a/gooddata-api-client/gooddata_api_client/model/pop_dataset.py +++ b/gooddata-api-client/gooddata_api_client/model/pop_dataset.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/pop_dataset_measure_definition.py b/gooddata-api-client/gooddata_api_client/model/pop_dataset_measure_definition.py index 02ffe0b97..bf325bece 100644 --- a/gooddata-api-client/gooddata_api_client/model/pop_dataset_measure_definition.py +++ b/gooddata-api-client/gooddata_api_client/model/pop_dataset_measure_definition.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/pop_dataset_measure_definition_previous_period_measure.py b/gooddata-api-client/gooddata_api_client/model/pop_dataset_measure_definition_previous_period_measure.py index de46e94d2..b4c7fb8a9 100644 --- a/gooddata-api-client/gooddata_api_client/model/pop_dataset_measure_definition_previous_period_measure.py +++ b/gooddata-api-client/gooddata_api_client/model/pop_dataset_measure_definition_previous_period_measure.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/pop_date.py b/gooddata-api-client/gooddata_api_client/model/pop_date.py index e7b8a7a5f..660c0d753 100644 --- a/gooddata-api-client/gooddata_api_client/model/pop_date.py +++ b/gooddata-api-client/gooddata_api_client/model/pop_date.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/pop_date_measure_definition.py b/gooddata-api-client/gooddata_api_client/model/pop_date_measure_definition.py index dd97d169d..0e160410f 100644 --- a/gooddata-api-client/gooddata_api_client/model/pop_date_measure_definition.py +++ b/gooddata-api-client/gooddata_api_client/model/pop_date_measure_definition.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/pop_date_measure_definition_over_period_measure.py b/gooddata-api-client/gooddata_api_client/model/pop_date_measure_definition_over_period_measure.py index dbc7ff11f..1b8f2f557 100644 --- a/gooddata-api-client/gooddata_api_client/model/pop_date_measure_definition_over_period_measure.py +++ b/gooddata-api-client/gooddata_api_client/model/pop_date_measure_definition_over_period_measure.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/pop_measure_definition.py b/gooddata-api-client/gooddata_api_client/model/pop_measure_definition.py index c2f162062..6fcc1ce7c 100644 --- a/gooddata-api-client/gooddata_api_client/model/pop_measure_definition.py +++ b/gooddata-api-client/gooddata_api_client/model/pop_measure_definition.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/positive_attribute_filter.py b/gooddata-api-client/gooddata_api_client/model/positive_attribute_filter.py index 8699c8a95..76a2e2f01 100644 --- a/gooddata-api-client/gooddata_api_client/model/positive_attribute_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/positive_attribute_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/positive_attribute_filter_positive_attribute_filter.py b/gooddata-api-client/gooddata_api_client/model/positive_attribute_filter_positive_attribute_filter.py index ae53d56f8..2ee7a1a5e 100644 --- a/gooddata-api-client/gooddata_api_client/model/positive_attribute_filter_positive_attribute_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/positive_attribute_filter_positive_attribute_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/profile.py b/gooddata-api-client/gooddata_api_client/model/profile.py new file mode 100644 index 000000000..412cb4e4e --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/profile.py @@ -0,0 +1,332 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.api_entitlement import ApiEntitlement + from gooddata_api_client.model.profile_features import ProfileFeatures + from gooddata_api_client.model.profile_links import ProfileLinks + from gooddata_api_client.model.telemetry_config import TelemetryConfig + globals()['ApiEntitlement'] = ApiEntitlement + globals()['ProfileFeatures'] = ProfileFeatures + globals()['ProfileLinks'] = ProfileLinks + globals()['TelemetryConfig'] = TelemetryConfig + + +class Profile(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 = { + ('permissions',): { + 'MANAGE': "MANAGE", + 'SELF_CREATE_TOKEN': "SELF_CREATE_TOKEN", + }, + } + + 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 { + 'entitlements': ([ApiEntitlement],), # noqa: E501 + 'features': (ProfileFeatures,), # noqa: E501 + 'links': (ProfileLinks,), # noqa: E501 + 'organization_id': (str,), # noqa: E501 + 'organization_name': (str,), # noqa: E501 + 'permissions': ([str],), # noqa: E501 + 'telemetry_config': (TelemetryConfig,), # noqa: E501 + 'user_id': (str,), # noqa: E501 + 'name': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'entitlements': 'entitlements', # noqa: E501 + 'features': 'features', # noqa: E501 + 'links': 'links', # noqa: E501 + 'organization_id': 'organizationId', # noqa: E501 + 'organization_name': 'organizationName', # noqa: E501 + 'permissions': 'permissions', # noqa: E501 + 'telemetry_config': 'telemetryConfig', # noqa: E501 + 'user_id': 'userId', # noqa: E501 + 'name': 'name', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, entitlements, features, links, organization_id, organization_name, permissions, telemetry_config, user_id, *args, **kwargs): # noqa: E501 + """Profile - a model defined in OpenAPI + + Args: + entitlements ([ApiEntitlement]): Defines entitlements for given organization. + features (ProfileFeatures): + links (ProfileLinks): + organization_id (str): + organization_name (str): + permissions ([str]): + telemetry_config (TelemetryConfig): + user_id (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.entitlements = entitlements + self.features = features + self.links = links + self.organization_id = organization_id + self.organization_name = organization_name + self.permissions = permissions + self.telemetry_config = telemetry_config + self.user_id = user_id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, entitlements, features, links, organization_id, organization_name, permissions, telemetry_config, user_id, *args, **kwargs): # noqa: E501 + """Profile - a model defined in OpenAPI + + Args: + entitlements ([ApiEntitlement]): Defines entitlements for given organization. + features (ProfileFeatures): + links (ProfileLinks): + organization_id (str): + organization_name (str): + permissions ([str]): + telemetry_config (TelemetryConfig): + user_id (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.entitlements = entitlements + self.features = features + self.links = links + self.organization_id = organization_id + self.organization_name = organization_name + self.permissions = permissions + self.telemetry_config = telemetry_config + self.user_id = user_id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/profile_features.py b/gooddata-api-client/gooddata_api_client/model/profile_features.py new file mode 100644 index 000000000..2f77376c2 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/profile_features.py @@ -0,0 +1,331 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.live_features import LiveFeatures + from gooddata_api_client.model.live_features_live import LiveFeaturesLive + from gooddata_api_client.model.static_features import StaticFeatures + from gooddata_api_client.model.static_features_static import StaticFeaturesStatic + globals()['LiveFeatures'] = LiveFeatures + globals()['LiveFeaturesLive'] = LiveFeaturesLive + globals()['StaticFeatures'] = StaticFeatures + globals()['StaticFeaturesStatic'] = StaticFeaturesStatic + + +class ProfileFeatures(ModelComposed): + """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 { + 'live': (LiveFeaturesLive,), # noqa: E501 + 'static': (StaticFeaturesStatic,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'live': 'live', # noqa: E501 + 'static': 'static', # noqa: E501 + } + + read_only_vars = { + } + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ProfileFeatures - a model defined in OpenAPI + + 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,) + live (LiveFeaturesLive): [optional] # noqa: E501 + static (StaticFeaturesStatic): [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', ()) + + 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__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # 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', + '_composed_instances', + '_var_name_to_model_instances', + '_additional_properties_model_instances', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ProfileFeatures - a model defined in OpenAPI + + 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,) + live (LiveFeaturesLive): [optional] # noqa: E501 + static (StaticFeaturesStatic): [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__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # 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.") + + @cached_property + def _composed_schemas(): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + lazy_import() + return { + 'anyOf': [ + ], + 'allOf': [ + ], + 'oneOf': [ + LiveFeatures, + StaticFeatures, + ], + } diff --git a/gooddata-api-client/gooddata_api_client/model/profile_links.py b/gooddata-api-client/gooddata_api_client/model/profile_links.py new file mode 100644 index 000000000..9b1fadc9b --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/profile_links.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class ProfileLinks(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'organization': (str,), # noqa: E501 + '_self': (str,), # noqa: E501 + 'user': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'organization': 'organization', # noqa: E501 + '_self': 'self', # noqa: E501 + 'user': 'user', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, organization, _self, user, *args, **kwargs): # noqa: E501 + """ProfileLinks - a model defined in OpenAPI + + Args: + organization (str): + _self (str): + user (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.organization = organization + self._self = _self + self.user = user + 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, organization, _self, user, *args, **kwargs): # noqa: E501 + """ProfileLinks - a model defined in OpenAPI + + Args: + organization (str): + _self (str): + user (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.organization = organization + self._self = _self + self.user = user + 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/quality_issue.py b/gooddata-api-client/gooddata_api_client/model/quality_issue.py index d6097dadb..7ea43c72d 100644 --- a/gooddata-api-client/gooddata_api_client/model/quality_issue.py +++ b/gooddata-api-client/gooddata_api_client/model/quality_issue.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/quality_issue_object.py b/gooddata-api-client/gooddata_api_client/model/quality_issue_object.py index c1a873e82..5f2dd1807 100644 --- a/gooddata-api-client/gooddata_api_client/model/quality_issue_object.py +++ b/gooddata-api-client/gooddata_api_client/model/quality_issue_object.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/quality_issues_calculation_status_response.py b/gooddata-api-client/gooddata_api_client/model/quality_issues_calculation_status_response.py index c6dfc5f09..ce9c56d48 100644 --- a/gooddata-api-client/gooddata_api_client/model/quality_issues_calculation_status_response.py +++ b/gooddata-api-client/gooddata_api_client/model/quality_issues_calculation_status_response.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/range.py b/gooddata-api-client/gooddata_api_client/model/range.py index 6e11580ab..5b7e876d6 100644 --- a/gooddata-api-client/gooddata_api_client/model/range.py +++ b/gooddata-api-client/gooddata_api_client/model/range.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/range_condition.py b/gooddata-api-client/gooddata_api_client/model/range_condition.py new file mode 100644 index 000000000..c05d1bda1 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/range_condition.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: 90a5773 + 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.range_condition_range import RangeConditionRange + globals()['RangeConditionRange'] = RangeConditionRange + + +class RangeCondition(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 { + 'range': (RangeConditionRange,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'range': 'range', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, range, *args, **kwargs): # noqa: E501 + """RangeCondition - a model defined in OpenAPI + + Args: + range (RangeConditionRange): + + 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.range = range + 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, range, *args, **kwargs): # noqa: E501 + """RangeCondition - a model defined in OpenAPI + + Args: + range (RangeConditionRange): + + 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.range = range + 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/range_condition_range.py b/gooddata-api-client/gooddata_api_client/model/range_condition_range.py new file mode 100644 index 000000000..940a525b2 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/range_condition_range.py @@ -0,0 +1,286 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class RangeConditionRange(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('operator',): { + 'BETWEEN': "BETWEEN", + 'NOT_BETWEEN': "NOT_BETWEEN", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + '_from': (float,), # noqa: E501 + 'operator': (str,), # noqa: E501 + 'to': (float,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + '_from': 'from', # noqa: E501 + 'operator': 'operator', # noqa: E501 + 'to': 'to', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, _from, operator, to, *args, **kwargs): # noqa: E501 + """RangeConditionRange - a model defined in OpenAPI + + Args: + _from (float): + operator (str): + to (float): + + 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._from = _from + self.operator = operator + self.to = to + 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, _from, operator, to, *args, **kwargs): # noqa: E501 + """RangeConditionRange - a model defined in OpenAPI + + Args: + _from (float): + operator (str): + to (float): + + 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._from = _from + self.operator = operator + self.to = to + 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/range_measure_value_filter.py b/gooddata-api-client/gooddata_api_client/model/range_measure_value_filter.py index 61e176497..46d2e9637 100644 --- a/gooddata-api-client/gooddata_api_client/model/range_measure_value_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/range_measure_value_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/range_measure_value_filter_range_measure_value_filter.py b/gooddata-api-client/gooddata_api_client/model/range_measure_value_filter_range_measure_value_filter.py index 5e6bf5d7c..fca607276 100644 --- a/gooddata-api-client/gooddata_api_client/model/range_measure_value_filter_range_measure_value_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/range_measure_value_filter_range_measure_value_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/range_wrapper.py b/gooddata-api-client/gooddata_api_client/model/range_wrapper.py index 4a9c9476c..500a761b0 100644 --- a/gooddata-api-client/gooddata_api_client/model/range_wrapper.py +++ b/gooddata-api-client/gooddata_api_client/model/range_wrapper.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/ranking_filter.py b/gooddata-api-client/gooddata_api_client/model/ranking_filter.py index 1f424f85f..513d2636f 100644 --- a/gooddata-api-client/gooddata_api_client/model/ranking_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/ranking_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/ranking_filter_ranking_filter.py b/gooddata-api-client/gooddata_api_client/model/ranking_filter_ranking_filter.py index 03dcfa6d8..5d8a550c3 100644 --- a/gooddata-api-client/gooddata_api_client/model/ranking_filter_ranking_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/ranking_filter_ranking_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/raw_custom_label.py b/gooddata-api-client/gooddata_api_client/model/raw_custom_label.py index e961048d5..01078268c 100644 --- a/gooddata-api-client/gooddata_api_client/model/raw_custom_label.py +++ b/gooddata-api-client/gooddata_api_client/model/raw_custom_label.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/raw_custom_metric.py b/gooddata-api-client/gooddata_api_client/model/raw_custom_metric.py index 0ffa16c40..2772c098e 100644 --- a/gooddata-api-client/gooddata_api_client/model/raw_custom_metric.py +++ b/gooddata-api-client/gooddata_api_client/model/raw_custom_metric.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/raw_custom_override.py b/gooddata-api-client/gooddata_api_client/model/raw_custom_override.py index f6a62320a..11e5a88de 100644 --- a/gooddata-api-client/gooddata_api_client/model/raw_custom_override.py +++ b/gooddata-api-client/gooddata_api_client/model/raw_custom_override.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/raw_export_automation_request.py b/gooddata-api-client/gooddata_api_client/model/raw_export_automation_request.py index 64ba5d050..5087d96d1 100644 --- a/gooddata-api-client/gooddata_api_client/model/raw_export_automation_request.py +++ b/gooddata-api-client/gooddata_api_client/model/raw_export_automation_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/raw_export_request.py b/gooddata-api-client/gooddata_api_client/model/raw_export_request.py index a88a0cba4..f4f2b684b 100644 --- a/gooddata-api-client/gooddata_api_client/model/raw_export_request.py +++ b/gooddata-api-client/gooddata_api_client/model/raw_export_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/read_csv_file_manifests_request.py b/gooddata-api-client/gooddata_api_client/model/read_csv_file_manifests_request.py new file mode 100644 index 000000000..50b11781e --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/read_csv_file_manifests_request.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: 90a5773 + 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.read_csv_file_manifests_request_item import ReadCsvFileManifestsRequestItem + globals()['ReadCsvFileManifestsRequestItem'] = ReadCsvFileManifestsRequestItem + + +class ReadCsvFileManifestsRequest(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 { + 'manifest_requests': ([ReadCsvFileManifestsRequestItem],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'manifest_requests': 'manifestRequests', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, manifest_requests, *args, **kwargs): # noqa: E501 + """ReadCsvFileManifestsRequest - a model defined in OpenAPI + + Args: + manifest_requests ([ReadCsvFileManifestsRequestItem]): Files to read the manifests for. + + 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.manifest_requests = manifest_requests + 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, manifest_requests, *args, **kwargs): # noqa: E501 + """ReadCsvFileManifestsRequest - a model defined in OpenAPI + + Args: + manifest_requests ([ReadCsvFileManifestsRequestItem]): Files to read the manifests for. + + 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.manifest_requests = manifest_requests + 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/read_csv_file_manifests_request_item.py b/gooddata-api-client/gooddata_api_client/model/read_csv_file_manifests_request_item.py new file mode 100644 index 000000000..2f8364de5 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/read_csv_file_manifests_request_item.py @@ -0,0 +1,274 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class ReadCsvFileManifestsRequestItem(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'file_name': (str,), # noqa: E501 + 'version': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'file_name': 'fileName', # noqa: E501 + 'version': 'version', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, file_name, *args, **kwargs): # noqa: E501 + """ReadCsvFileManifestsRequestItem - a model defined in OpenAPI + + Args: + file_name (str): Name of the CSV file to read the manifest for. + + 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,) + version (int): Optional version of the file to read the manifest for. If null or not specified, the latest version is read.. [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.file_name = file_name + 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, file_name, *args, **kwargs): # noqa: E501 + """ReadCsvFileManifestsRequestItem - a model defined in OpenAPI + + Args: + file_name (str): Name of the CSV file to read the manifest for. + + 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,) + version (int): Optional version of the file to read the manifest for. If null or not specified, the latest version is read.. [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.file_name = file_name + 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/read_csv_file_manifests_response.py b/gooddata-api-client/gooddata_api_client/model/read_csv_file_manifests_response.py new file mode 100644 index 000000000..ba0ef1805 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/read_csv_file_manifests_response.py @@ -0,0 +1,288 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.csv_manifest_body import CsvManifestBody + globals()['CsvManifestBody'] = CsvManifestBody + + +class ReadCsvFileManifestsResponse(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 { + 'manifest': (CsvManifestBody,), # noqa: E501 + 'name': (str,), # noqa: E501 + 'version': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'manifest': 'manifest', # noqa: E501 + 'name': 'name', # noqa: E501 + 'version': 'version', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, manifest, name, version, *args, **kwargs): # noqa: E501 + """ReadCsvFileManifestsResponse - a model defined in OpenAPI + + Args: + manifest (CsvManifestBody): + name (str): Name of the file in the source data source. + version (int): Version of the file in the source data source. + + 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.manifest = manifest + self.name = name + self.version = version + 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, manifest, name, version, *args, **kwargs): # noqa: E501 + """ReadCsvFileManifestsResponse - a model defined in OpenAPI + + Args: + manifest (CsvManifestBody): + name (str): Name of the file in the source data source. + version (int): Version of the file in the source data source. + + 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.manifest = manifest + self.name = name + self.version = version + 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/reasoning.py b/gooddata-api-client/gooddata_api_client/model/reasoning.py new file mode 100644 index 000000000..487f35581 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/reasoning.py @@ -0,0 +1,280 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.reasoning_step import ReasoningStep + globals()['ReasoningStep'] = ReasoningStep + + +class Reasoning(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 { + 'steps': ([ReasoningStep],), # noqa: E501 + 'answer': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'steps': 'steps', # noqa: E501 + 'answer': 'answer', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, steps, *args, **kwargs): # noqa: E501 + """Reasoning - a model defined in OpenAPI + + Args: + steps ([ReasoningStep]): Steps taken during processing, showing the AI's reasoning process. + + 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,) + answer (str): Final answer/reasoning from the use case result.. [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.steps = steps + 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, steps, *args, **kwargs): # noqa: E501 + """Reasoning - a model defined in OpenAPI + + Args: + steps ([ReasoningStep]): Steps taken during processing, showing the AI's reasoning process. + + 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,) + answer (str): Final answer/reasoning from the use case result.. [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.steps = steps + 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/reasoning_step.py b/gooddata-api-client/gooddata_api_client/model/reasoning_step.py new file mode 100644 index 000000000..27a3f0373 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/reasoning_step.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.thought import Thought + globals()['Thought'] = Thought + + +class ReasoningStep(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 { + 'thoughts': ([Thought],), # noqa: E501 + 'title': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'thoughts': 'thoughts', # noqa: E501 + 'title': 'title', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, thoughts, title, *args, **kwargs): # noqa: E501 + """ReasoningStep - a model defined in OpenAPI + + Args: + thoughts ([Thought]): Detailed thoughts/messages within this step. + title (str): Title describing this reasoning step. + + 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.thoughts = thoughts + self.title = title + 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, thoughts, title, *args, **kwargs): # noqa: E501 + """ReasoningStep - a model defined in OpenAPI + + Args: + thoughts ([Thought]): Detailed thoughts/messages within this step. + title (str): Title describing this reasoning step. + + 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.thoughts = thoughts + self.title = title + 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/reference_identifier.py b/gooddata-api-client/gooddata_api_client/model/reference_identifier.py index ac418586f..2f212c362 100644 --- a/gooddata-api-client/gooddata_api_client/model/reference_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/reference_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/reference_source_column.py b/gooddata-api-client/gooddata_api_client/model/reference_source_column.py index ca9021be5..62fe3d994 100644 --- a/gooddata-api-client/gooddata_api_client/model/reference_source_column.py +++ b/gooddata-api-client/gooddata_api_client/model/reference_source_column.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -100,6 +100,8 @@ def openapi_types(): 'column': (str,), # noqa: E501 'target': (DatasetGrain,), # noqa: E501 'data_type': (str,), # noqa: E501 + 'is_nullable': (bool,), # noqa: E501 + 'null_value': (str,), # noqa: E501 } @cached_property @@ -111,6 +113,8 @@ def discriminator(): 'column': 'column', # noqa: E501 'target': 'target', # noqa: E501 'data_type': 'dataType', # noqa: E501 + 'is_nullable': 'isNullable', # noqa: E501 + 'null_value': 'nullValue', # noqa: E501 } read_only_vars = { @@ -159,6 +163,8 @@ def _from_openapi_data(cls, column, target, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) data_type (str): [optional] # noqa: E501 + is_nullable (bool): [optional] # noqa: E501 + null_value (str): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -251,6 +257,8 @@ def __init__(self, column, target, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) data_type (str): [optional] # noqa: E501 + is_nullable (bool): [optional] # noqa: E501 + null_value (str): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/relative.py b/gooddata-api-client/gooddata_api_client/model/relative.py index 8b1ae1829..d1f0f5415 100644 --- a/gooddata-api-client/gooddata_api_client/model/relative.py +++ b/gooddata-api-client/gooddata_api_client/model/relative.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/relative_bounded_date_filter.py b/gooddata-api-client/gooddata_api_client/model/relative_bounded_date_filter.py index 9eafebfdb..0fc8938d6 100644 --- a/gooddata-api-client/gooddata_api_client/model/relative_bounded_date_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/relative_bounded_date_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/relative_date_filter.py b/gooddata-api-client/gooddata_api_client/model/relative_date_filter.py index 8de03016f..7872acdbb 100644 --- a/gooddata-api-client/gooddata_api_client/model/relative_date_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/relative_date_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/relative_date_filter_relative_date_filter.py b/gooddata-api-client/gooddata_api_client/model/relative_date_filter_relative_date_filter.py index f15b1a387..11279f253 100644 --- a/gooddata-api-client/gooddata_api_client/model/relative_date_filter_relative_date_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/relative_date_filter_relative_date_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/relative_wrapper.py b/gooddata-api-client/gooddata_api_client/model/relative_wrapper.py index b3cd8c139..e7b0b1d87 100644 --- a/gooddata-api-client/gooddata_api_client/model/relative_wrapper.py +++ b/gooddata-api-client/gooddata_api_client/model/relative_wrapper.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/resolve_settings_request.py b/gooddata-api-client/gooddata_api_client/model/resolve_settings_request.py index 500a9ed31..8e5bd6316 100644 --- a/gooddata-api-client/gooddata_api_client/model/resolve_settings_request.py +++ b/gooddata-api-client/gooddata_api_client/model/resolve_settings_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/resolved_llm_endpoint.py b/gooddata-api-client/gooddata_api_client/model/resolved_llm_endpoint.py index 50c9ee7ba..dd97fd840 100644 --- a/gooddata-api-client/gooddata_api_client/model/resolved_llm_endpoint.py +++ b/gooddata-api-client/gooddata_api_client/model/resolved_llm_endpoint.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/resolved_llm_endpoints.py b/gooddata-api-client/gooddata_api_client/model/resolved_llm_endpoints.py index c9e0f9cf6..67fb55bbd 100644 --- a/gooddata-api-client/gooddata_api_client/model/resolved_llm_endpoints.py +++ b/gooddata-api-client/gooddata_api_client/model/resolved_llm_endpoints.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/resolved_setting.py b/gooddata-api-client/gooddata_api_client/model/resolved_setting.py index 1f5eeab0d..c2095508b 100644 --- a/gooddata-api-client/gooddata_api_client/model/resolved_setting.py +++ b/gooddata-api-client/gooddata_api_client/model/resolved_setting.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -65,6 +65,7 @@ class ResolvedSetting(ModelNormal): 'ACTIVE_THEME': "ACTIVE_THEME", 'ACTIVE_COLOR_PALETTE': "ACTIVE_COLOR_PALETTE", 'ACTIVE_LLM_ENDPOINT': "ACTIVE_LLM_ENDPOINT", + 'ACTIVE_CALENDARS': "ACTIVE_CALENDARS", 'WHITE_LABELING': "WHITE_LABELING", 'LOCALE': "LOCALE", 'METADATA_LOCALE': "METADATA_LOCALE", @@ -102,6 +103,8 @@ class ResolvedSetting(ModelNormal): 'SORT_CASE_SENSITIVE': "SORT_CASE_SENSITIVE", 'METRIC_FORMAT_OVERRIDE': "METRIC_FORMAT_OVERRIDE", 'ENABLE_AI_ON_DATA': "ENABLE_AI_ON_DATA", + 'API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE': "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", + 'ENABLE_NULL_JOINS': "ENABLE_NULL_JOINS", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/rest_api_identifier.py b/gooddata-api-client/gooddata_api_client/model/rest_api_identifier.py index 4b8e4e36d..f31a5c76b 100644 --- a/gooddata-api-client/gooddata_api_client/model/rest_api_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/rest_api_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/result_cache_metadata.py b/gooddata-api-client/gooddata_api_client/model/result_cache_metadata.py index dc26ed7f4..60009a0fe 100644 --- a/gooddata-api-client/gooddata_api_client/model/result_cache_metadata.py +++ b/gooddata-api-client/gooddata_api_client/model/result_cache_metadata.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/result_dimension.py b/gooddata-api-client/gooddata_api_client/model/result_dimension.py index f1478ef92..6b4830c61 100644 --- a/gooddata-api-client/gooddata_api_client/model/result_dimension.py +++ b/gooddata-api-client/gooddata_api_client/model/result_dimension.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/result_dimension_header.py b/gooddata-api-client/gooddata_api_client/model/result_dimension_header.py index 8d65a7d7a..9e06c6466 100644 --- a/gooddata-api-client/gooddata_api_client/model/result_dimension_header.py +++ b/gooddata-api-client/gooddata_api_client/model/result_dimension_header.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/result_spec.py b/gooddata-api-client/gooddata_api_client/model/result_spec.py index b137eaa50..ea7e34a02 100644 --- a/gooddata-api-client/gooddata_api_client/model/result_spec.py +++ b/gooddata-api-client/gooddata_api_client/model/result_spec.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/route_result.py b/gooddata-api-client/gooddata_api_client/model/route_result.py index 1e0194fe9..842bbffc1 100644 --- a/gooddata-api-client/gooddata_api_client/model/route_result.py +++ b/gooddata-api-client/gooddata_api_client/model/route_result.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/rsa_specification.py b/gooddata-api-client/gooddata_api_client/model/rsa_specification.py index 26adabffc..c30d33e33 100644 --- a/gooddata-api-client/gooddata_api_client/model/rsa_specification.py +++ b/gooddata-api-client/gooddata_api_client/model/rsa_specification.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -70,6 +70,13 @@ class RsaSpecification(ModelNormal): } validations = { + ('kid',): { + 'max_length': 255, + 'min_length': 0, + 'regex': { + 'pattern': r'^[^.]', # noqa: E501 + }, + }, } @cached_property diff --git a/gooddata-api-client/gooddata_api_client/model/rule_permission.py b/gooddata-api-client/gooddata_api_client/model/rule_permission.py index 1eb60c551..c7aa344fe 100644 --- a/gooddata-api-client/gooddata_api_client/model/rule_permission.py +++ b/gooddata-api-client/gooddata_api_client/model/rule_permission.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/running_section.py b/gooddata-api-client/gooddata_api_client/model/running_section.py index 239c5489e..f51591adc 100644 --- a/gooddata-api-client/gooddata_api_client/model/running_section.py +++ b/gooddata-api-client/gooddata_api_client/model/running_section.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/saved_visualization.py b/gooddata-api-client/gooddata_api_client/model/saved_visualization.py index f97c45546..a6f6567d9 100644 --- a/gooddata-api-client/gooddata_api_client/model/saved_visualization.py +++ b/gooddata-api-client/gooddata_api_client/model/saved_visualization.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/scan_request.py b/gooddata-api-client/gooddata_api_client/model/scan_request.py index 43fe22ece..3d52a8fa6 100644 --- a/gooddata-api-client/gooddata_api_client/model/scan_request.py +++ b/gooddata-api-client/gooddata_api_client/model/scan_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/scan_result_pdm.py b/gooddata-api-client/gooddata_api_client/model/scan_result_pdm.py index b965be370..786acdb9b 100644 --- a/gooddata-api-client/gooddata_api_client/model/scan_result_pdm.py +++ b/gooddata-api-client/gooddata_api_client/model/scan_result_pdm.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/scan_sql_request.py b/gooddata-api-client/gooddata_api_client/model/scan_sql_request.py index d7239068d..0144234bf 100644 --- a/gooddata-api-client/gooddata_api_client/model/scan_sql_request.py +++ b/gooddata-api-client/gooddata_api_client/model/scan_sql_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/scan_sql_response.py b/gooddata-api-client/gooddata_api_client/model/scan_sql_response.py index 230eb20ff..cec9bd8b8 100644 --- a/gooddata-api-client/gooddata_api_client/model/scan_sql_response.py +++ b/gooddata-api-client/gooddata_api_client/model/scan_sql_response.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/search_relationship_object.py b/gooddata-api-client/gooddata_api_client/model/search_relationship_object.py index 29db5456f..43ab982d1 100644 --- a/gooddata-api-client/gooddata_api_client/model/search_relationship_object.py +++ b/gooddata-api-client/gooddata_api_client/model/search_relationship_object.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/search_request.py b/gooddata-api-client/gooddata_api_client/model/search_request.py index 477dc1372..7593ecbc4 100644 --- a/gooddata-api-client/gooddata_api_client/model/search_request.py +++ b/gooddata-api-client/gooddata_api_client/model/search_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/search_result.py b/gooddata-api-client/gooddata_api_client/model/search_result.py index d7bb3f07f..6aca6fe33 100644 --- a/gooddata-api-client/gooddata_api_client/model/search_result.py +++ b/gooddata-api-client/gooddata_api_client/model/search_result.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -117,7 +117,7 @@ def _from_openapi_data(cls, reasoning, relationships, results, *args, **kwargs): """SearchResult - a model defined in OpenAPI Args: - reasoning (str): If something is not working properly this field will contain explanation. + reasoning (str): DEPRECATED: Use top-level reasoning.steps instead. If something is not working properly this field will contain explanation. relationships ([SearchRelationshipObject]): results ([SearchResultObject]): @@ -210,7 +210,7 @@ def __init__(self, reasoning, relationships, results, *args, **kwargs): # noqa: """SearchResult - a model defined in OpenAPI Args: - reasoning (str): If something is not working properly this field will contain explanation. + reasoning (str): DEPRECATED: Use top-level reasoning.steps instead. If something is not working properly this field will contain explanation. relationships ([SearchRelationshipObject]): results ([SearchResultObject]): diff --git a/gooddata-api-client/gooddata_api_client/model/search_result_object.py b/gooddata-api-client/gooddata_api_client/model/search_result_object.py index 49425a56e..7df0c702f 100644 --- a/gooddata-api-client/gooddata_api_client/model/search_result_object.py +++ b/gooddata-api-client/gooddata_api_client/model/search_result_object.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/section_slide_template.py b/gooddata-api-client/gooddata_api_client/model/section_slide_template.py index 7c5111cf2..2de56a400 100644 --- a/gooddata-api-client/gooddata_api_client/model/section_slide_template.py +++ b/gooddata-api-client/gooddata_api_client/model/section_slide_template.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/settings.py b/gooddata-api-client/gooddata_api_client/model/settings.py index 0cbfc02b0..6736feffb 100644 --- a/gooddata-api-client/gooddata_api_client/model/settings.py +++ b/gooddata-api-client/gooddata_api_client/model/settings.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/simple_measure_definition.py b/gooddata-api-client/gooddata_api_client/model/simple_measure_definition.py index f3bd98080..330302993 100644 --- a/gooddata-api-client/gooddata_api_client/model/simple_measure_definition.py +++ b/gooddata-api-client/gooddata_api_client/model/simple_measure_definition.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/simple_measure_definition_measure.py b/gooddata-api-client/gooddata_api_client/model/simple_measure_definition_measure.py index 6f3358e81..4ae91dbbe 100644 --- a/gooddata-api-client/gooddata_api_client/model/simple_measure_definition_measure.py +++ b/gooddata-api-client/gooddata_api_client/model/simple_measure_definition_measure.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/skeleton.py b/gooddata-api-client/gooddata_api_client/model/skeleton.py index b0300b8e4..59adc33ef 100644 --- a/gooddata-api-client/gooddata_api_client/model/skeleton.py +++ b/gooddata-api-client/gooddata_api_client/model/skeleton.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/slides_export_request.py b/gooddata-api-client/gooddata_api_client/model/slides_export_request.py index fb5d9037b..a02632180 100644 --- a/gooddata-api-client/gooddata_api_client/model/slides_export_request.py +++ b/gooddata-api-client/gooddata_api_client/model/slides_export_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/smart_function_response.py b/gooddata-api-client/gooddata_api_client/model/smart_function_response.py index 1d159e985..6c20b09d6 100644 --- a/gooddata-api-client/gooddata_api_client/model/smart_function_response.py +++ b/gooddata-api-client/gooddata_api_client/model/smart_function_response.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/smtp.py b/gooddata-api-client/gooddata_api_client/model/smtp.py index 99f8a4e39..1004138e1 100644 --- a/gooddata-api-client/gooddata_api_client/model/smtp.py +++ b/gooddata-api-client/gooddata_api_client/model/smtp.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/smtp_all_of.py b/gooddata-api-client/gooddata_api_client/model/smtp_all_of.py index c074613bb..7118aa08e 100644 --- a/gooddata-api-client/gooddata_api_client/model/smtp_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/smtp_all_of.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/sort_key.py b/gooddata-api-client/gooddata_api_client/model/sort_key.py index 354facf32..98fccca30 100644 --- a/gooddata-api-client/gooddata_api_client/model/sort_key.py +++ b/gooddata-api-client/gooddata_api_client/model/sort_key.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/sort_key_attribute.py b/gooddata-api-client/gooddata_api_client/model/sort_key_attribute.py index cae4f64ce..3a348a3f9 100644 --- a/gooddata-api-client/gooddata_api_client/model/sort_key_attribute.py +++ b/gooddata-api-client/gooddata_api_client/model/sort_key_attribute.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/sort_key_attribute_attribute.py b/gooddata-api-client/gooddata_api_client/model/sort_key_attribute_attribute.py index e36b95334..e1dad8f4c 100644 --- a/gooddata-api-client/gooddata_api_client/model/sort_key_attribute_attribute.py +++ b/gooddata-api-client/gooddata_api_client/model/sort_key_attribute_attribute.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/sort_key_total.py b/gooddata-api-client/gooddata_api_client/model/sort_key_total.py index bae028ecd..289cd4b23 100644 --- a/gooddata-api-client/gooddata_api_client/model/sort_key_total.py +++ b/gooddata-api-client/gooddata_api_client/model/sort_key_total.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/sort_key_total_total.py b/gooddata-api-client/gooddata_api_client/model/sort_key_total_total.py index 33d92bde1..c60af0f9d 100644 --- a/gooddata-api-client/gooddata_api_client/model/sort_key_total_total.py +++ b/gooddata-api-client/gooddata_api_client/model/sort_key_total_total.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/sort_key_value.py b/gooddata-api-client/gooddata_api_client/model/sort_key_value.py index 1681264d6..4c6ce153c 100644 --- a/gooddata-api-client/gooddata_api_client/model/sort_key_value.py +++ b/gooddata-api-client/gooddata_api_client/model/sort_key_value.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/sort_key_value_value.py b/gooddata-api-client/gooddata_api_client/model/sort_key_value_value.py index 65c7f2434..1065db15a 100644 --- a/gooddata-api-client/gooddata_api_client/model/sort_key_value_value.py +++ b/gooddata-api-client/gooddata_api_client/model/sort_key_value_value.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/sql_column.py b/gooddata-api-client/gooddata_api_client/model/sql_column.py index 0ee354836..934b9bf95 100644 --- a/gooddata-api-client/gooddata_api_client/model/sql_column.py +++ b/gooddata-api-client/gooddata_api_client/model/sql_column.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/sql_query.py b/gooddata-api-client/gooddata_api_client/model/sql_query.py index 8949a2cb8..67ae8f26d 100644 --- a/gooddata-api-client/gooddata_api_client/model/sql_query.py +++ b/gooddata-api-client/gooddata_api_client/model/sql_query.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/sql_query_all_of.py b/gooddata-api-client/gooddata_api_client/model/sql_query_all_of.py index a7ab583e2..d13978e1f 100644 --- a/gooddata-api-client/gooddata_api_client/model/sql_query_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/sql_query_all_of.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/static_features.py b/gooddata-api-client/gooddata_api_client/model/static_features.py new file mode 100644 index 000000000..67fdd7390 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/static_features.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: 90a5773 + 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.static_features_static import StaticFeaturesStatic + globals()['StaticFeaturesStatic'] = StaticFeaturesStatic + + +class StaticFeatures(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 { + 'static': (StaticFeaturesStatic,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'static': 'static', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, static, *args, **kwargs): # noqa: E501 + """StaticFeatures - a model defined in OpenAPI + + Args: + static (StaticFeaturesStatic): + + 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.static = static + 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, static, *args, **kwargs): # noqa: E501 + """StaticFeatures - a model defined in OpenAPI + + Args: + static (StaticFeaturesStatic): + + 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.static = static + 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/static_features_static.py b/gooddata-api-client/gooddata_api_client/model/static_features_static.py new file mode 100644 index 000000000..cc99500d2 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/static_features_static.py @@ -0,0 +1,329 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.feature_flags_context import FeatureFlagsContext + from gooddata_api_client.model.features import Features + from gooddata_api_client.model.static_features_static_all_of import StaticFeaturesStaticAllOf + globals()['FeatureFlagsContext'] = FeatureFlagsContext + globals()['Features'] = Features + globals()['StaticFeaturesStaticAllOf'] = StaticFeaturesStaticAllOf + + +class StaticFeaturesStatic(ModelComposed): + """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 { + 'context': (FeatureFlagsContext,), # noqa: E501 + 'items': ({str: (str,)},), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'context': 'context', # noqa: E501 + 'items': 'items', # noqa: E501 + } + + read_only_vars = { + } + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """StaticFeaturesStatic - a model defined in OpenAPI + + Keyword Args: + context (FeatureFlagsContext): + items ({str: (str,)}): + _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', ()) + + 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__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # 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', + '_composed_instances', + '_var_name_to_model_instances', + '_additional_properties_model_instances', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """StaticFeaturesStatic - a model defined in OpenAPI + + Keyword Args: + context (FeatureFlagsContext): + items ({str: (str,)}): + _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__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # 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.") + + @cached_property + def _composed_schemas(): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + lazy_import() + return { + 'anyOf': [ + ], + 'allOf': [ + Features, + StaticFeaturesStaticAllOf, + ], + 'oneOf': [ + ], + } diff --git a/gooddata-api-client/gooddata_api_client/model/static_features_static_all_of.py b/gooddata-api-client/gooddata_api_client/model/static_features_static_all_of.py new file mode 100644 index 000000000..cd175f8a8 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/static_features_static_all_of.py @@ -0,0 +1,264 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class StaticFeaturesStaticAllOf(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'items': ({str: (str,)},), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'items': 'items', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """StaticFeaturesStaticAllOf - a model defined in OpenAPI + + 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,) + items ({str: (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__,) + + 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, *args, **kwargs): # noqa: E501 + """StaticFeaturesStaticAllOf - a model defined in OpenAPI + + 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,) + items ({str: (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__,) + + 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/suggestion.py b/gooddata-api-client/gooddata_api_client/model/suggestion.py index c69045453..f695f99d1 100644 --- a/gooddata-api-client/gooddata_api_client/model/suggestion.py +++ b/gooddata-api-client/gooddata_api_client/model/suggestion.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/switch_identity_provider_request.py b/gooddata-api-client/gooddata_api_client/model/switch_identity_provider_request.py index 08ce23f97..7b1c50d7b 100644 --- a/gooddata-api-client/gooddata_api_client/model/switch_identity_provider_request.py +++ b/gooddata-api-client/gooddata_api_client/model/switch_identity_provider_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/table.py b/gooddata-api-client/gooddata_api_client/model/table.py index 5e47c5d77..8d13723a6 100644 --- a/gooddata-api-client/gooddata_api_client/model/table.py +++ b/gooddata-api-client/gooddata_api_client/model/table.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/table_all_of.py b/gooddata-api-client/gooddata_api_client/model/table_all_of.py index 328990346..210da977a 100644 --- a/gooddata-api-client/gooddata_api_client/model/table_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/table_all_of.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/table_override.py b/gooddata-api-client/gooddata_api_client/model/table_override.py index fe442931e..14e340fe3 100644 --- a/gooddata-api-client/gooddata_api_client/model/table_override.py +++ b/gooddata-api-client/gooddata_api_client/model/table_override.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/table_warning.py b/gooddata-api-client/gooddata_api_client/model/table_warning.py index 27d807d49..0ee1cd958 100644 --- a/gooddata-api-client/gooddata_api_client/model/table_warning.py +++ b/gooddata-api-client/gooddata_api_client/model/table_warning.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/tabular_export_request.py b/gooddata-api-client/gooddata_api_client/model/tabular_export_request.py index a9e41b998..3415802a0 100644 --- a/gooddata-api-client/gooddata_api_client/model/tabular_export_request.py +++ b/gooddata-api-client/gooddata_api_client/model/tabular_export_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/telemetry_config.py b/gooddata-api-client/gooddata_api_client/model/telemetry_config.py new file mode 100644 index 000000000..58fb32ad5 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/telemetry_config.py @@ -0,0 +1,284 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.telemetry_context import TelemetryContext + from gooddata_api_client.model.telemetry_services import TelemetryServices + globals()['TelemetryContext'] = TelemetryContext + globals()['TelemetryServices'] = TelemetryServices + + +class TelemetryConfig(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 { + 'context': (TelemetryContext,), # noqa: E501 + 'services': (TelemetryServices,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'context': 'context', # noqa: E501 + 'services': 'services', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, context, services, *args, **kwargs): # noqa: E501 + """TelemetryConfig - a model defined in OpenAPI + + Args: + context (TelemetryContext): + services (TelemetryServices): + + 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.context = context + self.services = services + 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, context, services, *args, **kwargs): # noqa: E501 + """TelemetryConfig - a model defined in OpenAPI + + Args: + context (TelemetryContext): + services (TelemetryServices): + + 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.context = context + self.services = services + 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/telemetry_context.py b/gooddata-api-client/gooddata_api_client/model/telemetry_context.py new file mode 100644 index 000000000..5a5555c9d --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/telemetry_context.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class TelemetryContext(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'deployment_id': (str,), # noqa: E501 + 'organization_hash': (str,), # noqa: E501 + 'user_hash': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'deployment_id': 'deploymentId', # noqa: E501 + 'organization_hash': 'organizationHash', # noqa: E501 + 'user_hash': 'userHash', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, deployment_id, organization_hash, user_hash, *args, **kwargs): # noqa: E501 + """TelemetryContext - a model defined in OpenAPI + + Args: + deployment_id (str): Identification of the deployment. + organization_hash (str): Organization hash. + user_hash (str): User hash. + + 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.deployment_id = deployment_id + self.organization_hash = organization_hash + self.user_hash = user_hash + 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, deployment_id, organization_hash, user_hash, *args, **kwargs): # noqa: E501 + """TelemetryContext - a model defined in OpenAPI + + Args: + deployment_id (str): Identification of the deployment. + organization_hash (str): Organization hash. + user_hash (str): User hash. + + 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.deployment_id = deployment_id + self.organization_hash = organization_hash + self.user_hash = user_hash + 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/telemetry_services.py b/gooddata-api-client/gooddata_api_client/model/telemetry_services.py new file mode 100644 index 000000000..cc6ca447c --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/telemetry_services.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.amplitude_service import AmplitudeService + from gooddata_api_client.model.matomo_service import MatomoService + from gooddata_api_client.model.open_telemetry_service import OpenTelemetryService + globals()['AmplitudeService'] = AmplitudeService + globals()['MatomoService'] = MatomoService + globals()['OpenTelemetryService'] = OpenTelemetryService + + +class TelemetryServices(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 { + 'amplitude': (AmplitudeService,), # noqa: E501 + 'matomo': (MatomoService,), # noqa: E501 + 'open_telemetry': (OpenTelemetryService,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'amplitude': 'amplitude', # noqa: E501 + 'matomo': 'matomo', # noqa: E501 + 'open_telemetry': 'openTelemetry', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """TelemetryServices - a model defined in OpenAPI + + 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,) + amplitude (AmplitudeService): [optional] # noqa: E501 + matomo (MatomoService): [optional] # noqa: E501 + open_telemetry (OpenTelemetryService): [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__,) + + 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, *args, **kwargs): # noqa: E501 + """TelemetryServices - a model defined in OpenAPI + + 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,) + amplitude (AmplitudeService): [optional] # noqa: E501 + matomo (MatomoService): [optional] # noqa: E501 + open_telemetry (OpenTelemetryService): [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__,) + + 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/test_definition_request.py b/gooddata-api-client/gooddata_api_client/model/test_definition_request.py index 405f5e6f7..027fd410d 100644 --- a/gooddata-api-client/gooddata_api_client/model/test_definition_request.py +++ b/gooddata-api-client/gooddata_api_client/model/test_definition_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/test_destination_request.py b/gooddata-api-client/gooddata_api_client/model/test_destination_request.py index 965eb81d5..5298183bb 100644 --- a/gooddata-api-client/gooddata_api_client/model/test_destination_request.py +++ b/gooddata-api-client/gooddata_api_client/model/test_destination_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/test_notification.py b/gooddata-api-client/gooddata_api_client/model/test_notification.py index f96bb0540..7db9acebe 100644 --- a/gooddata-api-client/gooddata_api_client/model/test_notification.py +++ b/gooddata-api-client/gooddata_api_client/model/test_notification.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/test_notification_all_of.py b/gooddata-api-client/gooddata_api_client/model/test_notification_all_of.py index 364d99719..30745e09a 100644 --- a/gooddata-api-client/gooddata_api_client/model/test_notification_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/test_notification_all_of.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/test_query_duration.py b/gooddata-api-client/gooddata_api_client/model/test_query_duration.py index efb2fb413..7d8b6d420 100644 --- a/gooddata-api-client/gooddata_api_client/model/test_query_duration.py +++ b/gooddata-api-client/gooddata_api_client/model/test_query_duration.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/test_request.py b/gooddata-api-client/gooddata_api_client/model/test_request.py index e253b31e1..b9d1bde21 100644 --- a/gooddata-api-client/gooddata_api_client/model/test_request.py +++ b/gooddata-api-client/gooddata_api_client/model/test_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/test_response.py b/gooddata-api-client/gooddata_api_client/model/test_response.py index 5f27b1b02..480cb34c0 100644 --- a/gooddata-api-client/gooddata_api_client/model/test_response.py +++ b/gooddata-api-client/gooddata_api_client/model/test_response.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/thought.py b/gooddata-api-client/gooddata_api_client/model/thought.py new file mode 100644 index 000000000..02c26df76 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/thought.py @@ -0,0 +1,270 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class Thought(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'text': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'text': 'text', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, text, *args, **kwargs): # noqa: E501 + """Thought - a model defined in OpenAPI + + Args: + text (str): The text content of this thought. + + 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.text = text + 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, text, *args, **kwargs): # noqa: E501 + """Thought - a model defined in OpenAPI + + Args: + text (str): The text content of this thought. + + 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.text = text + 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/total.py b/gooddata-api-client/gooddata_api_client/model/total.py index 1de8b8e57..b3ae12c93 100644 --- a/gooddata-api-client/gooddata_api_client/model/total.py +++ b/gooddata-api-client/gooddata_api_client/model/total.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/total_dimension.py b/gooddata-api-client/gooddata_api_client/model/total_dimension.py index caa50c81c..725a800df 100644 --- a/gooddata-api-client/gooddata_api_client/model/total_dimension.py +++ b/gooddata-api-client/gooddata_api_client/model/total_dimension.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/total_execution_result_header.py b/gooddata-api-client/gooddata_api_client/model/total_execution_result_header.py index 54b4e0c35..a26cf337f 100644 --- a/gooddata-api-client/gooddata_api_client/model/total_execution_result_header.py +++ b/gooddata-api-client/gooddata_api_client/model/total_execution_result_header.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/total_result_header.py b/gooddata-api-client/gooddata_api_client/model/total_result_header.py index 6d60327b2..dc73e7f4e 100644 --- a/gooddata-api-client/gooddata_api_client/model/total_result_header.py +++ b/gooddata-api-client/gooddata_api_client/model/total_result_header.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/trigger_automation_request.py b/gooddata-api-client/gooddata_api_client/model/trigger_automation_request.py index c44427d88..3852ba0c9 100644 --- a/gooddata-api-client/gooddata_api_client/model/trigger_automation_request.py +++ b/gooddata-api-client/gooddata_api_client/model/trigger_automation_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/trigger_quality_issues_calculation_response.py b/gooddata-api-client/gooddata_api_client/model/trigger_quality_issues_calculation_response.py index 5a20d5906..95c65e39d 100644 --- a/gooddata-api-client/gooddata_api_client/model/trigger_quality_issues_calculation_response.py +++ b/gooddata-api-client/gooddata_api_client/model/trigger_quality_issues_calculation_response.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/upload_file_response.py b/gooddata-api-client/gooddata_api_client/model/upload_file_response.py new file mode 100644 index 000000000..bacdf2e2c --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/upload_file_response.py @@ -0,0 +1,270 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class UploadFileResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'location': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'location': 'location', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, location, *args, **kwargs): # noqa: E501 + """UploadFileResponse - a model defined in OpenAPI + + Args: + location (str): Location to use when referencing the uploaded file in subsequent requests. + + 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.location = location + 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, location, *args, **kwargs): # noqa: E501 + """UploadFileResponse - a model defined in OpenAPI + + Args: + location (str): Location to use when referencing the uploaded file in subsequent requests. + + 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.location = location + 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/upload_geo_collection_file_response.py b/gooddata-api-client/gooddata_api_client/model/upload_geo_collection_file_response.py new file mode 100644 index 000000000..baf206f8b --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/upload_geo_collection_file_response.py @@ -0,0 +1,270 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class UploadGeoCollectionFileResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'location': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'location': 'location', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, location, *args, **kwargs): # noqa: E501 + """UploadGeoCollectionFileResponse - a model defined in OpenAPI + + Args: + location (str): Location to use when referencing the uploaded file in subsequent requests. + + 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.location = location + 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, location, *args, **kwargs): # noqa: E501 + """UploadGeoCollectionFileResponse - a model defined in OpenAPI + + Args: + location (str): Location to use when referencing the uploaded file in subsequent requests. + + 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.location = location + 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/user_assignee.py b/gooddata-api-client/gooddata_api_client/model/user_assignee.py index 1b181fb7d..d215d9243 100644 --- a/gooddata-api-client/gooddata_api_client/model/user_assignee.py +++ b/gooddata-api-client/gooddata_api_client/model/user_assignee.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/user_context.py b/gooddata-api-client/gooddata_api_client/model/user_context.py index d31d32383..6b59c1f25 100644 --- a/gooddata-api-client/gooddata_api_client/model/user_context.py +++ b/gooddata-api-client/gooddata_api_client/model/user_context.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/user_group_assignee.py b/gooddata-api-client/gooddata_api_client/model/user_group_assignee.py index 562b6fba0..972ee2609 100644 --- a/gooddata-api-client/gooddata_api_client/model/user_group_assignee.py +++ b/gooddata-api-client/gooddata_api_client/model/user_group_assignee.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/user_group_identifier.py b/gooddata-api-client/gooddata_api_client/model/user_group_identifier.py index 668cb021b..b1ea62558 100644 --- a/gooddata-api-client/gooddata_api_client/model/user_group_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/user_group_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/user_group_permission.py b/gooddata-api-client/gooddata_api_client/model/user_group_permission.py index aacca9f70..819a20baa 100644 --- a/gooddata-api-client/gooddata_api_client/model/user_group_permission.py +++ b/gooddata-api-client/gooddata_api_client/model/user_group_permission.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/user_management_data_source_permission_assignment.py b/gooddata-api-client/gooddata_api_client/model/user_management_data_source_permission_assignment.py index b1e5dcda9..0c90a9d73 100644 --- a/gooddata-api-client/gooddata_api_client/model/user_management_data_source_permission_assignment.py +++ b/gooddata-api-client/gooddata_api_client/model/user_management_data_source_permission_assignment.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/user_management_permission_assignments.py b/gooddata-api-client/gooddata_api_client/model/user_management_permission_assignments.py index b4de7f443..fd01a91b9 100644 --- a/gooddata-api-client/gooddata_api_client/model/user_management_permission_assignments.py +++ b/gooddata-api-client/gooddata_api_client/model/user_management_permission_assignments.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/user_management_user_group_member.py b/gooddata-api-client/gooddata_api_client/model/user_management_user_group_member.py index 32af540dc..e6f57a070 100644 --- a/gooddata-api-client/gooddata_api_client/model/user_management_user_group_member.py +++ b/gooddata-api-client/gooddata_api_client/model/user_management_user_group_member.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/user_management_user_group_members.py b/gooddata-api-client/gooddata_api_client/model/user_management_user_group_members.py index ed1437a20..caa288f07 100644 --- a/gooddata-api-client/gooddata_api_client/model/user_management_user_group_members.py +++ b/gooddata-api-client/gooddata_api_client/model/user_management_user_group_members.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/user_management_user_groups.py b/gooddata-api-client/gooddata_api_client/model/user_management_user_groups.py index f47906cbe..46ba7de95 100644 --- a/gooddata-api-client/gooddata_api_client/model/user_management_user_groups.py +++ b/gooddata-api-client/gooddata_api_client/model/user_management_user_groups.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/user_management_user_groups_item.py b/gooddata-api-client/gooddata_api_client/model/user_management_user_groups_item.py index 436a1b907..7c90c0b4b 100644 --- a/gooddata-api-client/gooddata_api_client/model/user_management_user_groups_item.py +++ b/gooddata-api-client/gooddata_api_client/model/user_management_user_groups_item.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/user_management_users.py b/gooddata-api-client/gooddata_api_client/model/user_management_users.py index 6ef58120d..de87797a9 100644 --- a/gooddata-api-client/gooddata_api_client/model/user_management_users.py +++ b/gooddata-api-client/gooddata_api_client/model/user_management_users.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/user_management_users_item.py b/gooddata-api-client/gooddata_api_client/model/user_management_users_item.py index 766712b00..b9544060a 100644 --- a/gooddata-api-client/gooddata_api_client/model/user_management_users_item.py +++ b/gooddata-api-client/gooddata_api_client/model/user_management_users_item.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/user_management_workspace_permission_assignment.py b/gooddata-api-client/gooddata_api_client/model/user_management_workspace_permission_assignment.py index 3f48d6fa5..c0f81e524 100644 --- a/gooddata-api-client/gooddata_api_client/model/user_management_workspace_permission_assignment.py +++ b/gooddata-api-client/gooddata_api_client/model/user_management_workspace_permission_assignment.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/user_permission.py b/gooddata-api-client/gooddata_api_client/model/user_permission.py index 7ad623efa..b35d0f176 100644 --- a/gooddata-api-client/gooddata_api_client/model/user_permission.py +++ b/gooddata-api-client/gooddata_api_client/model/user_permission.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/validate_by_item.py b/gooddata-api-client/gooddata_api_client/model/validate_by_item.py index 0ce8015d4..ee5ef5957 100644 --- a/gooddata-api-client/gooddata_api_client/model/validate_by_item.py +++ b/gooddata-api-client/gooddata_api_client/model/validate_by_item.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_by_id_request.py b/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_by_id_request.py index acaae9d94..bc1bac2b8 100644 --- a/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_by_id_request.py +++ b/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_by_id_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_request.py b/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_request.py index d992bf2de..025dbe386 100644 --- a/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_request.py +++ b/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_response.py b/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_response.py index 20db40776..127aef98a 100644 --- a/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_response.py +++ b/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_response.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/value.py b/gooddata-api-client/gooddata_api_client/model/value.py index b75fe031d..00f7aeef2 100644 --- a/gooddata-api-client/gooddata_api_client/model/value.py +++ b/gooddata-api-client/gooddata_api_client/model/value.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/visible_filter.py b/gooddata-api-client/gooddata_api_client/model/visible_filter.py index 443df540f..bddff8ca2 100644 --- a/gooddata-api-client/gooddata_api_client/model/visible_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/visible_filter.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/visual_export_request.py b/gooddata-api-client/gooddata_api_client/model/visual_export_request.py index 6b756431d..a10ff96fd 100644 --- a/gooddata-api-client/gooddata_api_client/model/visual_export_request.py +++ b/gooddata-api-client/gooddata_api_client/model/visual_export_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/webhook.py b/gooddata-api-client/gooddata_api_client/model/webhook.py index 1f6193a61..efbd4aa87 100644 --- a/gooddata-api-client/gooddata_api_client/model/webhook.py +++ b/gooddata-api-client/gooddata_api_client/model/webhook.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -66,6 +66,9 @@ class Webhook(ModelComposed): } validations = { + ('secret_key',): { + 'max_length': 10000, + }, ('token',): { 'max_length': 10000, }, @@ -101,7 +104,9 @@ def openapi_types(): lazy_import() return { 'type': (str,), # noqa: E501 + 'has_secret_key': (bool, none_type,), # noqa: E501 'has_token': (bool, none_type,), # noqa: E501 + 'secret_key': (str, none_type,), # noqa: E501 'token': (str, none_type,), # noqa: E501 'url': (str,), # noqa: E501 } @@ -113,12 +118,15 @@ def discriminator(): attribute_map = { 'type': 'type', # noqa: E501 + 'has_secret_key': 'hasSecretKey', # noqa: E501 'has_token': 'hasToken', # noqa: E501 + 'secret_key': 'secretKey', # noqa: E501 'token': 'token', # noqa: E501 'url': 'url', # noqa: E501 } read_only_vars = { + 'has_secret_key', # noqa: E501 'has_token', # noqa: E501 } @@ -159,7 +167,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + has_secret_key (bool, none_type): Flag indicating if webhook has a hmac secret key.. [optional] # noqa: E501 has_token (bool, none_type): Flag indicating if webhook has a token.. [optional] # noqa: E501 + secret_key (str, none_type): Hmac secret key for the webhook signature.. [optional] # noqa: E501 token (str, none_type): Bearer token for the webhook.. [optional] # noqa: E501 url (str): The webhook URL.. [optional] # noqa: E501 """ @@ -267,7 +277,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + has_secret_key (bool, none_type): Flag indicating if webhook has a hmac secret key.. [optional] # noqa: E501 has_token (bool, none_type): Flag indicating if webhook has a token.. [optional] # noqa: E501 + secret_key (str, none_type): Hmac secret key for the webhook signature.. [optional] # noqa: E501 token (str, none_type): Bearer token for the webhook.. [optional] # noqa: E501 url (str): The webhook URL.. [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/webhook_all_of.py b/gooddata-api-client/gooddata_api_client/model/webhook_all_of.py index 709c6dcae..feb0a5b0c 100644 --- a/gooddata-api-client/gooddata_api_client/model/webhook_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/webhook_all_of.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -62,6 +62,9 @@ class WebhookAllOf(ModelNormal): } validations = { + ('secret_key',): { + 'max_length': 10000, + }, ('token',): { 'max_length': 10000, }, @@ -94,7 +97,9 @@ def openapi_types(): and the value is attribute type. """ return { + 'has_secret_key': (bool, none_type,), # noqa: E501 'has_token': (bool, none_type,), # noqa: E501 + 'secret_key': (str, none_type,), # noqa: E501 'token': (str, none_type,), # noqa: E501 'type': (str,), # noqa: E501 'url': (str,), # noqa: E501 @@ -106,13 +111,16 @@ def discriminator(): attribute_map = { + 'has_secret_key': 'hasSecretKey', # noqa: E501 'has_token': 'hasToken', # noqa: E501 + 'secret_key': 'secretKey', # noqa: E501 'token': 'token', # noqa: E501 'type': 'type', # noqa: E501 'url': 'url', # noqa: E501 } read_only_vars = { + 'has_secret_key', # noqa: E501 'has_token', # noqa: E501 } @@ -154,7 +162,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + has_secret_key (bool, none_type): Flag indicating if webhook has a hmac secret key.. [optional] # noqa: E501 has_token (bool, none_type): Flag indicating if webhook has a token.. [optional] # noqa: E501 + secret_key (str, none_type): Hmac secret key for the webhook signature.. [optional] # noqa: E501 token (str, none_type): Bearer token for the webhook.. [optional] # noqa: E501 type (str): The destination type.. [optional] if omitted the server will use the default value of "WEBHOOK" # noqa: E501 url (str): The webhook URL.. [optional] # noqa: E501 @@ -243,7 +253,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + has_secret_key (bool, none_type): Flag indicating if webhook has a hmac secret key.. [optional] # noqa: E501 has_token (bool, none_type): Flag indicating if webhook has a token.. [optional] # noqa: E501 + secret_key (str, none_type): Hmac secret key for the webhook signature.. [optional] # noqa: E501 token (str, none_type): Bearer token for the webhook.. [optional] # noqa: E501 type (str): The destination type.. [optional] if omitted the server will use the default value of "WEBHOOK" # noqa: E501 url (str): The webhook URL.. [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/webhook_automation_info.py b/gooddata-api-client/gooddata_api_client/model/webhook_automation_info.py index f30536832..1f146d700 100644 --- a/gooddata-api-client/gooddata_api_client/model/webhook_automation_info.py +++ b/gooddata-api-client/gooddata_api_client/model/webhook_automation_info.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/webhook_message.py b/gooddata-api-client/gooddata_api_client/model/webhook_message.py index c971143a2..9d14ad0b0 100644 --- a/gooddata-api-client/gooddata_api_client/model/webhook_message.py +++ b/gooddata-api-client/gooddata_api_client/model/webhook_message.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/webhook_message_data.py b/gooddata-api-client/gooddata_api_client/model/webhook_message_data.py index c6d5e21a0..567e5e2fd 100644 --- a/gooddata-api-client/gooddata_api_client/model/webhook_message_data.py +++ b/gooddata-api-client/gooddata_api_client/model/webhook_message_data.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/webhook_recipient.py b/gooddata-api-client/gooddata_api_client/model/webhook_recipient.py index 56634f388..3aa0897aa 100644 --- a/gooddata-api-client/gooddata_api_client/model/webhook_recipient.py +++ b/gooddata-api-client/gooddata_api_client/model/webhook_recipient.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/widget_slides_template.py b/gooddata-api-client/gooddata_api_client/model/widget_slides_template.py index b958de7aa..c7fa490f4 100644 --- a/gooddata-api-client/gooddata_api_client/model/widget_slides_template.py +++ b/gooddata-api-client/gooddata_api_client/model/widget_slides_template.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/workspace_automation_identifier.py b/gooddata-api-client/gooddata_api_client/model/workspace_automation_identifier.py index 96efc9be5..d219b1861 100644 --- a/gooddata-api-client/gooddata_api_client/model/workspace_automation_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/workspace_automation_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/workspace_automation_management_bulk_request.py b/gooddata-api-client/gooddata_api_client/model/workspace_automation_management_bulk_request.py index 9e3181892..6d78a42e5 100644 --- a/gooddata-api-client/gooddata_api_client/model/workspace_automation_management_bulk_request.py +++ b/gooddata-api-client/gooddata_api_client/model/workspace_automation_management_bulk_request.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/workspace_cache_settings.py b/gooddata-api-client/gooddata_api_client/model/workspace_cache_settings.py new file mode 100644 index 000000000..309b2e323 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/workspace_cache_settings.py @@ -0,0 +1,270 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class WorkspaceCacheSettings(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'extra_cache': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'extra_cache': 'extraCache', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, extra_cache, *args, **kwargs): # noqa: E501 + """WorkspaceCacheSettings - a model defined in OpenAPI + + Args: + extra_cache (int): Extra cache for the workspace, in bytes. + + 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.extra_cache = extra_cache + 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, extra_cache, *args, **kwargs): # noqa: E501 + """WorkspaceCacheSettings - a model defined in OpenAPI + + Args: + extra_cache (int): Extra cache for the workspace, in bytes. + + 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.extra_cache = extra_cache + 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/workspace_cache_usage.py b/gooddata-api-client/gooddata_api_client/model/workspace_cache_usage.py new file mode 100644 index 000000000..ca981a23b --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/workspace_cache_usage.py @@ -0,0 +1,292 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + 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.cache_removal_interval import CacheRemovalInterval + from gooddata_api_client.model.workspace_cache_settings import WorkspaceCacheSettings + from gooddata_api_client.model.workspace_current_cache_usage import WorkspaceCurrentCacheUsage + globals()['CacheRemovalInterval'] = CacheRemovalInterval + globals()['WorkspaceCacheSettings'] = WorkspaceCacheSettings + globals()['WorkspaceCurrentCacheUsage'] = WorkspaceCurrentCacheUsage + + +class WorkspaceCacheUsage(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 { + 'current': (WorkspaceCurrentCacheUsage,), # noqa: E501 + 'removal_intervals': ([CacheRemovalInterval],), # noqa: E501 + 'settings': (WorkspaceCacheSettings,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'current': 'current', # noqa: E501 + 'removal_intervals': 'removalIntervals', # noqa: E501 + 'settings': 'settings', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, current, removal_intervals, settings, *args, **kwargs): # noqa: E501 + """WorkspaceCacheUsage - a model defined in OpenAPI + + Args: + current (WorkspaceCurrentCacheUsage): + removal_intervals ([CacheRemovalInterval]): List of cache removal intervals for workspace. + settings (WorkspaceCacheSettings): + + 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.current = current + self.removal_intervals = removal_intervals + self.settings = settings + 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, current, removal_intervals, settings, *args, **kwargs): # noqa: E501 + """WorkspaceCacheUsage - a model defined in OpenAPI + + Args: + current (WorkspaceCurrentCacheUsage): + removal_intervals ([CacheRemovalInterval]): List of cache removal intervals for workspace. + settings (WorkspaceCacheSettings): + + 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.current = current + self.removal_intervals = removal_intervals + self.settings = settings + 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/workspace_current_cache_usage.py b/gooddata-api-client/gooddata_api_client/model/workspace_current_cache_usage.py new file mode 100644 index 000000000..8c8010ae5 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/workspace_current_cache_usage.py @@ -0,0 +1,288 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: 90a5773 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class WorkspaceCurrentCacheUsage(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'cache_available': (int,), # noqa: E501 + 'cache_used': (int,), # noqa: E501 + 'removal_period_start': (datetime,), # noqa: E501 + 'removed_since_start': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'cache_available': 'cacheAvailable', # noqa: E501 + 'cache_used': 'cacheUsed', # noqa: E501 + 'removal_period_start': 'removalPeriodStart', # noqa: E501 + 'removed_since_start': 'removedSinceStart', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, cache_available, cache_used, removal_period_start, removed_since_start, *args, **kwargs): # noqa: E501 + """WorkspaceCurrentCacheUsage - a model defined in OpenAPI + + Args: + cache_available (int): Cache available for the workspace. + cache_used (int): Cache used by the workspace. + removal_period_start (datetime): Start timestamp of removal period for the workspace. + removed_since_start (int): Bytes removed since start due to insufficient cache for the workspace. + + 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.cache_available = cache_available + self.cache_used = cache_used + self.removal_period_start = removal_period_start + self.removed_since_start = removed_since_start + 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, cache_available, cache_used, removal_period_start, removed_since_start, *args, **kwargs): # noqa: E501 + """WorkspaceCurrentCacheUsage - a model defined in OpenAPI + + Args: + cache_available (int): Cache available for the workspace. + cache_used (int): Cache used by the workspace. + removal_period_start (datetime): Start timestamp of removal period for the workspace. + removed_since_start (int): Bytes removed since start due to insufficient cache for the workspace. + + 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.cache_available = cache_available + self.cache_used = cache_used + self.removal_period_start = removal_period_start + self.removed_since_start = removed_since_start + 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/workspace_data_source.py b/gooddata-api-client/gooddata_api_client/model/workspace_data_source.py index 96cf65f9b..2f389309b 100644 --- a/gooddata-api-client/gooddata_api_client/model/workspace_data_source.py +++ b/gooddata-api-client/gooddata_api_client/model/workspace_data_source.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/workspace_identifier.py b/gooddata-api-client/gooddata_api_client/model/workspace_identifier.py index bfd04d5e2..b6d38bae2 100644 --- a/gooddata-api-client/gooddata_api_client/model/workspace_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/workspace_identifier.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/workspace_permission_assignment.py b/gooddata-api-client/gooddata_api_client/model/workspace_permission_assignment.py index 6b463d1af..54e35a49a 100644 --- a/gooddata-api-client/gooddata_api_client/model/workspace_permission_assignment.py +++ b/gooddata-api-client/gooddata_api_client/model/workspace_permission_assignment.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/workspace_user.py b/gooddata-api-client/gooddata_api_client/model/workspace_user.py index 5697a2ebd..a15a46006 100644 --- a/gooddata-api-client/gooddata_api_client/model/workspace_user.py +++ b/gooddata-api-client/gooddata_api_client/model/workspace_user.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/workspace_user_group.py b/gooddata-api-client/gooddata_api_client/model/workspace_user_group.py index 28e245936..38e373d88 100644 --- a/gooddata-api-client/gooddata_api_client/model/workspace_user_group.py +++ b/gooddata-api-client/gooddata_api_client/model/workspace_user_group.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/workspace_user_groups.py b/gooddata-api-client/gooddata_api_client/model/workspace_user_groups.py index 00923239b..c4e3b27a0 100644 --- a/gooddata-api-client/gooddata_api_client/model/workspace_user_groups.py +++ b/gooddata-api-client/gooddata_api_client/model/workspace_user_groups.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/workspace_users.py b/gooddata-api-client/gooddata_api_client/model/workspace_users.py index 265f01d5a..bdc0f1da0 100644 --- a/gooddata-api-client/gooddata_api_client/model/workspace_users.py +++ b/gooddata-api-client/gooddata_api_client/model/workspace_users.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/model/xliff.py b/gooddata-api-client/gooddata_api_client/model/xliff.py index 206e6ec6f..7c0bfbb0a 100644 --- a/gooddata-api-client/gooddata_api_client/model/xliff.py +++ b/gooddata-api-client/gooddata_api_client/model/xliff.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ @@ -117,9 +117,12 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, file, *args, **kwargs): # noqa: E501 """Xliff - a model defined in OpenAPI + Args: + file ([File]): + Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -151,7 +154,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - file ([File]): [optional] # noqa: E501 other_attributes ({str: (str,)}): [optional] # noqa: E501 space (str): [optional] # noqa: E501 src_lang (str): [optional] # noqa: E501 @@ -188,6 +190,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.file = file for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -208,9 +211,12 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 + def __init__(self, file, *args, **kwargs): # noqa: E501 """Xliff - a model defined in OpenAPI + Args: + file ([File]): + Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -242,7 +248,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - file ([File]): [optional] # noqa: E501 other_attributes ({str: (str,)}): [optional] # noqa: E501 space (str): [optional] # noqa: E501 src_lang (str): [optional] # noqa: E501 @@ -277,6 +282,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.file = file for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/gooddata-api-client/gooddata_api_client/model_utils.py b/gooddata-api-client/gooddata_api_client/model_utils.py index bc91bd70e..388d0a88e 100644 --- a/gooddata-api-client/gooddata_api_client/model_utils.py +++ b/gooddata-api-client/gooddata_api_client/model_utils.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/gooddata_api_client/models/__init__.py b/gooddata-api-client/gooddata_api_client/models/__init__.py index 643f79517..3ed3f4ab1 100644 --- a/gooddata-api-client/gooddata_api_client/models/__init__.py +++ b/gooddata-api-client/gooddata_api_client/models/__init__.py @@ -11,6 +11,38 @@ from gooddata_api_client.model.afm import AFM from gooddata_api_client.model.afm_filters_inner import AFMFiltersInner +from gooddata_api_client.model.aac_analytics_model import AacAnalyticsModel +from gooddata_api_client.model.aac_attribute_hierarchy import AacAttributeHierarchy +from gooddata_api_client.model.aac_dashboard import AacDashboard +from gooddata_api_client.model.aac_dashboard_filter import AacDashboardFilter +from gooddata_api_client.model.aac_dashboard_filter_from import AacDashboardFilterFrom +from gooddata_api_client.model.aac_dashboard_permissions import AacDashboardPermissions +from gooddata_api_client.model.aac_dashboard_plugin_link import AacDashboardPluginLink +from gooddata_api_client.model.aac_dataset import AacDataset +from gooddata_api_client.model.aac_dataset_primary_key import AacDatasetPrimaryKey +from gooddata_api_client.model.aac_date_dataset import AacDateDataset +from gooddata_api_client.model.aac_field import AacField +from gooddata_api_client.model.aac_filter_state import AacFilterState +from gooddata_api_client.model.aac_geo_area_config import AacGeoAreaConfig +from gooddata_api_client.model.aac_geo_collection_identifier import AacGeoCollectionIdentifier +from gooddata_api_client.model.aac_label import AacLabel +from gooddata_api_client.model.aac_label_translation import AacLabelTranslation +from gooddata_api_client.model.aac_logical_model import AacLogicalModel +from gooddata_api_client.model.aac_metric import AacMetric +from gooddata_api_client.model.aac_permission import AacPermission +from gooddata_api_client.model.aac_plugin import AacPlugin +from gooddata_api_client.model.aac_query import AacQuery +from gooddata_api_client.model.aac_query_fields_value import AacQueryFieldsValue +from gooddata_api_client.model.aac_query_filter import AacQueryFilter +from gooddata_api_client.model.aac_reference import AacReference +from gooddata_api_client.model.aac_reference_source import AacReferenceSource +from gooddata_api_client.model.aac_section import AacSection +from gooddata_api_client.model.aac_tab import AacTab +from gooddata_api_client.model.aac_visualization import AacVisualization +from gooddata_api_client.model.aac_widget import AacWidget +from gooddata_api_client.model.aac_widget_description import AacWidgetDescription +from gooddata_api_client.model.aac_widget_size import AacWidgetSize +from gooddata_api_client.model.aac_workspace_data_filter import AacWorkspaceDataFilter from gooddata_api_client.model.absolute_date_filter import AbsoluteDateFilter from gooddata_api_client.model.absolute_date_filter_absolute_date_filter import AbsoluteDateFilterAbsoluteDateFilter from gooddata_api_client.model.abstract_measure_value_filter import AbstractMeasureValueFilter @@ -40,9 +72,16 @@ from gooddata_api_client.model.alert_condition_operand import AlertConditionOperand from gooddata_api_client.model.alert_description import AlertDescription from gooddata_api_client.model.alert_evaluation_row import AlertEvaluationRow +from gooddata_api_client.model.amplitude_service import AmplitudeService from gooddata_api_client.model.analytics_catalog_created_by import AnalyticsCatalogCreatedBy from gooddata_api_client.model.analytics_catalog_tags import AnalyticsCatalogTags from gooddata_api_client.model.analytics_catalog_user import AnalyticsCatalogUser +from gooddata_api_client.model.analyze_csv_request import AnalyzeCsvRequest +from gooddata_api_client.model.analyze_csv_request_item import AnalyzeCsvRequestItem +from gooddata_api_client.model.analyze_csv_request_item_config import AnalyzeCsvRequestItemConfig +from gooddata_api_client.model.analyze_csv_response import AnalyzeCsvResponse +from gooddata_api_client.model.analyze_csv_response_column import AnalyzeCsvResponseColumn +from gooddata_api_client.model.analyze_csv_response_config import AnalyzeCsvResponseConfig from gooddata_api_client.model.anomaly_detection import AnomalyDetection from gooddata_api_client.model.anomaly_detection_request import AnomalyDetectionRequest from gooddata_api_client.model.anomaly_detection_result import AnomalyDetectionResult @@ -70,6 +109,7 @@ from gooddata_api_client.model.attribute_positive_filter import AttributePositiveFilter from gooddata_api_client.model.attribute_positive_filter_all_of import AttributePositiveFilterAllOf from gooddata_api_client.model.attribute_result_header import AttributeResultHeader +from gooddata_api_client.model.auth_user import AuthUser from gooddata_api_client.model.automation_alert import AutomationAlert from gooddata_api_client.model.automation_alert_condition import AutomationAlertCondition from gooddata_api_client.model.automation_dashboard_tabular_export import AutomationDashboardTabularExport @@ -85,6 +125,8 @@ from gooddata_api_client.model.automation_visual_export import AutomationVisualExport from gooddata_api_client.model.available_assignees import AvailableAssignees from gooddata_api_client.model.bounded_filter import BoundedFilter +from gooddata_api_client.model.cache_removal_interval import CacheRemovalInterval +from gooddata_api_client.model.cache_usage_data import CacheUsageData from gooddata_api_client.model.change_analysis_params import ChangeAnalysisParams from gooddata_api_client.model.change_analysis_params_filters_inner import ChangeAnalysisParamsFiltersInner from gooddata_api_client.model.change_analysis_request import ChangeAnalysisRequest @@ -107,14 +149,23 @@ from gooddata_api_client.model.column_statistics_response import ColumnStatisticsResponse from gooddata_api_client.model.column_warning import ColumnWarning from gooddata_api_client.model.comparison import Comparison +from gooddata_api_client.model.comparison_condition import ComparisonCondition +from gooddata_api_client.model.comparison_condition_comparison import ComparisonConditionComparison from gooddata_api_client.model.comparison_measure_value_filter import ComparisonMeasureValueFilter from gooddata_api_client.model.comparison_measure_value_filter_comparison_measure_value_filter import ComparisonMeasureValueFilterComparisonMeasureValueFilter from gooddata_api_client.model.comparison_wrapper import ComparisonWrapper +from gooddata_api_client.model.compound_measure_value_filter import CompoundMeasureValueFilter +from gooddata_api_client.model.compound_measure_value_filter_compound_measure_value_filter import CompoundMeasureValueFilterCompoundMeasureValueFilter from gooddata_api_client.model.content_slide_template import ContentSlideTemplate from gooddata_api_client.model.cover_slide_template import CoverSlideTemplate from gooddata_api_client.model.created_visualization import CreatedVisualization from gooddata_api_client.model.created_visualization_filters_inner import CreatedVisualizationFiltersInner from gooddata_api_client.model.created_visualizations import CreatedVisualizations +from gooddata_api_client.model.csv_convert_options import CsvConvertOptions +from gooddata_api_client.model.csv_convert_options_column_type import CsvConvertOptionsColumnType +from gooddata_api_client.model.csv_manifest_body import CsvManifestBody +from gooddata_api_client.model.csv_parse_options import CsvParseOptions +from gooddata_api_client.model.csv_read_options import CsvReadOptions from gooddata_api_client.model.custom_label import CustomLabel from gooddata_api_client.model.custom_metric import CustomMetric from gooddata_api_client.model.custom_override import CustomOverride @@ -122,7 +173,6 @@ from gooddata_api_client.model.dashboard_attribute_filter_attribute_filter import DashboardAttributeFilterAttributeFilter from gooddata_api_client.model.dashboard_date_filter import DashboardDateFilter from gooddata_api_client.model.dashboard_date_filter_date_filter import DashboardDateFilterDateFilter -from gooddata_api_client.model.dashboard_date_filter_date_filter_from import DashboardDateFilterDateFilterFrom from gooddata_api_client.model.dashboard_export_settings import DashboardExportSettings from gooddata_api_client.model.dashboard_filter import DashboardFilter from gooddata_api_client.model.dashboard_permissions import DashboardPermissions @@ -164,6 +214,8 @@ from gooddata_api_client.model.declarative_column import DeclarativeColumn from gooddata_api_client.model.declarative_csp_directive import DeclarativeCspDirective from gooddata_api_client.model.declarative_custom_application_setting import DeclarativeCustomApplicationSetting +from gooddata_api_client.model.declarative_custom_geo_collection import DeclarativeCustomGeoCollection +from gooddata_api_client.model.declarative_custom_geo_collections import DeclarativeCustomGeoCollections from gooddata_api_client.model.declarative_dashboard_plugin import DeclarativeDashboardPlugin from gooddata_api_client.model.declarative_data_source import DeclarativeDataSource from gooddata_api_client.model.declarative_data_source_permission import DeclarativeDataSourcePermission @@ -232,6 +284,7 @@ from gooddata_api_client.model.declarative_workspaces import DeclarativeWorkspaces from gooddata_api_client.model.default_smtp import DefaultSmtp from gooddata_api_client.model.default_smtp_all_of import DefaultSmtpAllOf +from gooddata_api_client.model.delete_files_request import DeleteFilesRequest from gooddata_api_client.model.dependent_entities_graph import DependentEntitiesGraph from gooddata_api_client.model.dependent_entities_node import DependentEntitiesNode from gooddata_api_client.model.dependent_entities_request import DependentEntitiesRequest @@ -266,6 +319,8 @@ from gooddata_api_client.model.export_response import ExportResponse from gooddata_api_client.model.export_result import ExportResult from gooddata_api_client.model.fact_identifier import FactIdentifier +from gooddata_api_client.model.feature_flags_context import FeatureFlagsContext +from gooddata_api_client.model.features import Features from gooddata_api_client.model.file import File from gooddata_api_client.model.filter import Filter from gooddata_api_client.model.filter_by import FilterBy @@ -277,9 +332,13 @@ from gooddata_api_client.model.frequency import Frequency from gooddata_api_client.model.frequency_bucket import FrequencyBucket from gooddata_api_client.model.frequency_properties import FrequencyProperties +from gooddata_api_client.model.gd_storage_file import GdStorageFile from gooddata_api_client.model.generate_ldm_request import GenerateLdmRequest from gooddata_api_client.model.geo_area_config import GeoAreaConfig -from gooddata_api_client.model.geo_collection import GeoCollection +from gooddata_api_client.model.geo_collection_identifier import GeoCollectionIdentifier +from gooddata_api_client.model.geo_json_feature import GeoJsonFeature +from gooddata_api_client.model.geo_json_feature_collection import GeoJsonFeatureCollection +from gooddata_api_client.model.geo_json_geometry import GeoJsonGeometry from gooddata_api_client.model.get_image_export202_response_inner import GetImageExport202ResponseInner from gooddata_api_client.model.get_quality_issues_response import GetQualityIssuesResponse from gooddata_api_client.model.grain_identifier import GrainIdentifier @@ -294,6 +353,13 @@ from gooddata_api_client.model.identifier_ref import IdentifierRef from gooddata_api_client.model.identifier_ref_identifier import IdentifierRefIdentifier from gooddata_api_client.model.image_export_request import ImageExportRequest +from gooddata_api_client.model.import_csv_request import ImportCsvRequest +from gooddata_api_client.model.import_csv_request_table import ImportCsvRequestTable +from gooddata_api_client.model.import_csv_request_table_source import ImportCsvRequestTableSource +from gooddata_api_client.model.import_csv_request_table_source_config import ImportCsvRequestTableSourceConfig +from gooddata_api_client.model.import_csv_response import ImportCsvResponse +from gooddata_api_client.model.import_geo_collection_request import ImportGeoCollectionRequest +from gooddata_api_client.model.import_geo_collection_response import ImportGeoCollectionResponse from gooddata_api_client.model.in_platform import InPlatform from gooddata_api_client.model.in_platform_all_of import InPlatformAllOf from gooddata_api_client.model.inline_filter_definition import InlineFilterDefinition @@ -301,6 +367,7 @@ from gooddata_api_client.model.inline_measure_definition import InlineMeasureDefinition from gooddata_api_client.model.inline_measure_definition_inline import InlineMeasureDefinitionInline from gooddata_api_client.model.intro_slide_template import IntroSlideTemplate +from gooddata_api_client.model.invitation import Invitation from gooddata_api_client.model.json_api_aggregated_fact_linkage import JsonApiAggregatedFactLinkage from gooddata_api_client.model.json_api_aggregated_fact_out import JsonApiAggregatedFactOut from gooddata_api_client.model.json_api_aggregated_fact_out_attributes import JsonApiAggregatedFactOutAttributes @@ -458,6 +525,14 @@ from gooddata_api_client.model.json_api_custom_application_setting_patch_document import JsonApiCustomApplicationSettingPatchDocument from gooddata_api_client.model.json_api_custom_application_setting_post_optional_id import JsonApiCustomApplicationSettingPostOptionalId from gooddata_api_client.model.json_api_custom_application_setting_post_optional_id_document import JsonApiCustomApplicationSettingPostOptionalIdDocument +from gooddata_api_client.model.json_api_custom_geo_collection_in import JsonApiCustomGeoCollectionIn +from gooddata_api_client.model.json_api_custom_geo_collection_in_document import JsonApiCustomGeoCollectionInDocument +from gooddata_api_client.model.json_api_custom_geo_collection_out import JsonApiCustomGeoCollectionOut +from gooddata_api_client.model.json_api_custom_geo_collection_out_document import JsonApiCustomGeoCollectionOutDocument +from gooddata_api_client.model.json_api_custom_geo_collection_out_list import JsonApiCustomGeoCollectionOutList +from gooddata_api_client.model.json_api_custom_geo_collection_out_with_links import JsonApiCustomGeoCollectionOutWithLinks +from gooddata_api_client.model.json_api_custom_geo_collection_patch import JsonApiCustomGeoCollectionPatch +from gooddata_api_client.model.json_api_custom_geo_collection_patch_document import JsonApiCustomGeoCollectionPatchDocument from gooddata_api_client.model.json_api_dashboard_plugin_in import JsonApiDashboardPluginIn from gooddata_api_client.model.json_api_dashboard_plugin_in_attributes import JsonApiDashboardPluginInAttributes from gooddata_api_client.model.json_api_dashboard_plugin_in_document import JsonApiDashboardPluginInDocument @@ -508,7 +583,6 @@ from gooddata_api_client.model.json_api_dataset_out_relationships_workspace_data_filters import JsonApiDatasetOutRelationshipsWorkspaceDataFilters from gooddata_api_client.model.json_api_dataset_out_with_links import JsonApiDatasetOutWithLinks from gooddata_api_client.model.json_api_dataset_patch import JsonApiDatasetPatch -from gooddata_api_client.model.json_api_dataset_patch_attributes import JsonApiDatasetPatchAttributes from gooddata_api_client.model.json_api_dataset_patch_document import JsonApiDatasetPatchDocument from gooddata_api_client.model.json_api_dataset_to_many_linkage import JsonApiDatasetToManyLinkage from gooddata_api_client.model.json_api_dataset_to_one_linkage import JsonApiDatasetToOneLinkage @@ -610,6 +684,23 @@ from gooddata_api_client.model.json_api_jwk_out_with_links import JsonApiJwkOutWithLinks from gooddata_api_client.model.json_api_jwk_patch import JsonApiJwkPatch from gooddata_api_client.model.json_api_jwk_patch_document import JsonApiJwkPatchDocument +from gooddata_api_client.model.json_api_knowledge_recommendation_in import JsonApiKnowledgeRecommendationIn +from gooddata_api_client.model.json_api_knowledge_recommendation_in_attributes import JsonApiKnowledgeRecommendationInAttributes +from gooddata_api_client.model.json_api_knowledge_recommendation_in_document import JsonApiKnowledgeRecommendationInDocument +from gooddata_api_client.model.json_api_knowledge_recommendation_in_relationships import JsonApiKnowledgeRecommendationInRelationships +from gooddata_api_client.model.json_api_knowledge_recommendation_in_relationships_metric import JsonApiKnowledgeRecommendationInRelationshipsMetric +from gooddata_api_client.model.json_api_knowledge_recommendation_out import JsonApiKnowledgeRecommendationOut +from gooddata_api_client.model.json_api_knowledge_recommendation_out_attributes import JsonApiKnowledgeRecommendationOutAttributes +from gooddata_api_client.model.json_api_knowledge_recommendation_out_document import JsonApiKnowledgeRecommendationOutDocument +from gooddata_api_client.model.json_api_knowledge_recommendation_out_includes import JsonApiKnowledgeRecommendationOutIncludes +from gooddata_api_client.model.json_api_knowledge_recommendation_out_list import JsonApiKnowledgeRecommendationOutList +from gooddata_api_client.model.json_api_knowledge_recommendation_out_relationships import JsonApiKnowledgeRecommendationOutRelationships +from gooddata_api_client.model.json_api_knowledge_recommendation_out_with_links import JsonApiKnowledgeRecommendationOutWithLinks +from gooddata_api_client.model.json_api_knowledge_recommendation_patch import JsonApiKnowledgeRecommendationPatch +from gooddata_api_client.model.json_api_knowledge_recommendation_patch_attributes import JsonApiKnowledgeRecommendationPatchAttributes +from gooddata_api_client.model.json_api_knowledge_recommendation_patch_document import JsonApiKnowledgeRecommendationPatchDocument +from gooddata_api_client.model.json_api_knowledge_recommendation_post_optional_id import JsonApiKnowledgeRecommendationPostOptionalId +from gooddata_api_client.model.json_api_knowledge_recommendation_post_optional_id_document import JsonApiKnowledgeRecommendationPostOptionalIdDocument from gooddata_api_client.model.json_api_label_linkage import JsonApiLabelLinkage from gooddata_api_client.model.json_api_label_out import JsonApiLabelOut from gooddata_api_client.model.json_api_label_out_attributes import JsonApiLabelOutAttributes @@ -621,7 +712,6 @@ from gooddata_api_client.model.json_api_label_out_relationships_attribute import JsonApiLabelOutRelationshipsAttribute from gooddata_api_client.model.json_api_label_out_with_links import JsonApiLabelOutWithLinks from gooddata_api_client.model.json_api_label_patch import JsonApiLabelPatch -from gooddata_api_client.model.json_api_label_patch_attributes import JsonApiLabelPatchAttributes from gooddata_api_client.model.json_api_label_patch_document import JsonApiLabelPatchDocument from gooddata_api_client.model.json_api_label_to_many_linkage import JsonApiLabelToManyLinkage from gooddata_api_client.model.json_api_label_to_one_linkage import JsonApiLabelToOneLinkage @@ -667,6 +757,7 @@ from gooddata_api_client.model.json_api_metric_post_optional_id import JsonApiMetricPostOptionalId from gooddata_api_client.model.json_api_metric_post_optional_id_document import JsonApiMetricPostOptionalIdDocument from gooddata_api_client.model.json_api_metric_to_many_linkage import JsonApiMetricToManyLinkage +from gooddata_api_client.model.json_api_metric_to_one_linkage import JsonApiMetricToOneLinkage from gooddata_api_client.model.json_api_notification_channel_identifier_out import JsonApiNotificationChannelIdentifierOut from gooddata_api_client.model.json_api_notification_channel_identifier_out_attributes import JsonApiNotificationChannelIdentifierOutAttributes from gooddata_api_client.model.json_api_notification_channel_identifier_out_document import JsonApiNotificationChannelIdentifierOutDocument @@ -858,9 +949,14 @@ from gooddata_api_client.model.label_identifier import LabelIdentifier from gooddata_api_client.model.list_links import ListLinks from gooddata_api_client.model.list_links_all_of import ListLinksAllOf +from gooddata_api_client.model.live_feature_flag_configuration import LiveFeatureFlagConfiguration +from gooddata_api_client.model.live_features import LiveFeatures +from gooddata_api_client.model.live_features_live import LiveFeaturesLive +from gooddata_api_client.model.live_features_live_all_of import LiveFeaturesLiveAllOf from gooddata_api_client.model.local_identifier import LocalIdentifier from gooddata_api_client.model.locale_request import LocaleRequest from gooddata_api_client.model.manage_dashboard_permissions_request_inner import ManageDashboardPermissionsRequestInner +from gooddata_api_client.model.matomo_service import MatomoService from gooddata_api_client.model.measure_definition import MeasureDefinition from gooddata_api_client.model.measure_execution_result_header import MeasureExecutionResultHeader from gooddata_api_client.model.measure_group_headers import MeasureGroupHeaders @@ -868,6 +964,7 @@ from gooddata_api_client.model.measure_item import MeasureItem from gooddata_api_client.model.measure_item_definition import MeasureItemDefinition from gooddata_api_client.model.measure_result_header import MeasureResultHeader +from gooddata_api_client.model.measure_value_condition import MeasureValueCondition from gooddata_api_client.model.measure_value_filter import MeasureValueFilter from gooddata_api_client.model.memory_item_created_by_users import MemoryItemCreatedByUsers from gooddata_api_client.model.memory_item_user import MemoryItemUser @@ -888,9 +985,16 @@ from gooddata_api_client.model.notifications_meta_total import NotificationsMetaTotal from gooddata_api_client.model.object_links import ObjectLinks from gooddata_api_client.model.object_links_container import ObjectLinksContainer +from gooddata_api_client.model.open_telemetry_service import OpenTelemetryService from gooddata_api_client.model.organization_automation_identifier import OrganizationAutomationIdentifier from gooddata_api_client.model.organization_automation_management_bulk_request import OrganizationAutomationManagementBulkRequest +from gooddata_api_client.model.organization_cache_settings import OrganizationCacheSettings +from gooddata_api_client.model.organization_cache_usage import OrganizationCacheUsage +from gooddata_api_client.model.organization_current_cache_usage import OrganizationCurrentCacheUsage from gooddata_api_client.model.organization_permission_assignment import OrganizationPermissionAssignment +from gooddata_api_client.model.outlier_detection_request import OutlierDetectionRequest +from gooddata_api_client.model.outlier_detection_response import OutlierDetectionResponse +from gooddata_api_client.model.outlier_detection_result import OutlierDetectionResult from gooddata_api_client.model.over import Over from gooddata_api_client.model.page_metadata import PageMetadata from gooddata_api_client.model.paging import Paging @@ -914,10 +1018,15 @@ from gooddata_api_client.model.pop_measure_definition import PopMeasureDefinition from gooddata_api_client.model.positive_attribute_filter import PositiveAttributeFilter from gooddata_api_client.model.positive_attribute_filter_positive_attribute_filter import PositiveAttributeFilterPositiveAttributeFilter +from gooddata_api_client.model.profile import Profile +from gooddata_api_client.model.profile_features import ProfileFeatures +from gooddata_api_client.model.profile_links import ProfileLinks from gooddata_api_client.model.quality_issue import QualityIssue from gooddata_api_client.model.quality_issue_object import QualityIssueObject from gooddata_api_client.model.quality_issues_calculation_status_response import QualityIssuesCalculationStatusResponse from gooddata_api_client.model.range import Range +from gooddata_api_client.model.range_condition import RangeCondition +from gooddata_api_client.model.range_condition_range import RangeConditionRange from gooddata_api_client.model.range_measure_value_filter import RangeMeasureValueFilter from gooddata_api_client.model.range_measure_value_filter_range_measure_value_filter import RangeMeasureValueFilterRangeMeasureValueFilter from gooddata_api_client.model.range_wrapper import RangeWrapper @@ -928,6 +1037,11 @@ from gooddata_api_client.model.raw_custom_override import RawCustomOverride from gooddata_api_client.model.raw_export_automation_request import RawExportAutomationRequest from gooddata_api_client.model.raw_export_request import RawExportRequest +from gooddata_api_client.model.read_csv_file_manifests_request import ReadCsvFileManifestsRequest +from gooddata_api_client.model.read_csv_file_manifests_request_item import ReadCsvFileManifestsRequestItem +from gooddata_api_client.model.read_csv_file_manifests_response import ReadCsvFileManifestsResponse +from gooddata_api_client.model.reasoning import Reasoning +from gooddata_api_client.model.reasoning_step import ReasoningStep from gooddata_api_client.model.reference_identifier import ReferenceIdentifier from gooddata_api_client.model.reference_source_column import ReferenceSourceColumn from gooddata_api_client.model.relative import Relative @@ -976,6 +1090,9 @@ from gooddata_api_client.model.sql_column import SqlColumn from gooddata_api_client.model.sql_query import SqlQuery from gooddata_api_client.model.sql_query_all_of import SqlQueryAllOf +from gooddata_api_client.model.static_features import StaticFeatures +from gooddata_api_client.model.static_features_static import StaticFeaturesStatic +from gooddata_api_client.model.static_features_static_all_of import StaticFeaturesStaticAllOf from gooddata_api_client.model.suggestion import Suggestion from gooddata_api_client.model.switch_identity_provider_request import SwitchIdentityProviderRequest from gooddata_api_client.model.table import Table @@ -983,6 +1100,9 @@ from gooddata_api_client.model.table_override import TableOverride from gooddata_api_client.model.table_warning import TableWarning from gooddata_api_client.model.tabular_export_request import TabularExportRequest +from gooddata_api_client.model.telemetry_config import TelemetryConfig +from gooddata_api_client.model.telemetry_context import TelemetryContext +from gooddata_api_client.model.telemetry_services import TelemetryServices from gooddata_api_client.model.test_definition_request import TestDefinitionRequest from gooddata_api_client.model.test_destination_request import TestDestinationRequest from gooddata_api_client.model.test_notification import TestNotification @@ -990,12 +1110,15 @@ from gooddata_api_client.model.test_query_duration import TestQueryDuration from gooddata_api_client.model.test_request import TestRequest from gooddata_api_client.model.test_response import TestResponse +from gooddata_api_client.model.thought import Thought from gooddata_api_client.model.total import Total from gooddata_api_client.model.total_dimension import TotalDimension from gooddata_api_client.model.total_execution_result_header import TotalExecutionResultHeader from gooddata_api_client.model.total_result_header import TotalResultHeader from gooddata_api_client.model.trigger_automation_request import TriggerAutomationRequest from gooddata_api_client.model.trigger_quality_issues_calculation_response import TriggerQualityIssuesCalculationResponse +from gooddata_api_client.model.upload_file_response import UploadFileResponse +from gooddata_api_client.model.upload_geo_collection_file_response import UploadGeoCollectionFileResponse from gooddata_api_client.model.user_assignee import UserAssignee from gooddata_api_client.model.user_context import UserContext from gooddata_api_client.model.user_group_assignee import UserGroupAssignee @@ -1027,6 +1150,9 @@ from gooddata_api_client.model.widget_slides_template import WidgetSlidesTemplate from gooddata_api_client.model.workspace_automation_identifier import WorkspaceAutomationIdentifier from gooddata_api_client.model.workspace_automation_management_bulk_request import WorkspaceAutomationManagementBulkRequest +from gooddata_api_client.model.workspace_cache_settings import WorkspaceCacheSettings +from gooddata_api_client.model.workspace_cache_usage import WorkspaceCacheUsage +from gooddata_api_client.model.workspace_current_cache_usage import WorkspaceCurrentCacheUsage from gooddata_api_client.model.workspace_data_source import WorkspaceDataSource from gooddata_api_client.model.workspace_identifier import WorkspaceIdentifier from gooddata_api_client.model.workspace_permission_assignment import WorkspacePermissionAssignment diff --git a/gooddata-api-client/gooddata_api_client/rest.py b/gooddata-api-client/gooddata_api_client/rest.py index cc9e27616..9a6eafaaf 100644 --- a/gooddata-api-client/gooddata_api_client/rest.py +++ b/gooddata-api-client/gooddata_api_client/rest.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/gooddata-api-client/setup.py b/gooddata-api-client/setup.py index f85f6ceed..1865abe14 100644 --- a/gooddata-api-client/setup.py +++ b/gooddata-api-client/setup.py @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v0 + The version of the OpenAPI document: 90a5773 Contact: support@gooddata.com Generated by: https://openapi-generator.tech """ diff --git a/regen_api_diff.txt b/regen_api_diff.txt new file mode 100644 index 000000000..e69de29bb diff --git a/regen_diff_stat.txt b/regen_diff_stat.txt new file mode 100644 index 000000000..e69de29bb diff --git a/schemas/gooddata-api-client.json b/schemas/gooddata-api-client.json index c582fede2..d02d824d7 100644 --- a/schemas/gooddata-api-client.json +++ b/schemas/gooddata-api-client.json @@ -96,6 +96,1534 @@ ], "type": "object" }, + "AacAnalyticsModel": { + "description": "AAC analytics model representation compatible with Analytics-as-Code YAML format.", + "properties": { + "attribute_hierarchies": { + "description": "An array of attribute hierarchies.", + "items": { + "$ref": "#/components/schemas/AacAttributeHierarchy" + }, + "type": "array" + }, + "dashboards": { + "description": "An array of dashboards.", + "items": { + "$ref": "#/components/schemas/AacDashboard" + }, + "type": "array" + }, + "metrics": { + "description": "An array of metrics.", + "items": { + "$ref": "#/components/schemas/AacMetric" + }, + "type": "array" + }, + "plugins": { + "description": "An array of dashboard plugins.", + "items": { + "$ref": "#/components/schemas/AacPlugin" + }, + "type": "array" + }, + "visualizations": { + "description": "An array of visualizations.", + "items": { + "$ref": "#/components/schemas/AacVisualization" + }, + "type": "array" + } + }, + "type": "object" + }, + "AacAttributeHierarchy": { + "description": "AAC attribute hierarchy definition.", + "properties": { + "attributes": { + "description": "Ordered list of attribute identifiers (first is top level).", + "example": [ + "attribute/country", + "attribute/state", + "attribute/city" + ], + "items": { + "description": "Ordered list of attribute identifiers (first is top level).", + "example": "[\"attribute/country\",\"attribute/state\",\"attribute/city\"]", + "type": "string" + }, + "type": "array" + }, + "description": { + "description": "Attribute hierarchy description.", + "type": "string" + }, + "id": { + "description": "Unique identifier of the attribute hierarchy.", + "example": "geo-hierarchy", + "type": "string" + }, + "tags": { + "description": "Metadata tags.", + "items": { + "description": "Metadata tags.", + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "title": { + "description": "Human readable title.", + "example": "Geographic Hierarchy", + "type": "string" + }, + "type": { + "description": "Attribute hierarchy type discriminator.", + "example": "attribute_hierarchy", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "AacDashboard": { + "description": "AAC dashboard definition.", + "properties": { + "active_tab_id": { + "description": "Active tab ID for tabbed dashboards.", + "type": "string" + }, + "cross_filtering": { + "description": "Whether cross filtering is enabled.", + "type": "boolean" + }, + "description": { + "description": "Dashboard description.", + "type": "string" + }, + "enable_section_headers": { + "description": "Whether section headers are enabled.", + "type": "boolean" + }, + "filter_views": { + "description": "Whether filter views are enabled.", + "type": "boolean" + }, + "filters": { + "additionalProperties": { + "$ref": "#/components/schemas/AacDashboardFilter" + }, + "description": "Dashboard filters.", + "type": "object" + }, + "id": { + "description": "Unique identifier of the dashboard.", + "example": "sales-overview", + "type": "string" + }, + "permissions": { + "$ref": "#/components/schemas/AacDashboardPermissions" + }, + "plugins": { + "description": "Dashboard plugins.", + "items": { + "$ref": "#/components/schemas/AacDashboardPluginLink" + }, + "type": "array" + }, + "sections": { + "description": "Dashboard sections (for non-tabbed dashboards).", + "items": { + "$ref": "#/components/schemas/AacSection" + }, + "type": "array" + }, + "tabs": { + "description": "Dashboard tabs (for tabbed dashboards).", + "items": { + "$ref": "#/components/schemas/AacTab" + }, + "type": "array" + }, + "tags": { + "description": "Metadata tags.", + "items": { + "description": "Metadata tags.", + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "title": { + "description": "Human readable title.", + "example": "Sales Overview", + "type": "string" + }, + "type": { + "description": "Dashboard type discriminator.", + "example": "dashboard", + "type": "string" + }, + "user_filters_reset": { + "description": "Whether user can reset custom filters.", + "type": "boolean" + }, + "user_filters_save": { + "description": "Whether user filter settings are stored.", + "type": "boolean" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "AacDashboardFilter": { + "description": "Tab-specific filters.", + "properties": { + "date": { + "description": "Date dataset reference.", + "type": "string" + }, + "display_as": { + "description": "Display as label.", + "type": "string" + }, + "from": { + "oneOf": [ + { + "type": "string" + }, + { + "format": "int32", + "type": "integer" + } + ] + }, + "granularity": { + "description": "Date granularity.", + "type": "string" + }, + "metric_filters": { + "description": "Metric filters for validation.", + "items": { + "description": "Metric filters for validation.", + "type": "string" + }, + "type": "array" + }, + "mode": { + "description": "Filter mode.", + "example": "active", + "type": "string" + }, + "multiselect": { + "description": "Whether multiselect is enabled.", + "type": "boolean" + }, + "parents": { + "description": "Parent filter references.", + "items": { + "$ref": "#/components/schemas/JsonNode" + }, + "type": "array" + }, + "state": { + "$ref": "#/components/schemas/AacFilterState" + }, + "title": { + "description": "Filter title.", + "type": "string" + }, + "to": { + "oneOf": [ + { + "type": "string" + }, + { + "format": "int32", + "type": "integer" + } + ] + }, + "type": { + "description": "Filter type.", + "example": "attribute_filter", + "type": "string" + }, + "using": { + "description": "Attribute or label to filter by.", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "AacDashboardPermissions": { + "description": "Dashboard permissions.", + "properties": { + "edit": { + "$ref": "#/components/schemas/AacPermission" + }, + "share": { + "$ref": "#/components/schemas/AacPermission" + }, + "view": { + "$ref": "#/components/schemas/AacPermission" + } + }, + "type": "object" + }, + "AacDashboardPluginLink": { + "description": "Dashboard plugins.", + "properties": { + "id": { + "description": "Plugin ID.", + "type": "string" + }, + "parameters": { + "$ref": "#/components/schemas/JsonNode" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "AacDataset": { + "description": "AAC dataset definition.", + "properties": { + "data_source": { + "description": "Data source ID.", + "example": "my-postgres", + "type": "string" + }, + "description": { + "description": "Dataset description.", + "type": "string" + }, + "fields": { + "additionalProperties": { + "$ref": "#/components/schemas/AacField" + }, + "description": "Dataset fields (attributes, facts, aggregated facts).", + "type": "object" + }, + "id": { + "description": "Unique identifier of the dataset.", + "example": "customers", + "type": "string" + }, + "precedence": { + "description": "Precedence value for aggregate awareness.", + "format": "int32", + "type": "integer" + }, + "primary_key": { + "description": "Primary key column(s). Accepts either a single string or an array of strings.", + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "references": { + "description": "References to other datasets.", + "items": { + "$ref": "#/components/schemas/AacReference" + }, + "type": "array" + }, + "sql": { + "description": "SQL statement defining this dataset.", + "type": "string" + }, + "table_path": { + "description": "Table path in the data source.", + "example": "public/customers", + "type": "string" + }, + "tags": { + "description": "Metadata tags.", + "items": { + "description": "Metadata tags.", + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "title": { + "description": "Human readable title.", + "example": "Customers", + "type": "string" + }, + "type": { + "description": "Dataset type discriminator.", + "example": "dataset", + "type": "string" + }, + "workspace_data_filters": { + "description": "Workspace data filters.", + "items": { + "$ref": "#/components/schemas/AacWorkspaceDataFilter" + }, + "type": "array" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "AacDateDataset": { + "description": "AAC date dataset definition.", + "properties": { + "description": { + "description": "Date dataset description.", + "type": "string" + }, + "granularities": { + "description": "List of granularities.", + "items": { + "description": "List of granularities.", + "type": "string" + }, + "type": "array" + }, + "id": { + "description": "Unique identifier of the date dataset.", + "example": "date", + "type": "string" + }, + "tags": { + "description": "Metadata tags.", + "items": { + "description": "Metadata tags.", + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "title": { + "description": "Human readable title.", + "example": "Date", + "type": "string" + }, + "title_base": { + "description": "Title base for formatting.", + "type": "string" + }, + "title_pattern": { + "description": "Title pattern for formatting.", + "type": "string" + }, + "type": { + "description": "Dataset type discriminator.", + "example": "date", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "AacField": { + "description": "AAC field definition (attribute, fact, or aggregated_fact).", + "properties": { + "aggregated_as": { + "description": "Aggregation method.", + "example": "SUM", + "type": "string" + }, + "assigned_to": { + "description": "Source fact ID for aggregated fact.", + "type": "string" + }, + "data_type": { + "description": "Data type of the column.", + "enum": [ + "INT", + "STRING", + "DATE", + "NUMERIC", + "TIMESTAMP", + "TIMESTAMP_TZ", + "BOOLEAN" + ], + "example": "STRING", + "type": "string" + }, + "default_view": { + "description": "Default view label ID.", + "type": "string" + }, + "description": { + "description": "Field description.", + "type": "string" + }, + "is_hidden": { + "description": "Deprecated. Use showInAiResults instead.", + "type": "boolean" + }, + "labels": { + "additionalProperties": { + "$ref": "#/components/schemas/AacLabel" + }, + "description": "Attribute labels.", + "type": "object" + }, + "locale": { + "description": "Locale for sorting.", + "type": "string" + }, + "show_in_ai_results": { + "description": "Whether to show in AI results.", + "type": "boolean" + }, + "sort_column": { + "description": "Sort column name.", + "type": "string" + }, + "sort_direction": { + "description": "Sort direction.", + "enum": [ + "ASC", + "DESC" + ], + "example": "ASC", + "type": "string" + }, + "source_column": { + "description": "Source column in the physical database.", + "type": "string" + }, + "tags": { + "description": "Metadata tags.", + "items": { + "description": "Metadata tags.", + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "title": { + "description": "Human readable title.", + "type": "string" + }, + "type": { + "description": "Field type.", + "example": "attribute", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "AacFilterState": { + "description": "Filter state.", + "properties": { + "exclude": { + "description": "Excluded values.", + "items": { + "description": "Excluded values.", + "type": "string" + }, + "type": "array" + }, + "include": { + "description": "Included values.", + "items": { + "description": "Included values.", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AacGeoAreaConfig": { + "description": "GEO area configuration.", + "properties": { + "collection": { + "$ref": "#/components/schemas/AacGeoCollectionIdentifier" + } + }, + "required": [ + "collection" + ], + "type": "object" + }, + "AacGeoCollectionIdentifier": { + "description": "GEO collection configuration.", + "properties": { + "id": { + "description": "Collection identifier.", + "type": "string" + }, + "kind": { + "default": "STATIC", + "description": "Type of geo collection.", + "enum": [ + "STATIC", + "CUSTOM" + ], + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "AacLabel": { + "description": "AAC label definition.", + "properties": { + "data_type": { + "description": "Data type of the column.", + "enum": [ + "INT", + "STRING", + "DATE", + "NUMERIC", + "TIMESTAMP", + "TIMESTAMP_TZ", + "BOOLEAN" + ], + "type": "string" + }, + "description": { + "description": "Label description.", + "type": "string" + }, + "geo_area_config": { + "$ref": "#/components/schemas/AacGeoAreaConfig" + }, + "is_hidden": { + "description": "Deprecated. Use showInAiResults instead.", + "type": "boolean" + }, + "locale": { + "description": "Locale for sorting.", + "type": "string" + }, + "show_in_ai_results": { + "description": "Whether to show in AI results.", + "type": "boolean" + }, + "source_column": { + "description": "Source column name.", + "type": "string" + }, + "tags": { + "description": "Metadata tags.", + "items": { + "description": "Metadata tags.", + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "title": { + "description": "Human readable title.", + "type": "string" + }, + "translations": { + "description": "Localized source columns.", + "items": { + "$ref": "#/components/schemas/AacLabelTranslation" + }, + "type": "array" + }, + "value_type": { + "description": "Value type.", + "example": "TEXT", + "type": "string" + } + }, + "type": "object" + }, + "AacLabelTranslation": { + "description": "Localized source columns.", + "properties": { + "locale": { + "description": "Locale identifier.", + "type": "string" + }, + "source_column": { + "description": "Source column for translation.", + "type": "string" + } + }, + "required": [ + "locale", + "source_column" + ], + "type": "object" + }, + "AacLogicalModel": { + "description": "AAC logical data model representation compatible with Analytics-as-Code YAML format.", + "properties": { + "datasets": { + "description": "An array of datasets.", + "items": { + "$ref": "#/components/schemas/AacDataset" + }, + "type": "array" + }, + "date_datasets": { + "description": "An array of date datasets.", + "items": { + "$ref": "#/components/schemas/AacDateDataset" + }, + "type": "array" + } + }, + "type": "object" + }, + "AacMetric": { + "description": "AAC metric definition.", + "properties": { + "description": { + "description": "Metric description.", + "type": "string" + }, + "format": { + "description": "Default format for metric values.", + "example": "#,##0.00", + "type": "string" + }, + "id": { + "description": "Unique identifier of the metric.", + "example": "total-sales", + "type": "string" + }, + "is_hidden": { + "description": "Deprecated. Use showInAiResults instead.", + "type": "boolean" + }, + "maql": { + "description": "MAQL expression defining the metric.", + "example": "SELECT SUM({fact/amount})", + "type": "string" + }, + "show_in_ai_results": { + "description": "Whether to show in AI results.", + "type": "boolean" + }, + "tags": { + "description": "Metadata tags.", + "items": { + "description": "Metadata tags.", + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "title": { + "description": "Human readable title.", + "example": "Total Sales", + "type": "string" + }, + "type": { + "description": "Metric type discriminator.", + "example": "metric", + "type": "string" + } + }, + "required": [ + "id", + "maql", + "type" + ], + "type": "object" + }, + "AacPermission": { + "description": "SHARE permission.", + "properties": { + "all": { + "description": "Grant to all users.", + "type": "boolean" + }, + "user_groups": { + "description": "List of user group IDs.", + "items": { + "description": "List of user group IDs.", + "type": "string" + }, + "type": "array" + }, + "users": { + "description": "List of user IDs.", + "items": { + "description": "List of user IDs.", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AacPlugin": { + "description": "AAC dashboard plugin definition.", + "properties": { + "description": { + "description": "Plugin description.", + "type": "string" + }, + "id": { + "description": "Unique identifier of the plugin.", + "example": "my-plugin", + "type": "string" + }, + "tags": { + "description": "Metadata tags.", + "items": { + "description": "Metadata tags.", + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "title": { + "description": "Human readable title.", + "example": "My Plugin", + "type": "string" + }, + "type": { + "description": "Plugin type discriminator.", + "example": "plugin", + "type": "string" + }, + "url": { + "description": "URL of the plugin.", + "example": "https://example.com/plugin.js", + "type": "string" + } + }, + "required": [ + "id", + "type", + "url" + ], + "type": "object" + }, + "AacQuery": { + "description": "Query definition.", + "properties": { + "fields": { + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "description": "Query fields map: localId -> field definition (identifier string or structured object).", + "type": "object" + }, + "filter_by": { + "additionalProperties": { + "$ref": "#/components/schemas/AacQueryFilter" + }, + "description": "Query filters map: localId -> filter definition.", + "type": "object" + }, + "sort_by": { + "description": "Sorting definitions.", + "items": { + "$ref": "#/components/schemas/JsonNode" + }, + "type": "array" + } + }, + "required": [ + "fields" + ], + "type": "object" + }, + "AacQueryFilter": { + "description": "Query filters map: localId -> filter definition.", + "properties": { + "additionalProperties": { + "additionalProperties": { + "$ref": "#/components/schemas/JsonNode" + }, + "type": "object", + "writeOnly": true + }, + "attribute": { + "description": "Attribute for ranking filter (identifier or localId).", + "type": "string" + }, + "bottom": { + "description": "Bottom N for ranking filter.", + "format": "int32", + "type": "integer" + }, + "condition": { + "description": "Condition for metric value filter.", + "type": "string" + }, + "from": { + "oneOf": [ + { + "type": "string" + }, + { + "format": "int32", + "type": "integer" + } + ] + }, + "granularity": { + "description": "Date granularity (date filter).", + "type": "string" + }, + "state": { + "$ref": "#/components/schemas/AacFilterState" + }, + "to": { + "oneOf": [ + { + "type": "string" + }, + { + "format": "int32", + "type": "integer" + } + ] + }, + "top": { + "description": "Top N for ranking filter.", + "format": "int32", + "type": "integer" + }, + "type": { + "description": "Filter type.", + "example": "date_filter", + "type": "string" + }, + "using": { + "description": "Reference to attribute/label/date/metric/fact (type-prefixed id).", + "type": "string" + }, + "value": { + "description": "Value for metric value filter.", + "type": "number" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "AacReference": { + "description": "AAC reference to another dataset.", + "properties": { + "dataset": { + "description": "Target dataset ID.", + "example": "orders", + "type": "string" + }, + "multi_directional": { + "description": "Whether the reference is multi-directional.", + "type": "boolean" + }, + "sources": { + "description": "Source columns for the reference.", + "items": { + "$ref": "#/components/schemas/AacReferenceSource" + }, + "type": "array" + } + }, + "required": [ + "dataset", + "sources" + ], + "type": "object" + }, + "AacReferenceSource": { + "description": "Source columns for the reference.", + "properties": { + "data_type": { + "description": "Data type of the column.", + "enum": [ + "INT", + "STRING", + "DATE", + "NUMERIC", + "TIMESTAMP", + "TIMESTAMP_TZ", + "BOOLEAN" + ], + "type": "string" + }, + "source_column": { + "description": "Source column name.", + "type": "string" + }, + "target": { + "description": "Target in the referenced dataset.", + "type": "string" + } + }, + "required": [ + "source_column" + ], + "type": "object" + }, + "AacSection": { + "description": "Sections within the tab.", + "properties": { + "description": { + "description": "Section description.", + "type": "string" + }, + "header": { + "description": "Whether section header is visible.", + "type": "boolean" + }, + "title": { + "description": "Section title.", + "type": "string" + }, + "widgets": { + "description": "Widgets in the section.", + "items": { + "$ref": "#/components/schemas/AacWidget" + }, + "type": "array" + } + }, + "type": "object" + }, + "AacTab": { + "description": "Dashboard tabs (for tabbed dashboards).", + "properties": { + "filters": { + "additionalProperties": { + "$ref": "#/components/schemas/AacDashboardFilter" + }, + "description": "Tab-specific filters.", + "type": "object" + }, + "id": { + "description": "Unique identifier of the tab.", + "type": "string" + }, + "sections": { + "description": "Sections within the tab.", + "items": { + "$ref": "#/components/schemas/AacSection" + }, + "type": "array" + }, + "title": { + "description": "Display title for the tab.", + "type": "string" + } + }, + "required": [ + "id", + "title" + ], + "type": "object" + }, + "AacVisualization": { + "description": "AAC visualization definition.", + "properties": { + "additionalProperties": { + "additionalProperties": { + "$ref": "#/components/schemas/JsonNode" + }, + "type": "object", + "writeOnly": true + }, + "attribute": { + "description": "Attribute bucket (for repeater).", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "color": { + "description": "Color bucket.", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "columns": { + "description": "Columns bucket (for tables).", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "config": { + "$ref": "#/components/schemas/JsonNode" + }, + "description": { + "description": "Visualization description.", + "type": "string" + }, + "id": { + "description": "Unique identifier of the visualization.", + "example": "sales-by-region", + "type": "string" + }, + "is_hidden": { + "description": "Deprecated. Use showInAiResults instead.", + "type": "boolean" + }, + "location": { + "description": "Location bucket (for geo charts).", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "metrics": { + "description": "Metrics bucket.", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "primary_measures": { + "description": "Primary measures bucket.", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "query": { + "$ref": "#/components/schemas/AacQuery" + }, + "rows": { + "description": "Rows bucket (for tables).", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "secondary_measures": { + "description": "Secondary measures bucket.", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "segment_by": { + "description": "Segment by attributes bucket.", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "show_in_ai_results": { + "description": "Whether to show in AI results.", + "type": "boolean" + }, + "size": { + "description": "Size bucket.", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "stack": { + "description": "Stack bucket.", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "tags": { + "description": "Metadata tags.", + "items": { + "description": "Metadata tags.", + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "title": { + "description": "Human readable title.", + "example": "Sales by Region", + "type": "string" + }, + "trend": { + "description": "Trend bucket.", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "type": { + "description": "Visualization type.", + "enum": [ + "table", + "bar_chart", + "column_chart", + "line_chart", + "area_chart", + "scatter_chart", + "bubble_chart", + "pie_chart", + "donut_chart", + "treemap_chart", + "pyramid_chart", + "funnel_chart", + "heatmap_chart", + "bullet_chart", + "waterfall_chart", + "dependency_wheel_chart", + "sankey_chart", + "headline_chart", + "combo_chart", + "geo_chart", + "geo_area_chart", + "repeater_chart" + ], + "example": "bar_chart", + "type": "string" + }, + "view_by": { + "description": "View by attributes bucket.", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "array" + } + }, + "required": [ + "id", + "query", + "type" + ], + "type": "object" + }, + "AacWidget": { + "description": "Widgets in the section.", + "properties": { + "additionalProperties": { + "additionalProperties": { + "$ref": "#/components/schemas/JsonNode" + }, + "type": "object", + "writeOnly": true + }, + "columns": { + "description": "Widget width in grid columns (GAAC).", + "format": "int32", + "type": "integer" + }, + "content": { + "description": "Rich text content.", + "type": "string" + }, + "date": { + "description": "Date dataset for filtering.", + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "enum": [ + false + ], + "type": "boolean" + } + ] + }, + "drill_down": { + "$ref": "#/components/schemas/JsonNode" + }, + "ignore_dashboard_filters": { + "description": "Deprecated. Use ignoredFilters instead.", + "items": { + "description": "Deprecated. Use ignoredFilters instead.", + "type": "string" + }, + "type": "array" + }, + "ignored_filters": { + "description": "A list of dashboard filters to be ignored for this widget (GAAC).", + "items": { + "description": "A list of dashboard filters to be ignored for this widget (GAAC).", + "type": "string" + }, + "type": "array" + }, + "interactions": { + "description": "Widget interactions (GAAC).", + "items": { + "$ref": "#/components/schemas/JsonNode" + }, + "type": "array" + }, + "metric": { + "description": "Inline metric reference.", + "type": "string" + }, + "rows": { + "description": "Widget height in grid rows (GAAC).", + "format": "int32", + "type": "integer" + }, + "sections": { + "description": "Nested sections for layout widgets.", + "items": { + "$ref": "#/components/schemas/AacSection" + }, + "type": "array" + }, + "size": { + "$ref": "#/components/schemas/AacWidgetSize" + }, + "title": { + "oneOf": [ + { + "type": "string" + }, + { + "enum": [ + false + ], + "type": "boolean" + } + ] + }, + "type": { + "description": "Widget type.", + "example": "visualization", + "type": "string" + }, + "visualization": { + "description": "Visualization ID reference.", + "type": "string" + }, + "zoom_data": { + "description": "Enable zooming to the data for certain visualization types (GAAC).", + "type": "boolean" + } + }, + "type": "object" + }, + "AacWidgetSize": { + "description": "Deprecated widget size (legacy AAC).", + "properties": { + "height": { + "description": "Height in grid rows.", + "format": "int32", + "type": "integer" + }, + "height_as_ratio": { + "description": "Height definition mode.", + "type": "boolean" + }, + "width": { + "description": "Width in grid columns.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "AacWorkspaceDataFilter": { + "description": "Workspace data filters.", + "properties": { + "data_type": { + "description": "Data type of the column.", + "enum": [ + "INT", + "STRING", + "DATE", + "NUMERIC", + "TIMESTAMP", + "TIMESTAMP_TZ", + "BOOLEAN" + ], + "type": "string" + }, + "filter_id": { + "description": "Filter identifier.", + "type": "string" + }, + "source_column": { + "description": "Source column name.", + "type": "string" + } + }, + "required": [ + "data_type", + "filter_id", + "source_column" + ], + "type": "object" + }, "AbsoluteDateFilter": { "description": "A datetime filter specifying exact from and to values.", "properties": { @@ -142,6 +1670,9 @@ { "$ref": "#/components/schemas/RangeMeasureValueFilter" }, + { + "$ref": "#/components/schemas/CompoundMeasureValueFilter" + }, { "$ref": "#/components/schemas/RankingFilter" } @@ -280,6 +1811,7 @@ "properties": { "resultIdToCancelTokenPairs": { "additionalProperties": { + "description": "resultId to cancel token pairs", "type": "string" }, "description": "resultId to cancel token pairs", @@ -599,7 +2131,7 @@ "type": "array" }, "filters": { - "description": "Various filter types to filter execution result. For anomaly detection, exactly one date filter (RelativeDateFilter or AbsoluteDateFilter) is required.", + "description": "Various filter types to filter execution result. For anomaly detection, exactly one dataset is specified in the condition. The AFM may contain multiple date filters for different datasets, but only the date filter matching the dataset from the condition is used for anomaly detection.", "items": { "$ref": "#/components/schemas/FilterDefinition" }, @@ -738,6 +2270,33 @@ }, "type": "object" }, + "AmplitudeService": { + "description": "Amplitude service.", + "properties": { + "aiProjectApiKey": { + "description": "API key for AI project - intended for frontend use.", + "type": "string" + }, + "endpoint": { + "description": "Amplitude endpoint URL.", + "type": "string" + }, + "gdCommonApiKey": { + "description": "API key for GoodData common project - used by backend.", + "type": "string" + }, + "reportingEndpoint": { + "description": "Optional reporting endpoint for proxying telemetry events.", + "type": "string" + } + }, + "required": [ + "aiProjectApiKey", + "endpoint", + "gdCommonApiKey" + ], + "type": "object" + }, "AnalyticsCatalogCreatedBy": { "properties": { "reasoning": { @@ -796,8 +2355,150 @@ ], "type": "object" }, + "AnalyzeCsvRequest": { + "description": "Bulk CSV analysis request.", + "properties": { + "analyzeRequests": { + "description": "List of individual CSV analysis requests.", + "items": { + "$ref": "#/components/schemas/AnalyzeCsvRequestItem" + }, + "type": "array" + } + }, + "required": [ + "analyzeRequests" + ], + "type": "object" + }, + "AnalyzeCsvRequestItem": { + "description": "CSV analysis request.", + "properties": { + "config": { + "$ref": "#/components/schemas/AnalyzeCsvRequestItemConfig" + }, + "location": { + "description": "Location of the CSV file to analyze.", + "type": "string" + } + }, + "required": [ + "location" + ], + "type": "object" + }, + "AnalyzeCsvRequestItemConfig": { + "description": "CSV analysis request config.", + "properties": { + "delimiters": { + "description": "Possible column delimiters.", + "items": { + "description": "Possible column delimiters.", + "type": "string" + }, + "type": "array" + }, + "headerDetectMaxRows": { + "description": "Maximum number of rows to work with during header detection.", + "format": "int32", + "type": "integer" + }, + "headerRowCount": { + "description": "Number of rows to consider as header, if null, header will be detected.", + "format": "int32", + "type": "integer" + }, + "resultRows": { + "description": "Number of rows to return in the flight that represents analysis result. If 0, no rows are returned, if less than 0, all rows that were in the sample are returned.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "AnalyzeCsvResponse": { + "description": "Describes the results of a CSV analysis of a single file.", + "properties": { + "columns": { + "description": "List of column metadata.", + "items": { + "$ref": "#/components/schemas/AnalyzeCsvResponseColumn" + }, + "type": "array" + }, + "config": { + "$ref": "#/components/schemas/AnalyzeCsvResponseConfig" + }, + "location": { + "description": "Location of the analyzed file in the source data source.", + "type": "string" + }, + "previewData": { + "description": "Preview of the first N rows of the file.", + "items": { + "description": "Preview of the first N rows of the file.", + "items": { + "description": "Preview of the first N rows of the file.", + "type": "object" + }, + "type": "array" + }, + "type": "array" + } + }, + "required": [ + "columns", + "location", + "previewData" + ], + "type": "object" + }, + "AnalyzeCsvResponseColumn": { + "description": "Describes the result column.", + "properties": { + "detectedDateFormats": { + "description": "List of date formats that can be used to parse this column as date. Null if there are none.", + "items": { + "description": "List of date formats that can be used to parse this column as date. Null if there are none.", + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Name of the column as specified in the file (or autogenerated one if the file has no header).", + "type": "string" + }, + "type": { + "description": "Type of the column (e.g. string, bool, etc.).", + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" + }, + "AnalyzeCsvResponseConfig": { + "description": "Config used to process the CSV file.", + "properties": { + "convertOptions": { + "$ref": "#/components/schemas/CsvConvertOptions" + }, + "parseOptions": { + "$ref": "#/components/schemas/CsvParseOptions" + }, + "readOptions": { + "$ref": "#/components/schemas/CsvReadOptions" + } + }, + "type": "object" + }, "AnomalyDetection": { "properties": { + "dataset": { + "$ref": "#/components/schemas/AfmObjectIdentifierDataset" + }, "granularity": { "description": "Date granularity for anomaly detection. Only time-based granularities are supported (HOUR, DAY, WEEK, MONTH, QUARTER, YEAR).", "enum": [ @@ -814,7 +2515,6 @@ "$ref": "#/components/schemas/LocalIdentifier" }, "sensitivity": { - "default": "MEDIUM", "description": "Sensitivity level for anomaly detection", "enum": [ "LOW", @@ -825,8 +2525,10 @@ } }, "required": [ + "dataset", "granularity", - "measure" + "measure", + "sensitivity" ], "type": "object" }, @@ -885,6 +2587,7 @@ "type": "object" }, "ApiEntitlement": { + "description": "Defines entitlements for given organization.", "properties": { "expiry": { "format": "date", @@ -937,7 +2640,7 @@ "$ref": "#/components/schemas/LocalIdentifier" }, "operator": { - "description": "Arithmetic operator.\nDIFFERENCE - m₁−m₂ - the difference between two metrics.\nCHANGE - (m₁−m₂)÷m₂ - the relative difference between two metrics.\n", + "description": "Arithmetic operator.\nDIFFERENCE - m\u2081\u2212m\u2082 - the difference between two metrics.\nCHANGE - (m\u2081\u2212m\u2082)\u00f7m\u2082 - the relative difference between two metrics.\n", "enum": [ "DIFFERENCE", "CHANGE" @@ -1349,6 +3052,34 @@ ], "type": "object" }, + "AuthUser": { + "description": "Entity representing user in authentication system.", + "properties": { + "authenticationId": { + "description": "Field, which should be stored in metadata in authenticationId field. In PUT and POST method it must be not present, or equal to value calculated by backend (e.g. returned from previous GET).", + "type": "string" + }, + "displayName": { + "description": "User description, which will be visible in application.", + "example": "jeremy", + "type": "string" + }, + "email": { + "description": "Email - used as lookup (must be unique). For PUT method, it must be same as in URL", + "example": "zeus@example.com", + "type": "string" + }, + "password": { + "description": "User password. It is not returned by GET method.", + "type": "string" + } + }, + "required": [ + "displayName", + "email" + ], + "type": "object" + }, "AutomationAlert": { "properties": { "condition": { @@ -1422,7 +3153,6 @@ "type": "object" }, "AutomationMetadata": { - "additionalProperties": true, "description": "Additional information for the automation.", "maxLength": 250000, "nullable": true, @@ -1606,6 +3336,52 @@ ], "type": "object" }, + "CacheRemovalInterval": { + "description": "Information about a period in time and how much cached data was removed.", + "properties": { + "from": { + "description": "Start timestamp of the removal interval.", + "format": "date-time", + "type": "string" + }, + "removed": { + "description": "Bytes removed during this interval.", + "format": "int64", + "type": "integer" + }, + "to": { + "description": "End timestamp of the removal interval.", + "format": "date-time", + "type": "string" + } + }, + "required": [ + "from", + "removed", + "to" + ], + "type": "object" + }, + "CacheUsageData": { + "description": "Result of scan of data source physical model.", + "properties": { + "organizationCacheUsage": { + "$ref": "#/components/schemas/OrganizationCacheUsage" + }, + "workspaceCacheUsages": { + "additionalProperties": { + "$ref": "#/components/schemas/WorkspaceCacheUsage" + }, + "description": "Map of data about the cache usage of the individual workspaces.", + "type": "object" + } + }, + "required": [ + "organizationCacheUsage", + "workspaceCacheUsages" + ], + "type": "object" + }, "ChangeAnalysisParams": { "description": "Change analysis specification.", "properties": { @@ -1692,6 +3468,14 @@ "dateAttribute": { "$ref": "#/components/schemas/AttributeItem" }, + "excludeTags": { + "description": "Exclude attributes with any of these tags. This filter applies to both auto-discovered and explicitly provided attributes.", + "items": { + "description": "Exclude attributes with any of these tags. This filter applies to both auto-discovered and explicitly provided attributes.", + "type": "string" + }, + "type": "array" + }, "filters": { "description": "Optional filters to apply.", "items": { @@ -1709,6 +3493,14 @@ }, "type": "array" }, + "includeTags": { + "description": "Only include attributes with at least one of these tags. If empty, no inclusion filter is applied. This filter applies to both auto-discovered and explicitly provided attributes.", + "items": { + "description": "Only include attributes with at least one of these tags. If empty, no inclusion filter is applied. This filter applies to both auto-discovered and explicitly provided attributes.", + "type": "string" + }, + "type": "array" + }, "measure": { "$ref": "#/components/schemas/MeasureItem" }, @@ -1787,9 +3579,15 @@ "maxLength": 2000, "type": "string" }, + "reasoning": { + "$ref": "#/components/schemas/Reasoning" + }, "routing": { "$ref": "#/components/schemas/RouteResult" }, + "semanticSearch": { + "$ref": "#/components/schemas/SearchResult" + }, "textResponse": { "description": "Text response for general questions.", "type": "string" @@ -1980,9 +3778,15 @@ "foundObjects": { "$ref": "#/components/schemas/FoundObjects" }, + "reasoning": { + "$ref": "#/components/schemas/Reasoning" + }, "routing": { "$ref": "#/components/schemas/RouteResult" }, + "semanticSearch": { + "$ref": "#/components/schemas/SearchResult" + }, "textResponse": { "description": "Text response for general questions.", "type": "string" @@ -2296,6 +4100,40 @@ ], "type": "object" }, + "ComparisonCondition": { + "description": "Condition that compares the metric value to a given constant value using a comparison operator.", + "properties": { + "comparison": { + "properties": { + "operator": { + "enum": [ + "GREATER_THAN", + "GREATER_THAN_OR_EQUAL_TO", + "LESS_THAN", + "LESS_THAN_OR_EQUAL_TO", + "EQUAL_TO", + "NOT_EQUAL_TO" + ], + "example": "GREATER_THAN", + "type": "string" + }, + "value": { + "example": 100, + "type": "number" + } + }, + "required": [ + "operator", + "value" + ], + "type": "object" + } + }, + "required": [ + "comparison" + ], + "type": "object" + }, "ComparisonMeasureValueFilter": { "description": "Filter the result by comparing specified metric to given constant value, using given comparison operator.", "properties": { @@ -2363,6 +4201,52 @@ ], "type": "object" }, + "CompoundMeasureValueFilter": { + "description": "Filter the result by applying multiple comparison and/or range conditions combined with OR logic. If conditions list is empty, no filtering is applied (all rows are returned).", + "properties": { + "compoundMeasureValueFilter": { + "properties": { + "applyOnResult": { + "type": "boolean" + }, + "conditions": { + "description": "List of conditions to apply. Conditions are combined with OR logic. Each condition can be either a comparison (e.g., > 100) or a range (e.g., BETWEEN 10 AND 50). If empty, no filtering is applied and all rows are returned.", + "items": { + "$ref": "#/components/schemas/MeasureValueCondition" + }, + "type": "array" + }, + "dimensionality": { + "description": "References to the attributes to be used when filtering.", + "items": { + "$ref": "#/components/schemas/AfmIdentifier" + }, + "type": "array" + }, + "localIdentifier": { + "type": "string" + }, + "measure": { + "$ref": "#/components/schemas/AfmIdentifier" + }, + "treatNullValuesAs": { + "description": "A value that will be substituted for null values in the metric for the comparisons.", + "example": 0, + "type": "number" + } + }, + "required": [ + "conditions", + "measure" + ], + "type": "object" + } + }, + "required": [ + "compoundMeasureValueFilter" + ], + "type": "object" + }, "ContentSlideTemplate": { "description": "Settings for content slide.", "nullable": true, @@ -2501,7 +4385,7 @@ "type": "array" }, "reasoning": { - "description": "Reasoning from LLM. Description of how and why the answer was generated.", + "description": "DEPRECATED: Use top-level reasoning.steps instead. Reasoning from LLM. Description of how and why the answer was generated.", "type": "string" }, "suggestions": { @@ -2519,6 +4403,204 @@ ], "type": "object" }, + "CsvConvertOptions": { + "description": "Options for converting CSV files when reading.", + "properties": { + "autoDictEncode": { + "description": "Whether to try to automatically dict-encode string / binary data.", + "type": "boolean" + }, + "autoDictMaxCardinality": { + "description": "The maximum dictionary cardinality for autoDictEncode.", + "format": "int32", + "type": "integer" + }, + "checkUtf8": { + "description": "Whether to check UTF8 validity of string columns.", + "type": "boolean" + }, + "columnTypes": { + "description": "Information about the column types in the table.", + "items": { + "$ref": "#/components/schemas/CsvConvertOptionsColumnType" + }, + "type": "array" + }, + "decimalPoint": { + "description": "The character used as decimal point in floating-point and decimal data.", + "type": "string" + }, + "falseValues": { + "description": "Sequence of strings that denote false Booleans in the data.", + "items": { + "description": "Sequence of strings that denote false Booleans in the data.", + "type": "string" + }, + "type": "array" + }, + "includeColumns": { + "description": "The names of columns to include in the Table. If empty, the Table will include all columns from the CSV file. If not empty, only these columns will be included, in this order.", + "items": { + "description": "The names of columns to include in the Table. If empty, the Table will include all columns from the CSV file. If not empty, only these columns will be included, in this order.", + "type": "string" + }, + "type": "array" + }, + "includeMissingColumns": { + "description": "If false, columns in includeColumns but not in the CSV file will error out.", + "type": "boolean" + }, + "nullValues": { + "description": "Sequence of strings that denote nulls in the data.", + "items": { + "description": "Sequence of strings that denote nulls in the data.", + "type": "string" + }, + "type": "array" + }, + "quotedStringsCanBeNull": { + "description": "Whether quoted values can be null.", + "type": "boolean" + }, + "stringsCanBeNull": { + "description": "Whether string / binary columns can have null values.", + "type": "boolean" + }, + "timestampParsers": { + "description": "Sequence of strptime()-compatible format strings, tried in order when attempting to infer or convert timestamp values.", + "items": { + "description": "Sequence of strptime()-compatible format strings, tried in order when attempting to infer or convert timestamp values.", + "type": "string" + }, + "type": "array" + }, + "trueValues": { + "description": "Sequence of strings that denote true Booleans in the data.", + "items": { + "description": "Sequence of strings that denote true Booleans in the data.", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "CsvConvertOptionsColumnType": { + "description": "Information about a certain column in the table.", + "properties": { + "name": { + "description": "The column name.", + "type": "string" + }, + "nullable": { + "description": "Whether the data in the given column can be null.", + "type": "boolean" + }, + "type": { + "description": "The column type.", + "type": "string" + } + }, + "type": "object" + }, + "CsvManifestBody": { + "description": "Body of the CSV manifest.", + "properties": { + "column_date_formats": { + "additionalProperties": { + "description": "Map of column names to date formats to use when parsing them as dates.", + "type": "string" + }, + "description": "Map of column names to date formats to use when parsing them as dates.", + "type": "object" + }, + "convert": { + "$ref": "#/components/schemas/CsvConvertOptions" + }, + "parse": { + "$ref": "#/components/schemas/CsvParseOptions" + }, + "read": { + "$ref": "#/components/schemas/CsvReadOptions" + }, + "read_method": { + "description": "Method used to read the CSV file.", + "type": "string" + } + }, + "type": "object" + }, + "CsvParseOptions": { + "description": "Options for parsing CSV files.", + "properties": { + "delimiter": { + "description": "The character delimiting individual cells in the CSV data.", + "type": "string" + }, + "doubleQuote": { + "description": "Whether two quotes in a quoted CSV value denote a single quote in the data.", + "type": "boolean" + }, + "escapeChar": { + "description": "The character used optionally for escaping special characters or false to disable escaping.", + "type": "object" + }, + "ignoreEmptyLines": { + "description": "Whether empty lines are ignored in CSV input.", + "type": "boolean" + }, + "newlinesInValues": { + "description": "Whether newline characters are allowed in CSV values.", + "type": "boolean" + }, + "quoteChar": { + "description": "The character used optionally for quoting CSV values or false to disable quoting.", + "type": "object" + } + }, + "type": "object" + }, + "CsvReadOptions": { + "description": "Options for reading CSV files.", + "properties": { + "autoGenerateColumnNames": { + "description": "Whether to autogenerate column names if columnNames is empty.", + "type": "boolean" + }, + "blockSize": { + "description": "How many bytes to process at a time from the input stream.", + "format": "int32", + "type": "integer" + }, + "columnNames": { + "description": "The column names of the target table.", + "items": { + "description": "The column names of the target table.", + "type": "string" + }, + "type": "array" + }, + "encoding": { + "description": "The character encoding of the CSV data.", + "type": "string" + }, + "skipRows": { + "description": "The number of rows to skip before the column names (if any) and the CSV data.", + "format": "int32", + "type": "integer" + }, + "skipRowsAfterNames": { + "description": "The number of rows to skip after the column names.", + "format": "int32", + "type": "integer" + }, + "useThreads": { + "description": "Whether to use multiple threads to accelerate reading.", + "type": "boolean" + } + }, + "type": "object" + }, "CustomLabel": { "description": "Custom label object override.", "properties": { @@ -2722,7 +4804,7 @@ "properties": { "exportInfo": { "default": false, - "description": "If true, the export will contain the information about the export – exported date, dashboard filters, etc.", + "description": "If true, the export will contain the information about the export \u2013 exported date, dashboard filters, etc.", "example": true, "type": "boolean" }, @@ -3298,6 +5380,16 @@ "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", "type": "string" }, + "isNullable": { + "description": "Flag indicating whether the associated source column allows null values.", + "example": false, + "type": "boolean" + }, + "nullValue": { + "description": "Value used in coalesce during joins instead of null.", + "example": "0", + "type": "string" + }, "sourceColumn": { "description": "A name of the source column in the table.", "example": "customer_order_count", @@ -3627,6 +5719,11 @@ "example": false, "type": "boolean" }, + "isNullable": { + "description": "Flag indicating whether the associated source column allows null values.", + "example": false, + "type": "boolean" + }, "labels": { "description": "An array of attribute labels.", "items": { @@ -3639,6 +5736,11 @@ "example": "en-US", "type": "string" }, + "nullValue": { + "description": "Value used in coalesce during joins instead of null.", + "example": "empty_value", + "type": "string" + }, "sortColumn": { "description": "Attribute sort column.", "example": "customer_name", @@ -3967,6 +6069,10 @@ "maxLength": 10000, "type": "string" }, + "isNullable": { + "description": "Column is nullable", + "type": "boolean" + }, "isPrimaryKey": { "description": "Is column part of primary key?", "type": "boolean" @@ -3975,6 +6081,7 @@ "description": "Column name", "example": "customer_id", "maxLength": 255, + "pattern": "^[^\u0000]*$", "type": "string" }, "referencedTableColumn": { @@ -4041,6 +6148,36 @@ ], "type": "object" }, + "DeclarativeCustomGeoCollection": { + "description": "A declarative form of custom geo collection.", + "properties": { + "id": { + "description": "Custom geo collection ID.", + "example": "my-geo-collection", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "DeclarativeCustomGeoCollections": { + "description": "Custom geo collections.", + "properties": { + "customGeoCollections": { + "items": { + "$ref": "#/components/schemas/DeclarativeCustomGeoCollection" + }, + "type": "array" + } + }, + "required": [ + "customGeoCollections" + ], + "type": "object" + }, "DeclarativeDashboardPlugin": { "properties": { "content": { @@ -4108,6 +6245,13 @@ "DeclarativeDataSource": { "description": "A data source and its properties.", "properties": { + "alternativeDataSourceId": { + "description": "Alternative data source ID. It is a weak reference meaning data source does not have to exist. All the entities (e.g. tables) from the data source must be available also in the alternative data source. It must be present in the same organization as the data source.", + "example": "pg_local_docker-demo2", + "nullable": true, + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, "authenticationType": { "description": "Type of authentication used to connect to the database.", "enum": [ @@ -4682,6 +6826,16 @@ "example": false, "type": "boolean" }, + "isNullable": { + "description": "Flag indicating whether the associated source column allows null values.", + "example": false, + "type": "boolean" + }, + "nullValue": { + "description": "Value used in coalesce during joins instead of null.", + "example": "0", + "type": "string" + }, "sourceColumn": { "description": "A name of the source column in the table.", "example": "customer_order_count", @@ -4824,6 +6978,8 @@ "properties": { "customClaimMapping": { "additionalProperties": { + "description": "Map of custom claim overrides. To be used when your Idp does not provide default claims (sub, email, name, given_name, family_name, urn.gooddata.user_groups [optional]). Define the key pair for the claim you wish to override, where the key is the default name of the attribute and the value is your custom name for the given attribute.", + "maxLength": 10000, "type": "string" }, "description": "Map of custom claim overrides. To be used when your Idp does not provide default claims (sub, email, name, given_name, family_name, urn.gooddata.user_groups [optional]). Define the key pair for the claim you wish to override, where the key is the default name of the attribute and the value is your custom name for the given attribute.", @@ -4990,11 +7146,21 @@ "example": false, "type": "boolean" }, + "isNullable": { + "description": "Flag indicating whether the associated source column allows null values.", + "example": false, + "type": "boolean" + }, "locale": { "description": "Default label locale.", "example": "en-US", "type": "string" }, + "nullValue": { + "description": "Value used in coalesce during joins instead of null.", + "example": "empty_value", + "type": "string" + }, "sourceColumn": { "description": "A name of the source column in the table.", "example": "customer_name", @@ -5323,6 +7489,12 @@ "DeclarativeOrganization": { "description": "Complete definition of an organization in a declarative form.", "properties": { + "customGeoCollections": { + "items": { + "$ref": "#/components/schemas/DeclarativeCustomGeoCollection" + }, + "type": "array" + }, "dataSources": { "items": { "$ref": "#/components/schemas/DeclarativeDataSource" @@ -5572,6 +7744,16 @@ "maxLength": 255, "type": "string" }, + "isNullable": { + "description": "Flag indicating whether the associated source column allows null values.", + "example": false, + "type": "boolean" + }, + "nullValue": { + "description": "Value used in coalesce during joins instead of null.", + "example": "empty_value", + "type": "string" + }, "target": { "$ref": "#/components/schemas/GrainIdentifier" } @@ -5666,6 +7848,7 @@ "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "ACTIVE_LLM_ENDPOINT", + "ACTIVE_CALENDARS", "WHITE_LABELING", "LOCALE", "METADATA_LOCALE", @@ -5702,7 +7885,9 @@ "MAX_ZOOM_LEVEL", "SORT_CASE_SENSITIVE", "METRIC_FORMAT_OVERRIDE", - "ENABLE_AI_ON_DATA" + "ENABLE_AI_ON_DATA", + "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", + "ENABLE_NULL_JOINS" ], "example": "TIMEZONE", "type": "string" @@ -6653,6 +8838,23 @@ ], "type": "object" }, + "DeleteFilesRequest": { + "description": "Request to delete files from the storage.", + "properties": { + "fileNames": { + "description": "Names of the files to delete.", + "items": { + "description": "Names of the files to delete.", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "fileNames" + ], + "type": "object" + }, "DependentEntitiesGraph": { "properties": { "edges": { @@ -6700,6 +8902,7 @@ "userDataFilter", "automation", "memoryItem", + "knowledgeRecommendation", "visualizationObject", "filterContext", "filterView" @@ -7091,6 +9294,7 @@ "metric", "userDataFilter", "automation", + "knowledgeRecommendation", "visualizationObject", "filterContext", "filterView" @@ -7536,6 +9740,37 @@ ], "type": "object" }, + "FeatureFlagsContext": { + "properties": { + "earlyAccess": { + "type": "string" + }, + "earlyAccessValues": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": true + } + }, + "required": [ + "earlyAccess", + "earlyAccessValues" + ], + "type": "object" + }, + "Features": { + "description": "Base Structure for feature flags", + "properties": { + "context": { + "$ref": "#/components/schemas/FeatureFlagsContext" + } + }, + "required": [ + "context" + ], + "type": "object" + }, "File": { "properties": { "any": { @@ -7549,16 +9784,25 @@ "YES", "NO" ], - "type": "string" + "type": "string", + "xml": { + "attribute": true + } }, "id": { - "type": "string" + "type": "string", + "xml": { + "attribute": true + } }, "notes": { "$ref": "#/components/schemas/Notes" }, "original": { - "type": "string" + "type": "string", + "xml": { + "attribute": true + } }, "otherAttributes": { "additionalProperties": { @@ -7570,7 +9814,11 @@ "$ref": "#/components/schemas/Skeleton" }, "space": { - "type": "string" + "type": "string", + "xml": { + "attribute": true, + "namespace": "http://www.w3.org/XML/1998/namespace" + } }, "srcDir": { "enum": [ @@ -7578,14 +9826,20 @@ "RTL", "AUTO" ], - "type": "string" + "type": "string", + "xml": { + "attribute": true + } }, "translate": { "enum": [ "YES", "NO" ], - "type": "string" + "type": "string", + "xml": { + "attribute": true + } }, "trgDir": { "enum": [ @@ -7593,7 +9847,10 @@ "RTL", "AUTO" ], - "type": "string" + "type": "string", + "xml": { + "attribute": true + } }, "unitOrGroup": { "items": { @@ -7602,7 +9859,11 @@ "type": "array" } }, - "type": "object" + "type": "object", + "xml": { + "name": "file", + "namespace": "urn:oasis:names:tc:xliff:document:2.0" + } }, "Filter": { "description": "List of filters to be applied to the new visualization", @@ -7638,6 +9899,9 @@ { "$ref": "#/components/schemas/RangeMeasureValueFilter" }, + { + "$ref": "#/components/schemas/CompoundMeasureValueFilter" + }, { "$ref": "#/components/schemas/AbsoluteDateFilter" }, @@ -7750,7 +10014,7 @@ "type": "array" }, "reasoning": { - "description": "Reasoning from LLM. Description of how and why the answer was generated.", + "description": "DEPRECATED: Use top-level reasoning.steps instead. Reasoning from LLM. Description of how and why the answer was generated.", "type": "string" } }, @@ -7800,6 +10064,39 @@ }, "type": "object" }, + "GdStorageFile": { + "description": "File stored in GD Storage.", + "properties": { + "modifiedAt": { + "description": "Last modification timestamp of the file.", + "format": "date-time", + "type": "string" + }, + "name": { + "description": "Name of the file.", + "type": "string" + }, + "size": { + "description": "Size of the file in bytes.", + "format": "int64", + "type": "integer" + }, + "type": { + "description": "Type of the file.", + "enum": [ + "CSV" + ], + "type": "string" + } + }, + "required": [ + "modifiedAt", + "name", + "size", + "type" + ], + "type": "object" + }, "GenerateLdmRequest": { "description": "A request containing all information needed for generation of logical model.", "properties": { @@ -7909,7 +10206,7 @@ "description": "Configuration specific to geo area labels.", "properties": { "collection": { - "$ref": "#/components/schemas/GeoCollection" + "$ref": "#/components/schemas/GeoCollectionIdentifier" } }, "required": [ @@ -7917,12 +10214,21 @@ ], "type": "object" }, - "GeoCollection": { + "GeoCollectionIdentifier": { "properties": { "id": { "description": "Geo collection identifier.", "maxLength": 255, "type": "string" + }, + "kind": { + "default": "STATIC", + "description": "Type of geo collection.", + "enum": [ + "STATIC", + "CUSTOM" + ], + "type": "string" } }, "required": [ @@ -7930,6 +10236,73 @@ ], "type": "object" }, + "GeoJsonFeature": { + "description": "GeoJSON Feature", + "properties": { + "geometry": { + "$ref": "#/components/schemas/GeoJsonGeometry" + }, + "id": { + "type": "object" + }, + "properties": { + "additionalProperties": { + "type": "object" + }, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "properties", + "type" + ], + "type": "object" + }, + "GeoJsonFeatureCollection": { + "description": "GeoJSON FeatureCollection", + "properties": { + "bbox": { + "items": { + "format": "double", + "type": "number" + }, + "type": "array" + }, + "features": { + "items": { + "$ref": "#/components/schemas/GeoJsonFeature" + }, + "type": "array" + }, + "type": { + "type": "string" + } + }, + "required": [ + "features", + "type" + ], + "type": "object" + }, + "GeoJsonGeometry": { + "description": "GeoJSON Geometry", + "properties": { + "coordinates": { + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "coordinates", + "type" + ], + "type": "object" + }, "GetQualityIssuesResponse": { "properties": { "issues": { @@ -8188,6 +10561,7 @@ "automation", "automationResult", "memoryItem", + "knowledgeRecommendation", "prompt", "visualizationObject", "filterContext", @@ -8254,6 +10628,125 @@ ], "type": "object" }, + "ImportCsvRequest": { + "description": "Request containing the information necessary to import one or more CSV files from the staging area.", + "properties": { + "tables": { + "description": "Information about the individual tables.", + "items": { + "$ref": "#/components/schemas/ImportCsvRequestTable" + }, + "type": "array" + } + }, + "required": [ + "tables" + ], + "type": "object" + }, + "ImportCsvRequestTable": { + "description": "Information about a particular table.", + "properties": { + "name": { + "description": "Name of the table.", + "type": "string" + }, + "source": { + "$ref": "#/components/schemas/ImportCsvRequestTableSource" + } + }, + "required": [ + "name", + "source" + ], + "type": "object" + }, + "ImportCsvRequestTableSource": { + "description": "Information about source data for a particular table.", + "properties": { + "config": { + "$ref": "#/components/schemas/ImportCsvRequestTableSourceConfig" + }, + "location": { + "description": "Location of the data in the staging area.", + "type": "string" + } + }, + "required": [ + "config", + "location" + ], + "type": "object" + }, + "ImportCsvRequestTableSourceConfig": { + "description": "Config to use when accessing the data for executions, etc.", + "properties": { + "columnDateFormats": { + "additionalProperties": { + "description": "Date formats to use to use to read the given columns.", + "type": "string" + }, + "description": "Date formats to use to use to read the given columns.", + "type": "object" + }, + "convertOptions": { + "$ref": "#/components/schemas/CsvConvertOptions" + }, + "parseOptions": { + "$ref": "#/components/schemas/CsvParseOptions" + }, + "readOptions": { + "$ref": "#/components/schemas/CsvReadOptions" + } + }, + "type": "object" + }, + "ImportCsvResponse": { + "description": "Response containing the information about the imported CSV file.", + "properties": { + "name": { + "description": "Name of the table the file was imported to.", + "type": "string" + }, + "version": { + "description": "Version the file was imported as.", + "format": "int32", + "type": "integer" + } + }, + "required": [ + "name", + "version" + ], + "type": "object" + }, + "ImportGeoCollectionRequest": { + "description": "Request to import a geo collection file from the staging area.", + "properties": { + "location": { + "description": "Location of the file in the staging area.", + "type": "string" + } + }, + "required": [ + "location" + ], + "type": "object" + }, + "ImportGeoCollectionResponse": { + "description": "Response after successfully importing a geo collection.", + "properties": { + "version": { + "description": "The version of the imported geo collection.", + "format": "int32", + "type": "integer" + } + }, + "required": [ + "version" + ], + "type": "object" + }, "InPlatform": { "allOf": [ { @@ -8360,6 +10853,32 @@ }, "type": "object" }, + "Invitation": { + "properties": { + "email": { + "format": "email", + "type": "string" + }, + "firstName": { + "type": "string" + }, + "forceSend": { + "description": "Force resend invitation email even if a pending invitation exists. Maximum 3 emails can be sent per invitation (1 initial + 2 resends)", + "type": "boolean" + }, + "lastName": { + "type": "string" + }, + "userId": { + "type": "string" + } + }, + "required": [ + "email", + "userId" + ], + "type": "object" + }, "JsonApiAggregatedFactLinkage": { "description": "The \\\"type\\\" and \\\"id\\\" to non-empty members.", "properties": { @@ -8391,6 +10910,12 @@ "maxLength": 10000, "type": "string" }, + "isNullable": { + "type": "boolean" + }, + "nullValue": { + "type": "string" + }, "operation": { "enum": [ "SUM", @@ -9723,9 +12248,15 @@ "isHidden": { "type": "boolean" }, + "isNullable": { + "type": "boolean" + }, "locale": { "type": "string" }, + "nullValue": { + "type": "string" + }, "sortColumn": { "maxLength": 255, "type": "string" @@ -9951,9 +12482,6 @@ "maxLength": 10000, "type": "string" }, - "locale": { - "type": "string" - }, "tags": { "items": { "type": "string" @@ -10126,7 +12654,6 @@ "type": "array" }, "metadata": { - "additionalProperties": true, "description": "Additional information for the automation.", "maxLength": 250000, "nullable": true, @@ -10451,7 +12978,6 @@ "type": "array" }, "metadata": { - "additionalProperties": true, "description": "Additional information for the automation.", "maxLength": 250000, "nullable": true, @@ -10894,7 +13420,6 @@ "type": "array" }, "metadata": { - "additionalProperties": true, "description": "Additional information for the automation.", "maxLength": 250000, "nullable": true, @@ -12064,6 +14589,151 @@ ], "type": "object" }, + "JsonApiCustomGeoCollectionIn": { + "description": "JSON:API representation of customGeoCollection entity.", + "properties": { + "id": { + "description": "API identifier of an object", + "example": "id1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "type": { + "description": "Object type", + "enum": [ + "customGeoCollection" + ], + "example": "customGeoCollection", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiCustomGeoCollectionInDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionIn" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiCustomGeoCollectionOut": { + "description": "JSON:API representation of customGeoCollection entity.", + "properties": { + "id": { + "description": "API identifier of an object", + "example": "id1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "type": { + "description": "Object type", + "enum": [ + "customGeoCollection" + ], + "example": "customGeoCollection", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiCustomGeoCollectionOutDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionOut" + }, + "links": { + "$ref": "#/components/schemas/ObjectLinks" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiCustomGeoCollectionOutList": { + "description": "A JSON:API document with a list of resources", + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionOutWithLinks" + }, + "type": "array", + "uniqueItems": true + }, + "links": { + "$ref": "#/components/schemas/ListLinks" + }, + "meta": { + "properties": { + "page": { + "$ref": "#/components/schemas/PageMetadata" + } + }, + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiCustomGeoCollectionOutWithLinks": { + "allOf": [ + { + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionOut" + }, + { + "$ref": "#/components/schemas/ObjectLinksContainer" + } + ] + }, + "JsonApiCustomGeoCollectionPatch": { + "description": "JSON:API representation of patching customGeoCollection entity.", + "properties": { + "id": { + "description": "API identifier of an object", + "example": "id1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "type": { + "description": "Object type", + "enum": [ + "customGeoCollection" + ], + "example": "customGeoCollection", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiCustomGeoCollectionPatchDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionPatch" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "JsonApiDashboardPluginIn": { "description": "JSON:API representation of dashboardPlugin entity.", "properties": { @@ -12608,6 +15278,13 @@ "properties": { "attributes": { "properties": { + "alternativeDataSourceId": { + "description": "Alternative data source ID. It is a weak reference meaning data source does not have to exist. All the entities (e.g. tables) from the data source must be available also in the alternative data source. It must be present in the same organization as the data source.", + "example": "pg_local_docker-demo2", + "nullable": true, + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, "cacheStrategy": { "description": "Determines how the results coming from a particular datasource should be cached.", "enum": [ @@ -12773,6 +15450,13 @@ "properties": { "attributes": { "properties": { + "alternativeDataSourceId": { + "description": "Alternative data source ID. It is a weak reference meaning data source does not have to exist. All the entities (e.g. tables) from the data source must be available also in the alternative data source. It must be present in the same organization as the data source.", + "example": "pg_local_docker-demo2", + "nullable": true, + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, "authenticationType": { "description": "Type of authentication used to connect to the database.", "enum": [ @@ -12996,6 +15680,13 @@ "properties": { "attributes": { "properties": { + "alternativeDataSourceId": { + "description": "Alternative data source ID. It is a weak reference meaning data source does not have to exist. All the entities (e.g. tables) from the data source must be available also in the alternative data source. It must be present in the same organization as the data source.", + "example": "pg_local_docker-demo2", + "nullable": true, + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, "cacheStrategy": { "description": "Determines how the results coming from a particular datasource should be cached.", "enum": [ @@ -14800,6 +17491,12 @@ "isHidden": { "type": "boolean" }, + "isNullable": { + "type": "boolean" + }, + "nullValue": { + "type": "string" + }, "sourceColumn": { "maxLength": 255, "type": "string" @@ -16256,31 +18953,353 @@ }, "type": "object" }, - "id": { - "description": "API identifier of an object", - "example": "id1", - "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", - "type": "string" - }, + "id": { + "description": "API identifier of an object", + "example": "id1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "type": { + "description": "Object type", + "enum": [ + "jwk" + ], + "example": "jwk", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiJwkInDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiJwkIn" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiJwkOut": { + "description": "JSON:API representation of jwk entity.", + "properties": { + "attributes": { + "properties": { + "content": { + "description": "Specification of the cryptographic key", + "example": { + "alg": "RS256", + "kyt": "RSA", + "use": "sig" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/RsaSpecification" + } + ], + "type": "object" + } + }, + "type": "object" + }, + "id": { + "description": "API identifier of an object", + "example": "id1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "type": { + "description": "Object type", + "enum": [ + "jwk" + ], + "example": "jwk", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiJwkOutDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiJwkOut" + }, + "links": { + "$ref": "#/components/schemas/ObjectLinks" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiJwkOutList": { + "description": "A JSON:API document with a list of resources", + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/JsonApiJwkOutWithLinks" + }, + "type": "array", + "uniqueItems": true + }, + "links": { + "$ref": "#/components/schemas/ListLinks" + }, + "meta": { + "properties": { + "page": { + "$ref": "#/components/schemas/PageMetadata" + } + }, + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiJwkOutWithLinks": { + "allOf": [ + { + "$ref": "#/components/schemas/JsonApiJwkOut" + }, + { + "$ref": "#/components/schemas/ObjectLinksContainer" + } + ] + }, + "JsonApiJwkPatch": { + "description": "JSON:API representation of patching jwk entity.", + "properties": { + "attributes": { + "properties": { + "content": { + "description": "Specification of the cryptographic key", + "example": { + "alg": "RS256", + "kyt": "RSA", + "use": "sig" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/RsaSpecification" + } + ], + "type": "object" + } + }, + "type": "object" + }, + "id": { + "description": "API identifier of an object", + "example": "id1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "type": { + "description": "Object type", + "enum": [ + "jwk" + ], + "example": "jwk", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiJwkPatchDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiJwkPatch" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiKnowledgeRecommendationIn": { + "description": "JSON:API representation of knowledgeRecommendation entity.", + "properties": { + "attributes": { + "properties": { + "analyticalDashboardTitle": { + "description": "Human-readable title of the analytical dashboard (denormalized for display)", + "example": "Portfolio Health Insights", + "maxLength": 255, + "type": "string" + }, + "analyzedPeriod": { + "description": "Analyzed time period (e.g., '2023-07' or 'July 2023')", + "example": "2023-07", + "maxLength": 255, + "type": "string" + }, + "analyzedValue": { + "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", + "example": 2600000000.0 + }, + "areRelationsValid": { + "type": "boolean" + }, + "comparisonType": { + "description": "Time period for comparison", + "enum": [ + "MONTH", + "QUARTER", + "YEAR" + ], + "example": "MONTH", + "type": "string" + }, + "confidence": { + "description": "Confidence score (0.0 to 1.0)", + "example": 0.62 + }, + "description": { + "description": "Description of the recommendation", + "maxLength": 10000, + "type": "string" + }, + "direction": { + "description": "Direction of the metric change", + "enum": [ + "INCREASED", + "DECREASED" + ], + "example": "DECREASED", + "type": "string" + }, + "metricTitle": { + "description": "Human-readable title of the metric (denormalized for display)", + "example": "Revenue", + "maxLength": 255, + "type": "string" + }, + "recommendations": { + "description": "Structured recommendations data as JSON", + "example": "{\"summary\": \"...\", \"recommendations\": [...], \"key_metrics\": [...]}", + "type": "object" + }, + "referencePeriod": { + "description": "Reference time period for comparison (e.g., '2023-06' or 'Jun 2023')", + "example": "2023-06", + "maxLength": 255, + "type": "string" + }, + "referenceValue": { + "description": "Metric value in the reference period", + "example": 2400000000.0 + }, + "sourceCount": { + "description": "Number of source documents used for generation", + "example": 2, + "format": "int32", + "type": "integer" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "title": { + "description": "Human-readable title for the recommendation, e.g. 'Revenue decreased vs last month'", + "maxLength": 255, + "type": "string" + }, + "widgetId": { + "description": "ID of the widget where the anomaly was detected", + "example": "widget-123", + "maxLength": 255, + "type": "string" + }, + "widgetName": { + "description": "Name of the widget where the anomaly was detected", + "example": "Revenue Trend", + "maxLength": 255, + "type": "string" + } + }, + "required": [ + "comparisonType", + "direction", + "title" + ], + "type": "object" + }, + "id": { + "description": "API identifier of an object", + "example": "id1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "relationships": { + "properties": { + "analyticalDashboard": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardToOneLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "metric": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiMetricToOneLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + } + }, + "required": [ + "metric" + ], + "type": "object" + }, "type": { "description": "Object type", "enum": [ - "jwk" + "knowledgeRecommendation" ], - "example": "jwk", + "example": "knowledgeRecommendation", "type": "string" } }, "required": [ + "attributes", "id", + "relationships", "type" ], "type": "object" }, - "JsonApiJwkInDocument": { + "JsonApiKnowledgeRecommendationInDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiJwkIn" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationIn" } }, "required": [ @@ -16288,26 +19307,118 @@ ], "type": "object" }, - "JsonApiJwkOut": { - "description": "JSON:API representation of jwk entity.", + "JsonApiKnowledgeRecommendationOut": { + "description": "JSON:API representation of knowledgeRecommendation entity.", "properties": { "attributes": { "properties": { - "content": { - "description": "Specification of the cryptographic key", - "example": { - "alg": "RS256", - "kyt": "RSA", - "use": "sig" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/RsaSpecification" - } + "analyticalDashboardTitle": { + "description": "Human-readable title of the analytical dashboard (denormalized for display)", + "example": "Portfolio Health Insights", + "maxLength": 255, + "type": "string" + }, + "analyzedPeriod": { + "description": "Analyzed time period (e.g., '2023-07' or 'July 2023')", + "example": "2023-07", + "maxLength": 255, + "type": "string" + }, + "analyzedValue": { + "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", + "example": 2600000000.0 + }, + "areRelationsValid": { + "type": "boolean" + }, + "comparisonType": { + "description": "Time period for comparison", + "enum": [ + "MONTH", + "QUARTER", + "YEAR" + ], + "example": "MONTH", + "type": "string" + }, + "confidence": { + "description": "Confidence score (0.0 to 1.0)", + "example": 0.62 + }, + "createdAt": { + "format": "date-time", + "type": "string" + }, + "description": { + "description": "Description of the recommendation", + "maxLength": 10000, + "type": "string" + }, + "direction": { + "description": "Direction of the metric change", + "enum": [ + "INCREASED", + "DECREASED" ], + "example": "DECREASED", + "type": "string" + }, + "metricTitle": { + "description": "Human-readable title of the metric (denormalized for display)", + "example": "Revenue", + "maxLength": 255, + "type": "string" + }, + "recommendations": { + "description": "Structured recommendations data as JSON", + "example": "{\"summary\": \"...\", \"recommendations\": [...], \"key_metrics\": [...]}", "type": "object" + }, + "referencePeriod": { + "description": "Reference time period for comparison (e.g., '2023-06' or 'Jun 2023')", + "example": "2023-06", + "maxLength": 255, + "type": "string" + }, + "referenceValue": { + "description": "Metric value in the reference period", + "example": 2400000000.0 + }, + "sourceCount": { + "description": "Number of source documents used for generation", + "example": 2, + "format": "int32", + "type": "integer" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "title": { + "description": "Human-readable title for the recommendation, e.g. 'Revenue decreased vs last month'", + "maxLength": 255, + "type": "string" + }, + "widgetId": { + "description": "ID of the widget where the anomaly was detected", + "example": "widget-123", + "maxLength": 255, + "type": "string" + }, + "widgetName": { + "description": "Name of the widget where the anomaly was detected", + "example": "Revenue Trend", + "maxLength": 255, + "type": "string" } }, + "required": [ + "comparisonType", + "direction", + "title" + ], "type": "object" }, "id": { @@ -16316,25 +19427,87 @@ "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", "type": "string" }, + "meta": { + "properties": { + "origin": { + "properties": { + "originId": { + "description": "defines id of the workspace where the entity comes from", + "type": "string" + }, + "originType": { + "description": "defines type of the origin of the entity", + "enum": [ + "NATIVE", + "PARENT" + ], + "type": "string" + } + }, + "required": [ + "originId", + "originType" + ], + "type": "object" + } + }, + "type": "object" + }, + "relationships": { + "properties": { + "analyticalDashboard": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardToOneLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "metric": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiMetricToOneLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + } + }, + "type": "object" + }, "type": { "description": "Object type", "enum": [ - "jwk" + "knowledgeRecommendation" ], - "example": "jwk", + "example": "knowledgeRecommendation", "type": "string" } }, "required": [ + "attributes", "id", "type" ], "type": "object" }, - "JsonApiJwkOutDocument": { + "JsonApiKnowledgeRecommendationOutDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiJwkOut" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOut" + }, + "included": { + "description": "Included resources", + "items": { + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutIncludes" + }, + "type": "array", + "uniqueItems": true }, "links": { "$ref": "#/components/schemas/ObjectLinks" @@ -16345,12 +19518,30 @@ ], "type": "object" }, - "JsonApiJwkOutList": { + "JsonApiKnowledgeRecommendationOutIncludes": { + "oneOf": [ + { + "$ref": "#/components/schemas/JsonApiMetricOutWithLinks" + }, + { + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutWithLinks" + } + ] + }, + "JsonApiKnowledgeRecommendationOutList": { "description": "A JSON:API document with a list of resources", "properties": { "data": { "items": { - "$ref": "#/components/schemas/JsonApiJwkOutWithLinks" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutWithLinks" + }, + "type": "array", + "uniqueItems": true + }, + "included": { + "description": "Included resources", + "items": { + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutIncludes" }, "type": "array", "uniqueItems": true @@ -16372,34 +19563,117 @@ ], "type": "object" }, - "JsonApiJwkOutWithLinks": { + "JsonApiKnowledgeRecommendationOutWithLinks": { "allOf": [ { - "$ref": "#/components/schemas/JsonApiJwkOut" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOut" }, { "$ref": "#/components/schemas/ObjectLinksContainer" } ] }, - "JsonApiJwkPatch": { - "description": "JSON:API representation of patching jwk entity.", + "JsonApiKnowledgeRecommendationPatch": { + "description": "JSON:API representation of patching knowledgeRecommendation entity.", "properties": { "attributes": { "properties": { - "content": { - "description": "Specification of the cryptographic key", - "example": { - "alg": "RS256", - "kyt": "RSA", - "use": "sig" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/RsaSpecification" - } + "analyticalDashboardTitle": { + "description": "Human-readable title of the analytical dashboard (denormalized for display)", + "example": "Portfolio Health Insights", + "maxLength": 255, + "type": "string" + }, + "analyzedPeriod": { + "description": "Analyzed time period (e.g., '2023-07' or 'July 2023')", + "example": "2023-07", + "maxLength": 255, + "type": "string" + }, + "analyzedValue": { + "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", + "example": 2600000000.0 + }, + "areRelationsValid": { + "type": "boolean" + }, + "comparisonType": { + "description": "Time period for comparison", + "enum": [ + "MONTH", + "QUARTER", + "YEAR" + ], + "example": "MONTH", + "type": "string" + }, + "confidence": { + "description": "Confidence score (0.0 to 1.0)", + "example": 0.62 + }, + "description": { + "description": "Description of the recommendation", + "maxLength": 10000, + "type": "string" + }, + "direction": { + "description": "Direction of the metric change", + "enum": [ + "INCREASED", + "DECREASED" ], + "example": "DECREASED", + "type": "string" + }, + "metricTitle": { + "description": "Human-readable title of the metric (denormalized for display)", + "example": "Revenue", + "maxLength": 255, + "type": "string" + }, + "recommendations": { + "description": "Structured recommendations data as JSON", + "example": "{\"summary\": \"...\", \"recommendations\": [...], \"key_metrics\": [...]}", "type": "object" + }, + "referencePeriod": { + "description": "Reference time period for comparison (e.g., '2023-06' or 'Jun 2023')", + "example": "2023-06", + "maxLength": 255, + "type": "string" + }, + "referenceValue": { + "description": "Metric value in the reference period", + "example": 2400000000.0 + }, + "sourceCount": { + "description": "Number of source documents used for generation", + "example": 2, + "format": "int32", + "type": "integer" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "title": { + "description": "Human-readable title for the recommendation, e.g. 'Revenue decreased vs last month'", + "maxLength": 255, + "type": "string" + }, + "widgetId": { + "description": "ID of the widget where the anomaly was detected", + "example": "widget-123", + "maxLength": 255, + "type": "string" + }, + "widgetName": { + "description": "Name of the widget where the anomaly was detected", + "example": "Revenue Trend", + "maxLength": 255, + "type": "string" } }, "type": "object" @@ -16410,25 +19684,54 @@ "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", "type": "string" }, + "relationships": { + "properties": { + "analyticalDashboard": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardToOneLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "metric": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiMetricToOneLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + } + }, + "type": "object" + }, "type": { "description": "Object type", "enum": [ - "jwk" + "knowledgeRecommendation" ], - "example": "jwk", + "example": "knowledgeRecommendation", "type": "string" } }, "required": [ + "attributes", "id", + "relationships", "type" ], "type": "object" }, - "JsonApiJwkPatchDocument": { + "JsonApiKnowledgeRecommendationPatchDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiJwkPatch" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPatch" } }, "required": [ @@ -16436,73 +19739,84 @@ ], "type": "object" }, - "JsonApiLabelLinkage": { - "description": "The \\\"type\\\" and \\\"id\\\" to non-empty members.", - "properties": { - "id": { - "type": "string" - }, - "type": { - "enum": [ - "label" - ], - "type": "string" - } - }, - "required": [ - "id", - "type" - ], - "type": "object" - }, - "JsonApiLabelOut": { - "description": "JSON:API representation of label entity.", + "JsonApiKnowledgeRecommendationPostOptionalId": { + "description": "JSON:API representation of knowledgeRecommendation entity.", "properties": { "attributes": { "properties": { + "analyticalDashboardTitle": { + "description": "Human-readable title of the analytical dashboard (denormalized for display)", + "example": "Portfolio Health Insights", + "maxLength": 255, + "type": "string" + }, + "analyzedPeriod": { + "description": "Analyzed time period (e.g., '2023-07' or 'July 2023')", + "example": "2023-07", + "maxLength": 255, + "type": "string" + }, + "analyzedValue": { + "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", + "example": 2600000000.0 + }, "areRelationsValid": { "type": "boolean" }, + "comparisonType": { + "description": "Time period for comparison", + "enum": [ + "MONTH", + "QUARTER", + "YEAR" + ], + "example": "MONTH", + "type": "string" + }, + "confidence": { + "description": "Confidence score (0.0 to 1.0)", + "example": 0.62 + }, "description": { + "description": "Description of the recommendation", "maxLength": 10000, "type": "string" }, - "geoAreaConfig": { - "description": "Configuration specific to geo area labels.", - "properties": { - "collection": { - "$ref": "#/components/schemas/GeoCollection" - } - }, - "required": [ - "collection" + "direction": { + "description": "Direction of the metric change", + "enum": [ + "INCREASED", + "DECREASED" ], - "type": "object" - }, - "isHidden": { - "type": "boolean" + "example": "DECREASED", + "type": "string" }, - "locale": { + "metricTitle": { + "description": "Human-readable title of the metric (denormalized for display)", + "example": "Revenue", + "maxLength": 255, "type": "string" }, - "primary": { - "type": "boolean" + "recommendations": { + "description": "Structured recommendations data as JSON", + "example": "{\"summary\": \"...\", \"recommendations\": [...], \"key_metrics\": [...]}", + "type": "object" }, - "sourceColumn": { + "referencePeriod": { + "description": "Reference time period for comparison (e.g., '2023-06' or 'Jun 2023')", + "example": "2023-06", "maxLength": 255, "type": "string" }, - "sourceColumnDataType": { - "enum": [ - "INT", - "STRING", - "DATE", - "NUMERIC", - "TIMESTAMP", - "TIMESTAMP_TZ", - "BOOLEAN" - ], - "type": "string" + "referenceValue": { + "description": "Metric value in the reference period", + "example": 2400000000.0 + }, + "sourceCount": { + "description": "Number of source documents used for generation", + "example": 2, + "format": "int32", + "type": "integer" }, "tags": { "items": { @@ -16511,40 +19825,28 @@ "type": "array" }, "title": { + "description": "Human-readable title for the recommendation, e.g. 'Revenue decreased vs last month'", "maxLength": 255, "type": "string" }, - "translations": { - "items": { - "properties": { - "locale": { - "type": "string" - }, - "sourceColumn": { - "type": "string" - } - }, - "required": [ - "locale", - "sourceColumn" - ], - "type": "object" - }, - "type": "array" + "widgetId": { + "description": "ID of the widget where the anomaly was detected", + "example": "widget-123", + "maxLength": 255, + "type": "string" }, - "valueType": { - "enum": [ - "TEXT", - "HYPERLINK", - "GEO", - "GEO_LONGITUDE", - "GEO_LATITUDE", - "GEO_AREA", - "IMAGE" - ], + "widgetName": { + "description": "Name of the widget where the anomaly was detected", + "example": "Revenue Trend", + "maxLength": 255, "type": "string" } }, + "required": [ + "comparisonType", + "direction", + "title" + ], "type": "object" }, "id": { @@ -16553,38 +19855,23 @@ "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", "type": "string" }, - "meta": { + "relationships": { "properties": { - "origin": { + "analyticalDashboard": { "properties": { - "originId": { - "description": "defines id of the workspace where the entity comes from", - "type": "string" - }, - "originType": { - "description": "defines type of the origin of the entity", - "enum": [ - "NATIVE", - "PARENT" - ], - "type": "string" + "data": { + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardToOneLinkage" } }, "required": [ - "originId", - "originType" + "data" ], "type": "object" - } - }, - "type": "object" - }, - "relationships": { - "properties": { - "attribute": { + }, + "metric": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiAttributeToOneLinkage" + "$ref": "#/components/schemas/JsonApiMetricToOneLinkage" } }, "required": [ @@ -16593,38 +19880,31 @@ "type": "object" } }, + "required": [ + "metric" + ], "type": "object" }, "type": { "description": "Object type", "enum": [ - "label" + "knowledgeRecommendation" ], - "example": "label", + "example": "knowledgeRecommendation", "type": "string" } }, "required": [ - "id", + "attributes", + "relationships", "type" ], "type": "object" }, - "JsonApiLabelOutDocument": { + "JsonApiKnowledgeRecommendationPostOptionalIdDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiLabelOut" - }, - "included": { - "description": "Included resources", - "items": { - "$ref": "#/components/schemas/JsonApiAttributeOutWithLinks" - }, - "type": "array", - "uniqueItems": true - }, - "links": { - "$ref": "#/components/schemas/ObjectLinks" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPostOptionalId" } }, "required": [ @@ -16632,63 +19912,80 @@ ], "type": "object" }, - "JsonApiLabelOutList": { - "description": "A JSON:API document with a list of resources", + "JsonApiLabelLinkage": { + "description": "The \\\"type\\\" and \\\"id\\\" to non-empty members.", "properties": { - "data": { - "items": { - "$ref": "#/components/schemas/JsonApiLabelOutWithLinks" - }, - "type": "array", - "uniqueItems": true - }, - "included": { - "description": "Included resources", - "items": { - "$ref": "#/components/schemas/JsonApiAttributeOutWithLinks" - }, - "type": "array", - "uniqueItems": true - }, - "links": { - "$ref": "#/components/schemas/ListLinks" + "id": { + "type": "string" }, - "meta": { - "properties": { - "page": { - "$ref": "#/components/schemas/PageMetadata" - } - }, - "type": "object" + "type": { + "enum": [ + "label" + ], + "type": "string" } }, "required": [ - "data" + "id", + "type" ], "type": "object" }, - "JsonApiLabelOutWithLinks": { - "allOf": [ - { - "$ref": "#/components/schemas/JsonApiLabelOut" - }, - { - "$ref": "#/components/schemas/ObjectLinksContainer" - } - ] - }, - "JsonApiLabelPatch": { - "description": "JSON:API representation of patching label entity.", + "JsonApiLabelOut": { + "description": "JSON:API representation of label entity.", "properties": { "attributes": { "properties": { + "areRelationsValid": { + "type": "boolean" + }, "description": { "maxLength": 10000, "type": "string" }, + "geoAreaConfig": { + "description": "Configuration specific to geo area labels.", + "properties": { + "collection": { + "$ref": "#/components/schemas/GeoCollectionIdentifier" + } + }, + "required": [ + "collection" + ], + "type": "object" + }, + "isHidden": { + "type": "boolean" + }, + "isNullable": { + "type": "boolean" + }, "locale": { "type": "string" }, + "nullValue": { + "type": "string" + }, + "primary": { + "type": "boolean" + }, + "sourceColumn": { + "maxLength": 255, + "type": "string" + }, + "sourceColumnDataType": { + "enum": [ + "INT", + "STRING", + "DATE", + "NUMERIC", + "TIMESTAMP", + "TIMESTAMP_TZ", + "BOOLEAN" + ], + "type": "string" + }, "tags": { "items": { "type": "string" @@ -16716,6 +20013,170 @@ "type": "object" }, "type": "array" + }, + "valueType": { + "enum": [ + "TEXT", + "HYPERLINK", + "GEO", + "GEO_LONGITUDE", + "GEO_LATITUDE", + "GEO_AREA", + "IMAGE" + ], + "type": "string" + } + }, + "type": "object" + }, + "id": { + "description": "API identifier of an object", + "example": "id1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "meta": { + "properties": { + "origin": { + "properties": { + "originId": { + "description": "defines id of the workspace where the entity comes from", + "type": "string" + }, + "originType": { + "description": "defines type of the origin of the entity", + "enum": [ + "NATIVE", + "PARENT" + ], + "type": "string" + } + }, + "required": [ + "originId", + "originType" + ], + "type": "object" + } + }, + "type": "object" + }, + "relationships": { + "properties": { + "attribute": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiAttributeToOneLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + } + }, + "type": "object" + }, + "type": { + "description": "Object type", + "enum": [ + "label" + ], + "example": "label", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiLabelOutDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiLabelOut" + }, + "included": { + "description": "Included resources", + "items": { + "$ref": "#/components/schemas/JsonApiAttributeOutWithLinks" + }, + "type": "array", + "uniqueItems": true + }, + "links": { + "$ref": "#/components/schemas/ObjectLinks" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiLabelOutList": { + "description": "A JSON:API document with a list of resources", + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/JsonApiLabelOutWithLinks" + }, + "type": "array", + "uniqueItems": true + }, + "included": { + "description": "Included resources", + "items": { + "$ref": "#/components/schemas/JsonApiAttributeOutWithLinks" + }, + "type": "array", + "uniqueItems": true + }, + "links": { + "$ref": "#/components/schemas/ListLinks" + }, + "meta": { + "properties": { + "page": { + "$ref": "#/components/schemas/PageMetadata" + } + }, + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiLabelOutWithLinks": { + "allOf": [ + { + "$ref": "#/components/schemas/JsonApiLabelOut" + }, + { + "$ref": "#/components/schemas/ObjectLinksContainer" + } + ] + }, + "JsonApiLabelPatch": { + "description": "JSON:API representation of patching label entity.", + "properties": { + "attributes": { + "properties": { + "description": { + "maxLength": 10000, + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "title": { + "maxLength": 255, + "type": "string" } }, "type": "object" @@ -17505,7 +20966,9 @@ "content": { "properties": { "format": { + "description": "Excel-like format string with optional dynamic tokens. Filter value tokens: [$FILTER:] for raw filter value passthrough. Currency tokens: [$CURRENCY:] for currency symbol, with optional forms :symbol, :narrow, :code, :name. Locale abbreviations: [$K], [$M], [$B], [$T] for locale-specific scale abbreviations. Tokens are resolved at execution time based on AFM filters and user's format locale. Single-value filters only; multi-value filters use fallback values.", "maxLength": 2048, + "nullable": true, "type": "string" }, "maql": { @@ -17612,7 +21075,9 @@ "content": { "properties": { "format": { + "description": "Excel-like format string with optional dynamic tokens. Filter value tokens: [$FILTER:] for raw filter value passthrough. Currency tokens: [$CURRENCY:] for currency symbol, with optional forms :symbol, :narrow, :code, :name. Locale abbreviations: [$K], [$M], [$B], [$T] for locale-specific scale abbreviations. Tokens are resolved at execution time based on AFM filters and user's format locale. Single-value filters only; multi-value filters use fallback values.", "maxLength": 2048, + "nullable": true, "type": "string" }, "maql": { @@ -17894,7 +21359,9 @@ "content": { "properties": { "format": { + "description": "Excel-like format string with optional dynamic tokens. Filter value tokens: [$FILTER:] for raw filter value passthrough. Currency tokens: [$CURRENCY:] for currency symbol, with optional forms :symbol, :narrow, :code, :name. Locale abbreviations: [$K], [$M], [$B], [$T] for locale-specific scale abbreviations. Tokens are resolved at execution time based on AFM filters and user's format locale. Single-value filters only; multi-value filters use fallback values.", "maxLength": 2048, + "nullable": true, "type": "string" }, "maql": { @@ -17979,7 +21446,9 @@ "content": { "properties": { "format": { + "description": "Excel-like format string with optional dynamic tokens. Filter value tokens: [$FILTER:] for raw filter value passthrough. Currency tokens: [$CURRENCY:] for currency symbol, with optional forms :symbol, :narrow, :code, :name. Locale abbreviations: [$K], [$M], [$B], [$T] for locale-specific scale abbreviations. Tokens are resolved at execution time based on AFM filters and user's format locale. Single-value filters only; multi-value filters use fallback values.", "maxLength": 2048, + "nullable": true, "type": "string" }, "maql": { @@ -18062,6 +21531,15 @@ }, "type": "array" }, + "JsonApiMetricToOneLinkage": { + "description": "References to other resource objects in a to-one (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object.", + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/JsonApiMetricLinkage" + } + ] + }, "JsonApiNotificationChannelIdentifierOut": { "description": "JSON:API representation of notificationChannelIdentifier entity.", "properties": { @@ -19015,6 +22493,7 @@ "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "ACTIVE_LLM_ENDPOINT", + "ACTIVE_CALENDARS", "WHITE_LABELING", "LOCALE", "METADATA_LOCALE", @@ -19051,7 +22530,9 @@ "MAX_ZOOM_LEVEL", "SORT_CASE_SENSITIVE", "METRIC_FORMAT_OVERRIDE", - "ENABLE_AI_ON_DATA" + "ENABLE_AI_ON_DATA", + "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", + "ENABLE_NULL_JOINS" ], "type": "string" } @@ -19106,6 +22587,7 @@ "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "ACTIVE_LLM_ENDPOINT", + "ACTIVE_CALENDARS", "WHITE_LABELING", "LOCALE", "METADATA_LOCALE", @@ -19142,7 +22624,9 @@ "MAX_ZOOM_LEVEL", "SORT_CASE_SENSITIVE", "METRIC_FORMAT_OVERRIDE", - "ENABLE_AI_ON_DATA" + "ENABLE_AI_ON_DATA", + "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", + "ENABLE_NULL_JOINS" ], "type": "string" } @@ -19237,6 +22721,7 @@ "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "ACTIVE_LLM_ENDPOINT", + "ACTIVE_CALENDARS", "WHITE_LABELING", "LOCALE", "METADATA_LOCALE", @@ -19273,7 +22758,9 @@ "MAX_ZOOM_LEVEL", "SORT_CASE_SENSITIVE", "METRIC_FORMAT_OVERRIDE", - "ENABLE_AI_ON_DATA" + "ENABLE_AI_ON_DATA", + "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", + "ENABLE_NULL_JOINS" ], "type": "string" } @@ -20734,6 +24221,7 @@ "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "ACTIVE_LLM_ENDPOINT", + "ACTIVE_CALENDARS", "WHITE_LABELING", "LOCALE", "METADATA_LOCALE", @@ -20770,7 +24258,9 @@ "MAX_ZOOM_LEVEL", "SORT_CASE_SENSITIVE", "METRIC_FORMAT_OVERRIDE", - "ENABLE_AI_ON_DATA" + "ENABLE_AI_ON_DATA", + "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", + "ENABLE_NULL_JOINS" ], "type": "string" } @@ -20825,6 +24315,7 @@ "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "ACTIVE_LLM_ENDPOINT", + "ACTIVE_CALENDARS", "WHITE_LABELING", "LOCALE", "METADATA_LOCALE", @@ -20861,7 +24352,9 @@ "MAX_ZOOM_LEVEL", "SORT_CASE_SENSITIVE", "METRIC_FORMAT_OVERRIDE", - "ENABLE_AI_ON_DATA" + "ENABLE_AI_ON_DATA", + "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", + "ENABLE_NULL_JOINS" ], "type": "string" } @@ -21558,7 +25051,6 @@ "type": "array" }, "metadata": { - "additionalProperties": true, "description": "Additional information for the automation.", "maxLength": 250000, "nullable": true, @@ -23019,6 +26511,7 @@ "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "ACTIVE_LLM_ENDPOINT", + "ACTIVE_CALENDARS", "WHITE_LABELING", "LOCALE", "METADATA_LOCALE", @@ -23055,7 +26548,9 @@ "MAX_ZOOM_LEVEL", "SORT_CASE_SENSITIVE", "METRIC_FORMAT_OVERRIDE", - "ENABLE_AI_ON_DATA" + "ENABLE_AI_ON_DATA", + "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", + "ENABLE_NULL_JOINS" ], "type": "string" } @@ -23110,6 +26605,7 @@ "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "ACTIVE_LLM_ENDPOINT", + "ACTIVE_CALENDARS", "WHITE_LABELING", "LOCALE", "METADATA_LOCALE", @@ -23146,7 +26642,9 @@ "MAX_ZOOM_LEVEL", "SORT_CASE_SENSITIVE", "METRIC_FORMAT_OVERRIDE", - "ENABLE_AI_ON_DATA" + "ENABLE_AI_ON_DATA", + "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", + "ENABLE_NULL_JOINS" ], "type": "string" } @@ -23267,6 +26765,7 @@ "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "ACTIVE_LLM_ENDPOINT", + "ACTIVE_CALENDARS", "WHITE_LABELING", "LOCALE", "METADATA_LOCALE", @@ -23303,7 +26802,9 @@ "MAX_ZOOM_LEVEL", "SORT_CASE_SENSITIVE", "METRIC_FORMAT_OVERRIDE", - "ENABLE_AI_ON_DATA" + "ENABLE_AI_ON_DATA", + "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", + "ENABLE_NULL_JOINS" ], "type": "string" } @@ -23358,6 +26859,7 @@ "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "ACTIVE_LLM_ENDPOINT", + "ACTIVE_CALENDARS", "WHITE_LABELING", "LOCALE", "METADATA_LOCALE", @@ -23394,7 +26896,9 @@ "MAX_ZOOM_LEVEL", "SORT_CASE_SENSITIVE", "METRIC_FORMAT_OVERRIDE", - "ENABLE_AI_ON_DATA" + "ENABLE_AI_ON_DATA", + "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", + "ENABLE_NULL_JOINS" ], "type": "string" } @@ -23607,6 +27111,50 @@ } ] }, + "LiveFeatureFlagConfiguration": { + "properties": { + "host": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "host", + "key" + ], + "type": "object" + }, + "LiveFeatures": { + "description": "Structure for featureHub", + "properties": { + "live": { + "allOf": [ + { + "$ref": "#/components/schemas/Features" + }, + { + "properties": { + "configuration": { + "$ref": "#/components/schemas/LiveFeatureFlagConfiguration" + } + }, + "type": "object" + } + ], + "required": [ + "configuration", + "context" + ], + "type": "object" + } + }, + "required": [ + "live" + ], + "type": "object" + }, "LocalIdentifier": { "properties": { "format": { @@ -23648,6 +27196,29 @@ ], "type": "object" }, + "MatomoService": { + "description": "Matomo service.", + "properties": { + "host": { + "description": "Telemetry host to send events to.", + "type": "string" + }, + "reportingEndpoint": { + "description": "Optional reporting endpoint for proxying telemetry events.", + "type": "string" + }, + "siteId": { + "description": "Site ID on telemetry server.", + "format": "int32", + "type": "integer" + } + }, + "required": [ + "host", + "siteId" + ], + "type": "object" + }, "MeasureDefinition": { "description": "Abstract metric definition type", "oneOf": [ @@ -23763,6 +27334,18 @@ ], "type": "object" }, + "MeasureValueCondition": { + "description": "A condition for filtering by measure value. Can be either a comparison or a range condition.", + "oneOf": [ + { + "$ref": "#/components/schemas/ComparisonCondition" + }, + { + "$ref": "#/components/schemas/RangeCondition" + } + ], + "type": "object" + }, "MeasureValueFilter": { "description": "Abstract filter definition type filtering by the value of the metric.", "oneOf": [ @@ -23771,6 +27354,9 @@ }, { "$ref": "#/components/schemas/RangeMeasureValueFilter" + }, + { + "$ref": "#/components/schemas/CompoundMeasureValueFilter" } ], "type": "object" @@ -23983,16 +27569,25 @@ "SOURCE", "TARGET" ], - "type": "string" + "type": "string", + "xml": { + "attribute": true + } }, "category": { - "type": "string" + "type": "string", + "xml": { + "attribute": true + } }, "content": { "type": "string" }, "id": { - "type": "string" + "type": "string", + "xml": { + "attribute": true + } }, "otherAttributes": { "additionalProperties": { @@ -24002,10 +27597,17 @@ }, "priority": { "format": "int32", - "type": "integer" + "type": "integer", + "xml": { + "attribute": true + } } }, - "type": "object" + "type": "object", + "xml": { + "name": "note", + "namespace": "urn:oasis:names:tc:xliff:document:2.0" + } }, "Notes": { "properties": { @@ -24016,7 +27618,14 @@ "type": "array" } }, - "type": "object" + "required": [ + "note" + ], + "type": "object", + "xml": { + "name": "notes", + "namespace": "urn:oasis:names:tc:xliff:document:2.0" + } }, "Notification": { "properties": { @@ -24177,6 +27786,19 @@ }, "type": "object" }, + "OpenTelemetryService": { + "description": "OpenTelemetry service.", + "properties": { + "host": { + "description": "Telemetry host to send events to.", + "type": "string" + } + }, + "required": [ + "host" + ], + "type": "object" + }, "OrganizationAutomationIdentifier": { "properties": { "id": { @@ -24206,6 +27828,69 @@ ], "type": "object" }, + "OrganizationCacheSettings": { + "description": "Settings for organization cache.", + "properties": { + "extraCacheBudget": { + "description": "Extra cache budget the organization can allocate among its workspaces, in bytes.", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "extraCacheBudget" + ], + "type": "object" + }, + "OrganizationCacheUsage": { + "description": "Data about the whole organization's cache usage.", + "properties": { + "current": { + "$ref": "#/components/schemas/OrganizationCurrentCacheUsage" + }, + "removalIntervals": { + "description": "List of cache removal intervals.", + "items": { + "$ref": "#/components/schemas/CacheRemovalInterval" + }, + "type": "array" + }, + "settings": { + "$ref": "#/components/schemas/OrganizationCacheSettings" + } + }, + "required": [ + "current", + "removalIntervals", + "settings" + ], + "type": "object" + }, + "OrganizationCurrentCacheUsage": { + "description": "Current cache usage of the organization.", + "properties": { + "cacheUsed": { + "description": "Cache currently used by the organization, in bytes.", + "format": "int64", + "type": "integer" + }, + "removalPeriodStart": { + "description": "Start timestamp of removal period.", + "format": "date-time", + "type": "string" + }, + "removedSinceStart": { + "description": "Bytes removed since start due to insufficient cache.", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "cacheUsed", + "removedSinceStart" + ], + "type": "object" + }, "OrganizationPermissionAssignment": { "description": "Organization permission assignments", "properties": { @@ -24229,6 +27914,120 @@ ], "type": "object" }, + "OutlierDetectionRequest": { + "properties": { + "attributes": { + "description": "Attributes to be used in the computation.", + "items": { + "$ref": "#/components/schemas/AttributeItem" + }, + "type": "array" + }, + "auxMeasures": { + "description": "Metrics to be referenced from other AFM objects (e.g. filters) but not included in the result.", + "items": { + "$ref": "#/components/schemas/MeasureItem" + }, + "type": "array" + }, + "filters": { + "description": "Various filter types to filter the execution result.", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/AbstractMeasureValueFilter" + }, + { + "$ref": "#/components/schemas/FilterDefinitionForSimpleMeasure" + }, + { + "$ref": "#/components/schemas/InlineFilterDefinition" + } + ] + }, + "type": "array" + }, + "granularity": { + "description": "Date granularity for anomaly detection. Only time-based granularities are supported (HOUR, DAY, WEEK, MONTH, QUARTER, YEAR).", + "enum": [ + "HOUR", + "DAY", + "WEEK", + "MONTH", + "QUARTER", + "YEAR" + ], + "type": "string" + }, + "measures": { + "items": { + "$ref": "#/components/schemas/MeasureItem" + }, + "minItems": 1, + "type": "array" + }, + "sensitivity": { + "description": "Sensitivity level for outlier detection", + "enum": [ + "LOW", + "MEDIUM", + "HIGH" + ], + "type": "string" + } + }, + "required": [ + "attributes", + "filters", + "granularity", + "measures", + "sensitivity" + ], + "type": "object" + }, + "OutlierDetectionResponse": { + "properties": { + "links": { + "$ref": "#/components/schemas/ExecutionLinks" + } + }, + "required": [ + "links" + ], + "type": "object" + }, + "OutlierDetectionResult": { + "properties": { + "attribute": { + "description": "Attribute values for outlier detection results.", + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "values": { + "additionalProperties": { + "description": "Map of measure identifiers to their outlier detection values. Each value is a list of nullable numbers.", + "items": { + "description": "Map of measure identifiers to their outlier detection values. Each value is a list of nullable numbers.", + "nullable": true, + "type": "number" + }, + "nullable": true, + "type": "array" + }, + "description": "Map of measure identifiers to their outlier detection values. Each value is a list of nullable numbers.", + "nullable": true, + "type": "object" + } + }, + "required": [ + "attribute", + "values" + ], + "type": "object" + }, "Over": { "properties": { "attributes": { @@ -24662,6 +28461,85 @@ ], "type": "object" }, + "Profile": { + "properties": { + "entitlements": { + "description": "Defines entitlements for given organization.", + "items": { + "$ref": "#/components/schemas/ApiEntitlement" + }, + "type": "array" + }, + "features": { + "oneOf": [ + { + "$ref": "#/components/schemas/LiveFeatures" + }, + { + "$ref": "#/components/schemas/StaticFeatures" + } + ] + }, + "links": { + "$ref": "#/components/schemas/ProfileLinks" + }, + "name": { + "type": "string" + }, + "organizationId": { + "type": "string" + }, + "organizationName": { + "type": "string" + }, + "permissions": { + "items": { + "enum": [ + "MANAGE", + "SELF_CREATE_TOKEN" + ], + "type": "string" + }, + "type": "array" + }, + "telemetryConfig": { + "$ref": "#/components/schemas/TelemetryConfig" + }, + "userId": { + "type": "string" + } + }, + "required": [ + "entitlements", + "features", + "links", + "organizationId", + "organizationName", + "permissions", + "telemetryConfig", + "userId" + ], + "type": "object" + }, + "ProfileLinks": { + "properties": { + "organization": { + "type": "string" + }, + "self": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "required": [ + "organization", + "self", + "user" + ], + "type": "object" + }, "QualityIssue": { "description": "List of quality issues (available when status is COMPLETED)", "properties": { @@ -24796,6 +28674,41 @@ ], "type": "object" }, + "RangeCondition": { + "description": "Condition that checks if the metric value is within a given range.", + "properties": { + "range": { + "properties": { + "from": { + "example": 100, + "type": "number" + }, + "operator": { + "enum": [ + "BETWEEN", + "NOT_BETWEEN" + ], + "example": "BETWEEN", + "type": "string" + }, + "to": { + "example": 999, + "type": "number" + } + }, + "required": [ + "from", + "operator", + "to" + ], + "type": "object" + } + }, + "required": [ + "range" + ], + "type": "object" + }, "RangeMeasureValueFilter": { "description": "Filter the result by comparing specified metric to given range of values.", "properties": { @@ -25036,6 +28949,104 @@ ], "type": "object" }, + "ReadCsvFileManifestsRequest": { + "description": "Request to read the manifests of the specified CSV files.", + "properties": { + "manifestRequests": { + "description": "Files to read the manifests for.", + "items": { + "$ref": "#/components/schemas/ReadCsvFileManifestsRequestItem" + }, + "type": "array" + } + }, + "required": [ + "manifestRequests" + ], + "type": "object" + }, + "ReadCsvFileManifestsRequestItem": { + "description": "Request to read the manifest of a single CSV file.", + "properties": { + "fileName": { + "description": "Name of the CSV file to read the manifest for.", + "type": "string" + }, + "version": { + "description": "Optional version of the file to read the manifest for. If null or not specified, the latest version is read.", + "format": "int32", + "type": "integer" + } + }, + "required": [ + "fileName" + ], + "type": "object" + }, + "ReadCsvFileManifestsResponse": { + "description": "Describes the results of a CSV manifest read of a single file.", + "properties": { + "manifest": { + "$ref": "#/components/schemas/CsvManifestBody" + }, + "name": { + "description": "Name of the file in the source data source.", + "type": "string" + }, + "version": { + "description": "Version of the file in the source data source.", + "format": "int32", + "type": "integer" + } + }, + "required": [ + "manifest", + "name", + "version" + ], + "type": "object" + }, + "Reasoning": { + "description": "Reasoning wrapper containing steps taken during request handling.", + "properties": { + "answer": { + "description": "Final answer/reasoning from the use case result.", + "type": "string" + }, + "steps": { + "description": "Steps taken during processing, showing the AI's reasoning process.", + "items": { + "$ref": "#/components/schemas/ReasoningStep" + }, + "type": "array" + } + }, + "required": [ + "steps" + ], + "type": "object" + }, + "ReasoningStep": { + "description": "Steps taken during processing, showing the AI's reasoning process.", + "properties": { + "thoughts": { + "description": "Detailed thoughts/messages within this step.", + "items": { + "$ref": "#/components/schemas/Thought" + }, + "type": "array" + }, + "title": { + "description": "Title describing this reasoning step.", + "type": "string" + } + }, + "required": [ + "thoughts", + "title" + ], + "type": "object" + }, "ReferenceIdentifier": { "description": "A reference identifier.", "properties": { @@ -25077,6 +29088,12 @@ ], "type": "string" }, + "isNullable": { + "type": "boolean" + }, + "nullValue": { + "type": "string" + }, "target": { "$ref": "#/components/schemas/DatasetGrain" } @@ -25308,6 +29325,7 @@ "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "ACTIVE_LLM_ENDPOINT", + "ACTIVE_CALENDARS", "WHITE_LABELING", "LOCALE", "METADATA_LOCALE", @@ -25344,7 +29362,9 @@ "MAX_ZOOM_LEVEL", "SORT_CASE_SENSITIVE", "METRIC_FORMAT_OVERRIDE", - "ENABLE_AI_ON_DATA" + "ENABLE_AI_ON_DATA", + "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", + "ENABLE_NULL_JOINS" ], "example": "TIMEZONE", "type": "string" @@ -25494,6 +29514,9 @@ "type": "string" }, "kid": { + "maxLength": 255, + "minLength": 0, + "pattern": "^[^.]", "type": "string" }, "kty": { @@ -25803,7 +29826,7 @@ "SearchResult": { "properties": { "reasoning": { - "description": "If something is not working properly this field will contain explanation.", + "description": "DEPRECATED: Use top-level reasoning.steps instead. If something is not working properly this field will contain explanation.", "type": "string" }, "relationships": { @@ -25929,7 +29952,7 @@ "properties": { "exportInfo": { "default": false, - "description": "If true, the export will contain the information about the export – exported date, filters, etc. Works only with `visualizationObject`. (XLSX, PDF)", + "description": "If true, the export will contain the information about the export \u2013 exported date, filters, etc. Works only with `visualizationObject`. (XLSX, PDF)", "example": true, "type": "boolean" }, @@ -26060,10 +30083,17 @@ "type": "array" }, "href": { - "type": "string" + "type": "string", + "xml": { + "attribute": true + } } }, - "type": "object" + "type": "object", + "xml": { + "name": "skeleton", + "namespace": "urn:oasis:names:tc:xliff:document:2.0" + } }, "SlidesExportRequest": { "description": "Export request object describing the export properties and metadata for slides exports.", @@ -26404,6 +30434,38 @@ ], "type": "object" }, + "StaticFeatures": { + "description": "Structure for offline feature flag", + "properties": { + "static": { + "allOf": [ + { + "$ref": "#/components/schemas/Features" + }, + { + "properties": { + "items": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + } + ], + "required": [ + "context", + "items" + ], + "type": "object" + } + }, + "required": [ + "static" + ], + "type": "object" + }, "Suggestion": { "description": "List of suggestions for next steps. Filled when no visualization was created, suggests alternatives.", "properties": { @@ -26564,6 +30626,60 @@ ], "type": "object" }, + "TelemetryConfig": { + "description": "Telemetry-related configuration.", + "properties": { + "context": { + "$ref": "#/components/schemas/TelemetryContext" + }, + "services": { + "$ref": "#/components/schemas/TelemetryServices" + } + }, + "required": [ + "context", + "services" + ], + "type": "object" + }, + "TelemetryContext": { + "description": "The telemetry context.", + "properties": { + "deploymentId": { + "description": "Identification of the deployment.", + "type": "string" + }, + "organizationHash": { + "description": "Organization hash.", + "type": "string" + }, + "userHash": { + "description": "User hash.", + "type": "string" + } + }, + "required": [ + "deploymentId", + "organizationHash", + "userHash" + ], + "type": "object" + }, + "TelemetryServices": { + "description": "Available telemetry services.", + "properties": { + "amplitude": { + "$ref": "#/components/schemas/AmplitudeService" + }, + "matomo": { + "$ref": "#/components/schemas/MatomoService" + }, + "openTelemetry": { + "$ref": "#/components/schemas/OpenTelemetryService" + } + }, + "type": "object" + }, "TestDefinitionRequest": { "description": "A request containing all information for testing data source definition.", "properties": { @@ -26801,6 +30917,19 @@ ], "type": "object" }, + "Thought": { + "description": "Detailed thoughts/messages within this step.", + "properties": { + "text": { + "description": "The text content of this thought.", + "type": "string" + } + }, + "required": [ + "text" + ], + "type": "object" + }, "Total": { "description": "Definition of a total. There are two types of totals: grand totals and subtotals. Grand total data will be returned in a separate section of the result structure while subtotals are fully integrated into the main result data. The mechanism for this distinction is automatic and it's described in `TotalDimension`", "properties": { @@ -26925,6 +31054,32 @@ ], "type": "object" }, + "UploadFileResponse": { + "description": "Information related to the file uploaded to the staging area.", + "properties": { + "location": { + "description": "Location to use when referencing the uploaded file in subsequent requests.", + "type": "string" + } + }, + "required": [ + "location" + ], + "type": "object" + }, + "UploadGeoCollectionFileResponse": { + "description": "Information related to the geo collection file uploaded to the staging area.", + "properties": { + "location": { + "description": "Location to use when referencing the uploaded file in subsequent requests.", + "type": "string" + } + }, + "required": [ + "location" + ], + "type": "object" + }, "UserAssignee": { "description": "List of users", "properties": { @@ -27455,6 +31610,13 @@ "allOf": [ { "properties": { + "hasSecretKey": { + "description": "Flag indicating if webhook has a hmac secret key.", + "maxLength": 10000, + "nullable": true, + "readOnly": true, + "type": "boolean" + }, "hasToken": { "description": "Flag indicating if webhook has a token.", "maxLength": 10000, @@ -27462,6 +31624,14 @@ "readOnly": true, "type": "boolean" }, + "secretKey": { + "description": "Hmac secret key for the webhook signature.", + "example": "secret_key", + "maxLength": 10000, + "nullable": true, + "type": "string", + "writeOnly": true + }, "token": { "description": "Bearer token for the webhook.", "example": "secret", @@ -27490,6 +31660,13 @@ ], "description": "Webhook destination for notifications. The property url is required on create and update.", "properties": { + "hasSecretKey": { + "description": "Flag indicating if webhook has a hmac secret key.", + "maxLength": 10000, + "nullable": true, + "readOnly": true, + "type": "boolean" + }, "hasToken": { "description": "Flag indicating if webhook has a token.", "maxLength": 10000, @@ -27497,6 +31674,14 @@ "readOnly": true, "type": "boolean" }, + "secretKey": { + "description": "Hmac secret key for the webhook signature.", + "example": "secret_key", + "maxLength": 10000, + "nullable": true, + "type": "string", + "writeOnly": true + }, "token": { "description": "Bearer token for the webhook.", "example": "secret", @@ -27718,6 +31903,76 @@ ], "type": "object" }, + "WorkspaceCacheSettings": { + "description": "Cache settings for the workspace.", + "properties": { + "extraCache": { + "description": "Extra cache for the workspace, in bytes.", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "extraCache" + ], + "type": "object" + }, + "WorkspaceCacheUsage": { + "description": "Data about a particular workspace cache usage.", + "properties": { + "current": { + "$ref": "#/components/schemas/WorkspaceCurrentCacheUsage" + }, + "removalIntervals": { + "description": "List of cache removal intervals for workspace.", + "items": { + "$ref": "#/components/schemas/CacheRemovalInterval" + }, + "type": "array" + }, + "settings": { + "$ref": "#/components/schemas/WorkspaceCacheSettings" + } + }, + "required": [ + "current", + "removalIntervals", + "settings" + ], + "type": "object" + }, + "WorkspaceCurrentCacheUsage": { + "description": "Current cache usage of the workspace.", + "properties": { + "cacheAvailable": { + "description": "Cache available for the workspace.", + "format": "int64", + "type": "integer" + }, + "cacheUsed": { + "description": "Cache used by the workspace.", + "format": "int64", + "type": "integer" + }, + "removalPeriodStart": { + "description": "Start timestamp of removal period for the workspace.", + "format": "date-time", + "type": "string" + }, + "removedSinceStart": { + "description": "Bytes removed since start due to insufficient cache for the workspace.", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "cacheAvailable", + "cacheUsed", + "removalPeriodStart", + "removedSinceStart" + ], + "type": "object" + }, "WorkspaceDataSource": { "description": "The data source used for the particular workspace instead of the one defined in the LDM inherited from its parent workspace. Such data source cannot be defined for a single or a top-parent workspace.", "properties": { @@ -27906,28 +32161,225 @@ "type": "object" }, "space": { - "type": "string" + "type": "string", + "xml": { + "attribute": true, + "namespace": "http://www.w3.org/XML/1998/namespace" + } }, "srcLang": { - "type": "string" + "type": "string", + "xml": { + "attribute": true + } }, "trgLang": { - "type": "string" + "type": "string", + "xml": { + "attribute": true + } }, "version": { - "type": "string" + "type": "string", + "xml": { + "attribute": true + } } }, - "type": "object" + "required": [ + "file" + ], + "type": "object", + "xml": { + "name": "xliff", + "namespace": "urn:oasis:names:tc:xliff:document:2.0" + } } } }, "info": { "title": "OpenAPI definition", - "version": "v0" + "version": "90a5773" }, "openapi": "3.0.1", "paths": { + "/api/v1/aac/workspaces/{workspaceId}/analyticsModel": { + "get": { + "description": "\n Retrieve the analytics model of the workspace in Analytics as Code format.\n \n The returned format is compatible with the YAML definitions used by the \n GoodData Analytics as Code VSCode extension. This includes metrics, \n dashboards, visualizations, plugins, and attribute hierarchies.\n ", + "operationId": "getAnalyticsModelAac", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "exclude", + "required": false, + "schema": { + "items": { + "description": "Defines properties which should not be included in the payload.", + "enum": [ + "ACTIVITY_INFO" + ], + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AacAnalyticsModel" + } + } + }, + "description": "Retrieved current analytics model in AAC format." + } + }, + "summary": "Get analytics model in AAC format", + "tags": [ + "Other" + ], + "x-gdc-security-info": { + "description": "Permissions to read the analytics layout.", + "permissions": [ + "ANALYZE" + ] + } + }, + "put": { + "description": "\n Set the analytics model of the workspace using Analytics as Code format.\n \n The input format is compatible with the YAML definitions used by the \n GoodData Analytics as Code VSCode extension. This replaces the entire \n analytics model with the provided definition, including metrics, \n dashboards, visualizations, plugins, and attribute hierarchies.\n ", + "operationId": "setAnalyticsModelAac", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AacAnalyticsModel" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Analytics model successfully set." + } + }, + "summary": "Set analytics model from AAC format", + "tags": [ + "Other" + ], + "x-gdc-security-info": { + "description": "Permissions to modify the analytics layout.", + "permissions": [ + "ANALYZE" + ] + } + } + }, + "/api/v1/aac/workspaces/{workspaceId}/logicalModel": { + "get": { + "description": "\n Retrieve the logical data model of the workspace in Analytics as Code format.\n \n The returned format is compatible with the YAML definitions used by the \n GoodData Analytics as Code VSCode extension. Use this for exporting models\n that can be directly used as YAML configuration files.\n ", + "operationId": "getLogicalModelAac", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "includeParents", + "required": false, + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AacLogicalModel" + } + } + }, + "description": "Retrieved current logical model in AAC format." + } + }, + "summary": "Get logical model in AAC format", + "tags": [ + "Other" + ], + "x-gdc-security-info": { + "description": "Permissions to read the logical model.", + "permissions": [ + "VIEW" + ] + } + }, + "put": { + "description": "\n Set the logical data model of the workspace using Analytics as Code format.\n \n The input format is compatible with the YAML definitions used by the \n GoodData Analytics as Code VSCode extension. This replaces the entire \n logical model with the provided definition.\n ", + "operationId": "setLogicalModelAac", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AacLogicalModel" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Logical model successfully set." + } + }, + "summary": "Set logical model from AAC format", + "tags": [ + "Other" + ], + "x-gdc-security-info": { + "description": "Permissions required to alter the logical model.", + "permissions": [ + "MANAGE" + ] + } + } + }, "/api/v1/actions/ai/llmEndpoint/test": { "post": { "description": "Validates LLM endpoint with provided parameters.", @@ -27956,8 +32408,7 @@ }, "summary": "Validate LLM Endpoint", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, @@ -27998,11 +32449,38 @@ }, "summary": "Validate LLM Endpoint By Id", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, + "/api/v1/actions/collectCacheUsage": { + "get": { + "description": "Get the detailed data about how much cache your organization is currently using, broken down by individual workspaces.", + "operationId": "collectCacheUsage", + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CacheUsageData" + } + } + }, + "description": "OK" + } + }, + "summary": "Collect data about the current cache usage", + "tags": [ + "Cache usage" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "MANAGE" + ] + } + } + }, "/api/v1/actions/collectUsage": { "get": { "description": "Provides information about platform usage, like amount of users, workspaces, ...\n\n_NOTE_: The `admin` user is always excluded from this amount.", @@ -28024,8 +32502,7 @@ }, "summary": "Info about the platform usage.", "tags": [ - "Usage", - "actions" + "Usage" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -28064,8 +32541,102 @@ }, "summary": "Info about the platform usage for particular items.", "tags": [ - "Usage", - "actions" + "Usage" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/actions/customGeoCollection/staging/upload": { + "post": { + "description": "Provides a location for uploading staging files for custom geo collections.", + "operationId": "customGeoCollectionStagingUpload", + "requestBody": { + "content": { + "multipart/form-data": { + "schema": { + "properties": { + "file": { + "description": "The geo collection file to upload.", + "format": "binary", + "type": "string" + } + }, + "required": [ + "file" + ], + "type": "object" + } + } + } + }, + "responses": { + "200": { + "content": { + "*/*": { + "schema": { + "$ref": "#/components/schemas/UploadGeoCollectionFileResponse" + } + } + }, + "description": "Upload was successful." + } + }, + "summary": "Upload a geo collection file to the staging area", + "tags": [ + "Other" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/actions/customGeoCollection/{collectionId}/import": { + "post": { + "description": "Import a geo collection file from the staging area to be available for use.", + "operationId": "importCustomGeoCollection", + "parameters": [ + { + "in": "path", + "name": "collectionId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ImportGeoCollectionRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "*/*": { + "schema": { + "$ref": "#/components/schemas/ImportGeoCollectionResponse" + } + } + }, + "description": "Successful import." + } + }, + "summary": "Import custom geo collection", + "tags": [ + "Other" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -28122,8 +32693,7 @@ }, "summary": "Test connection by data source definition", "tags": [ - "Test Connection", - "actions" + "Test Connection" ], "x-gdc-security-info": { "description": "Minimal organization permission required to use this endpoint.", @@ -28171,8 +32741,7 @@ }, "summary": "(EXPERIMENTAL) Compute column statistics", "tags": [ - "Computation", - "actions" + "Computation" ] } }, @@ -28214,8 +32783,55 @@ }, "summary": "Generate logical data model (LDM) from physical data model (PDM)", "tags": [ - "Generate Logical Data Model", - "actions" + "Generate Logical Data Model" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/actions/dataSources/{dataSourceId}/generateLogicalModelAac": { + "post": { + "description": "\n Generate logical data model (LDM) from physical data model (PDM) stored in data source,\n returning the result in Analytics as Code (AAC) format compatible with the GoodData \n VSCode extension YAML definitions.\n ", + "operationId": "generateLogicalModelAac", + "parameters": [ + { + "in": "path", + "name": "dataSourceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GenerateLdmRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AacLogicalModel" + } + } + }, + "description": "LDM generated successfully in AAC format." + } + }, + "summary": "Generate logical data model in AAC format from physical data model (PDM)", + "tags": [ + "Generate Logical Data Model" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -28261,8 +32877,7 @@ "summary": "Manage Permissions for a Data Source", "tags": [ "Manage Permissions", - "Permissions", - "actions" + "Permissions" ] } }, @@ -28344,8 +32959,7 @@ }, "summary": "Scan a database to get a physical data model (PDM)", "tags": [ - "Scanning", - "actions" + "Scanning" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -28397,8 +33011,7 @@ }, "summary": "Get a list of schema names of a database", "tags": [ - "Scanning", - "actions" + "Scanning" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -28482,8 +33095,7 @@ }, "summary": "Collect metadata about SQL query", "tags": [ - "Scanning", - "actions" + "Scanning" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -28553,8 +33165,7 @@ }, "summary": "Test data source connection by data source id", "tags": [ - "Test Connection", - "actions" + "Test Connection" ], "x-gdc-security-info": { "description": "Permissions required to test a data source.", @@ -28585,8 +33196,7 @@ }, "summary": "Register an upload notification", "tags": [ - "Invalidate Cache", - "actions" + "Invalidate Cache" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -28596,6 +33206,309 @@ } } }, + "/api/v1/actions/fileStorage/dataSources/{dataSourceId}/deleteFiles": { + "post": { + "description": "Delete the files in the given data source.", + "operationId": "deleteFiles", + "parameters": [ + { + "in": "path", + "name": "dataSourceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeleteFilesRequest" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Successful deletion." + } + }, + "summary": "Delete datasource files", + "tags": [ + "Data source files deletion" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/actions/fileStorage/dataSources/{dataSourceId}/importCsv": { + "post": { + "description": "Import the CSV files at the given locations in the staging area to the final location.", + "operationId": "importCsv", + "parameters": [ + { + "in": "path", + "name": "dataSourceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ImportCsvRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ImportCsvResponse" + }, + "type": "array" + } + } + }, + "description": "Successful import." + } + }, + "summary": "Import CSV", + "tags": [ + "Data source files import" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/actions/fileStorage/dataSources/{dataSourceId}/listFiles": { + "post": { + "description": "List all the files in the given data source.", + "operationId": "listFiles", + "parameters": [ + { + "in": "path", + "name": "dataSourceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/GdStorageFile" + }, + "type": "array" + } + } + }, + "description": "Successful listing." + } + }, + "summary": "List datasource files", + "tags": [ + "Data source files listing" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/actions/fileStorage/dataSources/{dataSourceId}/readCsvFileManifests": { + "post": { + "description": "Read the manifests of the CSV files in the given data source.", + "operationId": "readCsvFileManifests", + "parameters": [ + { + "in": "path", + "name": "dataSourceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReadCsvFileManifestsRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ReadCsvFileManifestsResponse" + }, + "type": "array" + } + } + }, + "description": "Successful listing." + } + }, + "summary": "Read CSV file manifests", + "tags": [ + "Data source files manifest read" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/actions/fileStorage/staging/analyzeCsv": { + "post": { + "description": "Analyzes CSV files at the given locations", + "operationId": "analyzeCsv", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AnalyzeCsvRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/AnalyzeCsvResponse" + }, + "type": "array" + } + } + }, + "description": "Successful analysis." + } + }, + "summary": "Analyze CSV", + "tags": [ + "Data source files analysis" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/actions/fileStorage/staging/upload": { + "post": { + "description": "Provides a location for uploading staging files.", + "operationId": "stagingUpload", + "requestBody": { + "content": { + "multipart/form-data": { + "schema": { + "properties": { + "file": { + "description": "The file to upload.", + "format": "binary", + "type": "string" + } + }, + "required": [ + "file" + ], + "type": "object" + } + } + } + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UploadFileResponse" + } + } + }, + "description": "Upload was successful." + } + }, + "summary": "Upload a file to the staging area", + "tags": [ + "Data source staging location" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/actions/invite": { + "post": { + "description": "Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.", + "operationId": "processInvitation", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Invitation" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "No Content" + } + }, + "summary": "Invite User", + "tags": [ + "User Authorization" + ], + "x-gdc-security-info": { + "description": "Permissions required to add an invitation.", + "permissions": [ + "MANAGE" + ] + } + } + }, "/api/v1/actions/notificationChannels/test": { "post": { "description": "Tests the notification channel by sending a test notification.", @@ -28639,8 +33552,7 @@ }, "summary": "Test notification channel.", "tags": [ - "Notification Channels", - "actions" + "Notification Channels" ] } }, @@ -28696,8 +33608,7 @@ }, "summary": "Test existing notification channel.", "tags": [ - "Notification Channels", - "actions" + "Notification Channels" ] } }, @@ -28784,8 +33695,7 @@ }, "summary": "Get latest notifications.", "tags": [ - "Notification Channels", - "actions" + "Notification Channels" ] } }, @@ -28812,8 +33722,7 @@ }, "summary": "Mark all notifications as read.", "tags": [ - "Notification Channels", - "actions" + "Notification Channels" ] } }, @@ -28839,8 +33748,7 @@ }, "summary": "Mark notification as read.", "tags": [ - "Notification Channels", - "actions" + "Notification Channels" ] } }, @@ -28864,8 +33772,7 @@ }, "summary": "Delete selected automations across all workspaces", "tags": [ - "Automations", - "actions" + "Automations" ] } }, @@ -28889,8 +33796,7 @@ }, "summary": "Pause selected automations across all workspaces", "tags": [ - "Automations", - "actions" + "Automations" ] } }, @@ -28914,8 +33820,7 @@ }, "summary": "Unpause selected automations across all workspaces", "tags": [ - "Automations", - "actions" + "Automations" ] } }, @@ -28929,8 +33834,7 @@ }, "summary": "Unsubscribe from all automations in all workspaces", "tags": [ - "Automations", - "actions" + "Automations" ] }, "post": { @@ -28952,8 +33856,7 @@ }, "summary": "Unsubscribe from selected automations across all workspaces", "tags": [ - "Automations", - "actions" + "Automations" ] } }, @@ -28982,8 +33885,22 @@ }, "summary": "Manage Permissions for a Organization", "tags": [ - "Permissions", - "actions" + "Permissions" + ] + } + }, + "/api/v1/actions/organization/metadataCheck": { + "post": { + "description": "(BETA) Temporary solution. Resyncs all organization objects and full workspaces within the organization with target GEN_AI_CHECK.", + "operationId": "metadataCheckOrganization", + "responses": { + "200": { + "description": "OK" + } + }, + "summary": "(BETA) Check Organization Metadata Inconsistencies", + "tags": [ + "Other" ] } }, @@ -28998,9 +33915,7 @@ }, "summary": "(BETA) Sync organization scope Metadata to other services", "tags": [ - "AI", - "Metadata Sync", - "actions" + "Other" ] } }, @@ -29025,8 +33940,7 @@ }, "summary": "Switch Active Identity Provider", "tags": [ - "Organization", - "actions" + "Other" ] } }, @@ -29051,8 +33965,7 @@ }, "summary": "Values for all public entitlements.", "tags": [ - "Entitlement", - "actions" + "Entitlement" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -29091,8 +34004,7 @@ }, "summary": "Values for requested public entitlements.", "tags": [ - "Entitlement", - "actions" + "Entitlement" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -29123,8 +34035,7 @@ }, "summary": "Values for all settings without workspace.", "tags": [ - "Reporting - Settings", - "actions" + "Reporting - Settings" ] }, "post": { @@ -29157,8 +34068,7 @@ }, "summary": "Values for selected settings without workspace.", "tags": [ - "Reporting - Settings", - "actions" + "Reporting - Settings" ] } }, @@ -29655,8 +34565,7 @@ }, "summary": "Get Analytics Catalog CreatedBy Users", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, @@ -29690,8 +34599,7 @@ }, "summary": "Get Analytics Catalog Tags", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, @@ -29735,8 +34643,7 @@ }, "summary": "(BETA) Chat with AI", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, @@ -29780,8 +34687,7 @@ }, "summary": "(BETA) Get Chat History", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, @@ -29828,8 +34734,7 @@ }, "summary": "(BETA) Chat with AI", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, @@ -29863,8 +34768,7 @@ }, "summary": "Get Chat Usage", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, @@ -29898,8 +34802,7 @@ }, "summary": "Get Quality Issues", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, @@ -29941,8 +34844,7 @@ }, "summary": "Get Quality Issues Calculation Status", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, @@ -29976,8 +34878,7 @@ }, "summary": "Trigger Quality Issues Calculation", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, @@ -30011,8 +34912,7 @@ }, "summary": "Get AI Memory CreatedBy Users", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, @@ -30046,8 +34946,7 @@ }, "summary": "Get Active LLM Endpoints for this workspace", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, @@ -30091,8 +34990,7 @@ }, "summary": "(BETA) Semantic Search in Metadata", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, @@ -30131,8 +35029,7 @@ }, "summary": "Get Available Assignees", "tags": [ - "Permissions", - "actions" + "Permissions" ] } }, @@ -30182,8 +35079,7 @@ }, "summary": "(EXPERIMENTAL) Create dashboard tabular export request", "tags": [ - "Tabular export", - "actions" + "Tabular export" ], "x-gdc-security-info": { "description": "Permissions required to execute tabular export.", @@ -30242,8 +35138,7 @@ }, "summary": "Manage Permissions for a Dashboard", "tags": [ - "Permissions", - "actions" + "Permissions" ] } }, @@ -30282,8 +35177,7 @@ }, "summary": "Get Dashboard Permissions", "tags": [ - "Permissions", - "actions" + "Permissions" ] } }, @@ -30317,8 +35211,7 @@ }, "summary": "Delete selected automations in the workspace", "tags": [ - "Automations", - "actions" + "Automations" ] } }, @@ -30352,8 +35245,7 @@ }, "summary": "Pause selected automations in the workspace", "tags": [ - "Automations", - "actions" + "Automations" ] } }, @@ -30388,8 +35280,7 @@ }, "summary": "Trigger automation.", "tags": [ - "Automations", - "actions" + "Automations" ] } }, @@ -30423,8 +35314,7 @@ }, "summary": "Unpause selected automations in the workspace", "tags": [ - "Automations", - "actions" + "Automations" ] } }, @@ -30448,8 +35338,7 @@ }, "summary": "Unsubscribe from all automations in the workspace", "tags": [ - "Automations", - "actions" + "Automations" ] }, "post": { @@ -30481,8 +35370,7 @@ }, "summary": "Unsubscribe from selected automations in the workspace", "tags": [ - "Automations", - "actions" + "Automations" ] } }, @@ -30515,8 +35403,7 @@ }, "summary": "Trigger existing automation.", "tags": [ - "Automations", - "actions" + "Automations" ] } }, @@ -30548,8 +35435,7 @@ }, "summary": "Unsubscribe from an automation", "tags": [ - "Automations", - "actions" + "Automations" ] } }, @@ -30598,8 +35484,7 @@ }, "summary": "Finds entities with given ID in hierarchy.", "tags": [ - "Hierarchy", - "actions" + "Hierarchy" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -30637,8 +35522,7 @@ }, "summary": "Computes the dependent entities graph", "tags": [ - "Dependency Graph", - "actions" + "Dependency Graph" ], "x-gdc-security-info": { "description": "Permissions required to read the graph.", @@ -30684,8 +35568,7 @@ }, "summary": "Computes the dependent entities graph from given entry points", "tags": [ - "Dependency Graph", - "actions" + "Dependency Graph" ], "x-gdc-security-info": { "description": "Permissions required to read the graph.", @@ -30735,7 +35618,7 @@ }, "summary": "Applies all the given cancel tokens.", "tags": [ - "actions" + "Computation" ], "x-gdc-security-info": { "description": "Permissions required to view a report or label elements.", @@ -30785,8 +35668,7 @@ }, "summary": "(BETA) Valid descendants", "tags": [ - "Computation", - "actions" + "Computation" ], "x-gdc-security-info": { "description": "Permissions required to analyze data.", @@ -30836,8 +35718,7 @@ }, "summary": "Valid objects", "tags": [ - "Computation", - "actions" + "Computation" ], "x-gdc-security-info": { "description": "Permissions required to analyze data.", @@ -30918,8 +35799,7 @@ }, "summary": "Executes analytical request and returns link to the result", "tags": [ - "Computation", - "actions" + "Computation" ], "x-gdc-security-info": { "description": "Permissions required to view a report or label elements.", @@ -31027,8 +35907,7 @@ }, "summary": "Get a single execution result", "tags": [ - "Computation", - "actions" + "Computation" ], "x-gdc-security-info": { "description": "Permissions required to view a report or label elements.", @@ -31078,8 +35957,7 @@ }, "summary": "Get a single execution result's metadata.", "tags": [ - "Computation", - "actions" + "Computation" ], "x-gdc-security-info": { "description": "Permissions required to analyze data.", @@ -31156,8 +36034,7 @@ }, "summary": "AFM explain resource.", "tags": [ - "Computation", - "actions" + "Computation" ], "x-gdc-security-info": { "description": "Permissions required to analyze data.", @@ -31243,8 +36120,7 @@ }, "summary": "Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows.", "tags": [ - "Computation", - "actions" + "Computation" ], "x-gdc-security-info": { "description": "Permissions required to view a report or label elements.", @@ -31294,8 +36170,7 @@ }, "summary": "Compute change analysis", "tags": [ - "Computation", - "actions" + "Computation" ] } }, @@ -31339,8 +36214,7 @@ }, "summary": "Get change analysis result", "tags": [ - "Computation", - "actions" + "Computation" ] } }, @@ -31394,8 +36268,7 @@ }, "summary": "(EXPERIMENTAL) Compute key driver analysis", "tags": [ - "Computation", - "actions" + "Computation" ] } }, @@ -31457,8 +36330,123 @@ }, "summary": "(EXPERIMENTAL) Get key driver analysis result", "tags": [ - "Computation", - "actions" + "Computation" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/execution/detectOutliers": { + "post": { + "description": "(BETA) Computes outlier detection for the provided execution definition.", + "operationId": "outlierDetection", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + }, + { + "description": "Ignore all caches during execution of current request.", + "in": "header", + "name": "skip-cache", + "required": false, + "schema": { + "default": false, + "type": "boolean" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OutlierDetectionRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OutlierDetectionResponse" + } + } + }, + "description": "OK" + } + }, + "summary": "(BETA) Outlier Detection", + "tags": [ + "Computation" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/execution/detectOutliers/result/{resultId}": { + "get": { + "description": "(BETA) Gets outlier detection result.", + "operationId": "outlierDetectionResult", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + }, + { + "description": "Result ID", + "example": "a9b28f9dc55f37ea9f4a5fb0c76895923591e781", + "in": "path", + "name": "resultId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "offset", + "required": false, + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "in": "query", + "name": "limit", + "required": false, + "schema": { + "format": "int32", + "type": "integer" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OutlierDetectionResult" + } + } + }, + "description": "OK" + } + }, + "summary": "(BETA) Outlier Detection Result", + "tags": [ + "Computation" ] } }, @@ -31520,8 +36508,7 @@ }, "summary": "(EXPERIMENTAL) Smart functions - Anomaly Detection Result", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, @@ -31585,8 +36572,7 @@ }, "summary": "(EXPERIMENTAL) Smart functions - Anomaly Detection", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, @@ -31648,8 +36634,7 @@ }, "summary": "(EXPERIMENTAL) Smart functions - Clustering Result", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, @@ -31713,8 +36698,7 @@ }, "summary": "(EXPERIMENTAL) Smart functions - Clustering", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, @@ -31776,8 +36760,7 @@ }, "summary": "(BETA) Smart functions - Forecast Result", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, @@ -31841,8 +36824,7 @@ }, "summary": "(BETA) Smart functions - Forecast", "tags": [ - "Smart Functions", - "actions" + "Smart Functions" ] } }, @@ -31884,8 +36866,7 @@ }, "summary": "(EXPERIMENTAL) Create image export request", "tags": [ - "Image export", - "actions" + "Image export" ], "x-gdc-security-info": { "description": "Permissions required to execute image export.", @@ -31986,8 +36967,7 @@ }, "summary": "(EXPERIMENTAL) Retrieve exported files", "tags": [ - "Image export", - "actions" + "Image export" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -32029,8 +37009,7 @@ }, "summary": "(EXPERIMENTAL) Retrieve metadata context", "tags": [ - "Image export", - "actions" + "Image export" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -32078,8 +37057,7 @@ }, "summary": "(EXPERIMENTAL) Create raw export request", "tags": [ - "Raw export", - "actions" + "Raw export" ], "x-gdc-security-info": { "description": "Permissions required to execute raw export.", @@ -32171,8 +37149,7 @@ }, "summary": "(EXPERIMENTAL) Retrieve exported files", "tags": [ - "Raw export", - "actions" + "Raw export" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -32229,8 +37206,7 @@ }, "summary": "(EXPERIMENTAL) Create slides export request", "tags": [ - "Slides export", - "actions" + "Slides export" ], "x-gdc-security-info": { "description": "Permissions required to execute slides export.", @@ -32382,8 +37358,7 @@ }, "summary": "(EXPERIMENTAL) Retrieve exported files", "tags": [ - "Slides export", - "actions" + "Slides export" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -32425,8 +37400,7 @@ }, "summary": "(EXPERIMENTAL) Retrieve metadata context", "tags": [ - "Slides export", - "actions" + "Slides export" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -32474,8 +37448,7 @@ }, "summary": "Create tabular export request", "tags": [ - "Tabular export", - "actions" + "Tabular export" ], "x-gdc-security-info": { "description": "Permissions required to execute tabular export.", @@ -32591,8 +37564,7 @@ }, "summary": "Retrieve exported files", "tags": [ - "Tabular export", - "actions" + "Tabular export" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -32649,7 +37621,6 @@ }, "summary": "Create visual - pdf export request", "tags": [ - "actions", "Visual export" ], "x-gdc-security-info": { @@ -32730,7 +37701,6 @@ }, "summary": "Retrieve exported files", "tags": [ - "actions", "Visual export" ], "x-gdc-security-info": { @@ -32773,7 +37743,6 @@ }, "summary": "Retrieve metadata context", "tags": [ - "actions", "Visual export" ], "x-gdc-security-info": { @@ -32815,8 +37784,7 @@ }, "summary": "Finds identifier conflicts in workspace hierarchy.", "tags": [ - "Hierarchy", - "actions" + "Hierarchy" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -32857,8 +37825,7 @@ }, "summary": "Get used entity prefixes in hierarchy", "tags": [ - "Hierarchy", - "actions" + "Hierarchy" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -32903,8 +37870,7 @@ }, "summary": "Manage Permissions for a Workspace", "tags": [ - "Permissions", - "actions" + "Permissions" ] } }, @@ -32929,9 +37895,7 @@ }, "summary": "(BETA) Sync Metadata to other services", "tags": [ - "AI", - "Metadata Sync", - "actions" + "Other" ] } }, @@ -32966,8 +37930,7 @@ }, "summary": "Finds identifier overrides in workspace hierarchy.", "tags": [ - "Hierarchy", - "actions" + "Hierarchy" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -33008,8 +37971,7 @@ }, "summary": "Values for all settings.", "tags": [ - "Workspaces - Settings", - "actions" + "Workspaces - Settings" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -33058,8 +38020,7 @@ }, "summary": "Values for selected settings.", "tags": [ - "Workspaces - Settings", - "actions" + "Workspaces - Settings" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -33100,8 +38061,7 @@ }, "summary": "Get translation tags.", "tags": [ - "Translations", - "actions" + "Translations" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -33142,8 +38102,7 @@ }, "summary": "Cleans up translations.", "tags": [ - "Translations", - "actions" + "Translations" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -33191,8 +38150,7 @@ }, "summary": "Retrieve translations for entities.", "tags": [ - "Translations", - "actions" + "Translations" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -33233,8 +38191,7 @@ }, "summary": "Set translations for entities.", "tags": [ - "Translations", - "actions" + "Translations" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", @@ -33307,7 +38264,7 @@ } }, "tags": [ - "actions" + "User management" ] } }, @@ -33374,7 +38331,158 @@ } }, "tags": [ - "actions" + "User management" + ] + } + }, + "/api/v1/auth/users": { + "get": { + "description": "Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific", + "operationId": "getUsers", + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/AuthUser" + }, + "type": "array", + "uniqueItems": true + } + } + }, + "description": "OK" + } + }, + "summary": "Get all users", + "tags": [ + "User Authorization" + ] + }, + "post": { + "description": "Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific", + "operationId": "createUser", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthUser" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthUser" + } + } + }, + "description": "OK" + } + }, + "summary": "Create a user", + "tags": [ + "User Authorization" + ] + } + }, + "/api/v1/auth/users/{userEmail}": { + "delete": { + "description": "Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific", + "operationId": "deleteUser", + "parameters": [ + { + "in": "path", + "name": "userEmail", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + }, + "summary": "Delete a user", + "tags": [ + "User Authorization" + ] + }, + "get": { + "description": "Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific", + "operationId": "getUser", + "parameters": [ + { + "in": "path", + "name": "userEmail", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthUser" + } + } + }, + "description": "OK" + } + }, + "summary": "Get a user", + "tags": [ + "User Authorization" + ] + }, + "put": { + "description": "Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific", + "operationId": "updateUser", + "parameters": [ + { + "in": "path", + "name": "userEmail", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthUser" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthUser" + } + } + }, + "description": "OK" + } + }, + "summary": "Update a user", + "tags": [ + "User Authorization" ] } }, @@ -33398,6 +38506,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCookieSecurityConfigurationOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiCookieSecurityConfigurationOutDocument" @@ -33409,9 +38522,7 @@ }, "summary": "Get CookieSecurityConfiguration", "tags": [ - "Cookie Security Configuration", - "entities", - "organization-controller" + "Cookie Security Configuration" ] }, "patch": { @@ -33432,6 +38543,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCookieSecurityConfigurationPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiCookieSecurityConfigurationPatchDocument" @@ -33443,6 +38559,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCookieSecurityConfigurationOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiCookieSecurityConfigurationOutDocument" @@ -33454,9 +38575,7 @@ }, "summary": "Patch CookieSecurityConfiguration", "tags": [ - "Cookie Security Configuration", - "entities", - "organization-controller" + "Cookie Security Configuration" ] }, "put": { @@ -33477,6 +38596,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCookieSecurityConfigurationInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiCookieSecurityConfigurationInDocument" @@ -33488,6 +38612,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCookieSecurityConfigurationOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiCookieSecurityConfigurationOutDocument" @@ -33499,9 +38628,7 @@ }, "summary": "Put CookieSecurityConfiguration", "tags": [ - "Cookie Security Configuration", - "entities", - "organization-controller" + "Cookie Security Configuration" ] } }, @@ -33571,6 +38698,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" @@ -33582,9 +38714,7 @@ }, "summary": "Get Organizations", "tags": [ - "Organization - Entity APIs", - "entities", - "organization-controller" + "Organization - Entity APIs" ], "x-gdc-security-info": { "description": "Contains permissions required to manipulate the Organization.", @@ -33635,6 +38765,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiOrganizationPatchDocument" @@ -33646,6 +38781,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" @@ -33657,9 +38797,7 @@ }, "summary": "Patch Organization", "tags": [ - "Organization - Entity APIs", - "entities", - "organization-controller" + "Organization - Entity APIs" ], "x-gdc-security-info": { "description": "Contains permissions required to manipulate the Organization.", @@ -33710,6 +38848,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiOrganizationInDocument" @@ -33721,6 +38864,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" @@ -33732,9 +38880,7 @@ }, "summary": "Put Organization", "tags": [ - "Organization - Entity APIs", - "entities", - "organization-controller" + "Organization - Entity APIs" ], "x-gdc-security-info": { "description": "Contains permissions required to manipulate the Organization.", @@ -33792,29 +38938,342 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiColorPaletteOutList" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiColorPaletteOutList" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Get all Color Pallettes", + "tags": [ + "Appearance" + ] + }, + "post": { + "operationId": "createEntity@ColorPalettes", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiColorPaletteInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiColorPaletteInDocument" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiColorPaletteOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiColorPaletteOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Post Color Pallettes", + "tags": [ + "Appearance" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/entities/colorPalettes/{id}": { + "delete": { + "operationId": "deleteEntity@ColorPalettes", + "parameters": [ + { + "$ref": "#/components/parameters/idPathParameter" + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "name==someString;content==JsonNodeValue", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete a Color Pallette", + "tags": [ + "Appearance" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + }, + "get": { + "operationId": "getEntity@ColorPalettes", + "parameters": [ + { + "$ref": "#/components/parameters/idPathParameter" + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "name==someString;content==JsonNodeValue", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiColorPaletteOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiColorPaletteOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Get Color Pallette", + "tags": [ + "Appearance" + ] + }, + "patch": { + "operationId": "patchEntity@ColorPalettes", + "parameters": [ + { + "$ref": "#/components/parameters/idPathParameter" + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "name==someString;content==JsonNodeValue", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiColorPalettePatchDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiColorPalettePatchDocument" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiColorPaletteOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiColorPaletteOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Patch Color Pallette", + "tags": [ + "Appearance" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + }, + "put": { + "operationId": "updateEntity@ColorPalettes", + "parameters": [ + { + "$ref": "#/components/parameters/idPathParameter" + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "name==someString;content==JsonNodeValue", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiColorPaletteInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiColorPaletteInDocument" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiColorPaletteOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiColorPaletteOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Put Color Pallette", + "tags": [ + "Appearance" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/entities/cspDirectives": { + "get": { + "description": " Context Security Police Directive", + "operationId": "getAllEntities@CspDirectives", + "parameters": [ + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "sources==v1,v2,v3", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/size" + }, + { + "$ref": "#/components/parameters/sort" + }, + { + "description": "Include Meta objects.", + "example": "metaInclude=page,all", + "explode": false, + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "description": "Included meta objects", + "items": { + "enum": [ + "page", + "all", + "ALL" + ], + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "style": "form" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCspDirectiveOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiColorPaletteOutList" + "$ref": "#/components/schemas/JsonApiCspDirectiveOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Color Pallettes", + "summary": "Get CSP Directives", "tags": [ - "Appearance", - "entities", - "organization-model-controller" + "CSP Directives" ] }, "post": { - "operationId": "createEntity@ColorPalettes", + "description": " Context Security Police Directive", + "operationId": "createEntity@CspDirectives", "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCspDirectiveInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiColorPaletteInDocument" + "$ref": "#/components/schemas/JsonApiCspDirectiveInDocument" } } }, @@ -33823,39 +39282,37 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCspDirectiveOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiColorPaletteOutDocument" + "$ref": "#/components/schemas/JsonApiCspDirectiveOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post Color Pallettes", + "summary": "Post CSP Directives", "tags": [ - "Appearance", - "entities", - "organization-model-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } + "CSP Directives" + ] } }, - "/api/v1/entities/colorPalettes/{id}": { + "/api/v1/entities/cspDirectives/{id}": { "delete": { - "operationId": "deleteEntity@ColorPalettes", + "description": " Context Security Police Directive", + "operationId": "deleteEntity@CspDirectives", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString;content==JsonNodeValue", + "example": "sources==v1,v2,v3", "in": "query", "name": "filter", "schema": { @@ -33868,28 +39325,21 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete a Color Pallette", + "summary": "Delete CSP Directives", "tags": [ - "Appearance", - "entities", - "organization-model-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } + "CSP Directives" + ] }, "get": { - "operationId": "getEntity@ColorPalettes", + "description": " Context Security Police Directive", + "operationId": "getEntity@CspDirectives", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString;content==JsonNodeValue", + "example": "sources==v1,v2,v3", "in": "query", "name": "filter", "schema": { @@ -33900,31 +39350,35 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCspDirectiveOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiColorPaletteOutDocument" + "$ref": "#/components/schemas/JsonApiCspDirectiveOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get Color Pallette", + "summary": "Get CSP Directives", "tags": [ - "Appearance", - "entities", - "organization-model-controller" + "CSP Directives" ] }, "patch": { - "operationId": "patchEntity@ColorPalettes", + "description": " Context Security Police Directive", + "operationId": "patchEntity@CspDirectives", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString;content==JsonNodeValue", + "example": "sources==v1,v2,v3", "in": "query", "name": "filter", "schema": { @@ -33934,9 +39388,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCspDirectivePatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiColorPalettePatchDocument" + "$ref": "#/components/schemas/JsonApiCspDirectivePatchDocument" } } }, @@ -33945,37 +39404,35 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCspDirectiveOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiColorPaletteOutDocument" + "$ref": "#/components/schemas/JsonApiCspDirectiveOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch Color Pallette", + "summary": "Patch CSP Directives", "tags": [ - "Appearance", - "entities", - "organization-model-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } + "CSP Directives" + ] }, "put": { - "operationId": "updateEntity@ColorPalettes", + "description": " Context Security Police Directive", + "operationId": "updateEntity@CspDirectives", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString;content==JsonNodeValue", + "example": "sources==v1,v2,v3", "in": "query", "name": "filter", "schema": { @@ -33985,9 +39442,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCspDirectiveInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiColorPaletteInDocument" + "$ref": "#/components/schemas/JsonApiCspDirectiveInDocument" } } }, @@ -33996,37 +39458,33 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCspDirectiveOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiColorPaletteOutDocument" + "$ref": "#/components/schemas/JsonApiCspDirectiveOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put Color Pallette", + "summary": "Put CSP Directives", "tags": [ - "Appearance", - "entities", - "organization-model-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } + "CSP Directives" + ] } }, - "/api/v1/entities/cspDirectives": { + "/api/v1/entities/customGeoCollections": { "get": { - "description": " Context Security Police Directive", - "operationId": "getAllEntities@CspDirectives", + "operationId": "getAllEntities@CustomGeoCollections", "parameters": [ { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "sources==v1,v2,v3", + "example": "", "in": "query", "name": "filter", "schema": { @@ -34068,30 +39526,36 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCspDirectiveOutList" + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get CSP Directives", "tags": [ - "CSP Directives", - "entities", - "organization-model-controller" + "Other" ] }, "post": { - "description": " Context Security Police Directive", - "operationId": "createEntity@CspDirectives", + "operationId": "createEntity@CustomGeoCollections", "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCspDirectiveInDocument" + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionInDocument" } } }, @@ -34100,34 +39564,35 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCspDirectiveOutDocument" + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post CSP Directives", "tags": [ - "CSP Directives", - "entities", - "organization-model-controller" + "Other" ] } }, - "/api/v1/entities/cspDirectives/{id}": { + "/api/v1/entities/customGeoCollections/{id}": { "delete": { - "description": " Context Security Police Directive", - "operationId": "deleteEntity@CspDirectives", + "operationId": "deleteEntity@CustomGeoCollections", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "sources==v1,v2,v3", + "example": "", "in": "query", "name": "filter", "schema": { @@ -34140,23 +39605,19 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete CSP Directives", "tags": [ - "CSP Directives", - "entities", - "organization-model-controller" + "Other" ] }, "get": { - "description": " Context Security Police Directive", - "operationId": "getEntity@CspDirectives", + "operationId": "getEntity@CustomGeoCollections", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "sources==v1,v2,v3", + "example": "", "in": "query", "name": "filter", "schema": { @@ -34167,32 +39628,33 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCspDirectiveOutDocument" + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get CSP Directives", "tags": [ - "CSP Directives", - "entities", - "organization-model-controller" + "Other" ] }, "patch": { - "description": " Context Security Police Directive", - "operationId": "patchEntity@CspDirectives", + "operationId": "patchEntity@CustomGeoCollections", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "sources==v1,v2,v3", + "example": "", "in": "query", "name": "filter", "schema": { @@ -34202,9 +39664,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCspDirectivePatchDocument" + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionPatchDocument" } } }, @@ -34213,32 +39680,33 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCspDirectiveOutDocument" + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch CSP Directives", "tags": [ - "CSP Directives", - "entities", - "organization-model-controller" + "Other" ] }, "put": { - "description": " Context Security Police Directive", - "operationId": "updateEntity@CspDirectives", + "operationId": "updateEntity@CustomGeoCollections", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "sources==v1,v2,v3", + "example": "", "in": "query", "name": "filter", "schema": { @@ -34248,9 +39716,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCspDirectiveInDocument" + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionInDocument" } } }, @@ -34259,20 +39732,22 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCspDirectiveOutDocument" + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put CSP Directives", "tags": [ - "CSP Directives", - "entities", - "organization-model-controller" + "Other" ] } }, @@ -34325,6 +39800,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDataSourceIdentifierOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiDataSourceIdentifierOutList" @@ -34336,9 +39816,7 @@ }, "summary": "Get all Data Source Identifiers", "tags": [ - "Data Source - Entity APIs", - "entities", - "organization-model-controller" + "Data Source - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -34390,6 +39868,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDataSourceIdentifierOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiDataSourceIdentifierOutDocument" @@ -34401,9 +39884,7 @@ }, "summary": "Get Data Source Identifier", "tags": [ - "Data Source - Entity APIs", - "entities", - "organization-model-controller" + "Data Source - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -34463,6 +39944,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDataSourceOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiDataSourceOutList" @@ -34474,9 +39960,7 @@ }, "summary": "Get Data Source entities", "tags": [ - "Data Source - Entity APIs", - "entities", - "organization-model-controller" + "Data Source - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -34512,120 +39996,131 @@ "style": "form" } ], - "requestBody": { - "content": { - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiDataSourceInDocument" - } - } - }, - "required": true - }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDataSourceInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDataSourceInDocument" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDataSourceOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDataSourceOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Post Data Sources", + "tags": [ + "Data Source - Entity APIs" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/entities/dataSources/{id}": { + "delete": { + "description": "Data Source - represents data source for the workspace", + "operationId": "deleteEntity@DataSources", + "parameters": [ + { + "$ref": "#/components/parameters/idPathParameter" + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "name==someString;type==DatabaseTypeValue", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete Data Source entity", + "tags": [ + "Data Source - Entity APIs" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + }, + "get": { + "description": "Data Source - represents data source for the workspace", + "operationId": "getEntity@DataSources", + "parameters": [ + { + "$ref": "#/components/parameters/idPathParameter" + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "name==someString;type==DatabaseTypeValue", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + }, + { + "description": "Include Meta objects.", + "example": "metaInclude=permissions,all", + "explode": false, + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "description": "Included meta objects", + "items": { + "enum": [ + "permissions", + "all", + "ALL" + ], + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "style": "form" + } + ], "responses": { - "201": { + "200": { "content": { - "application/vnd.gooddata.api+json": { + "application/json": { "schema": { "$ref": "#/components/schemas/JsonApiDataSourceOutDocument" } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Post Data Sources", - "tags": [ - "Data Source - Entity APIs", - "entities", - "organization-model-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } - } - }, - "/api/v1/entities/dataSources/{id}": { - "delete": { - "description": "Data Source - represents data source for the workspace", - "operationId": "deleteEntity@DataSources", - "parameters": [ - { - "$ref": "#/components/parameters/idPathParameter" - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString;type==DatabaseTypeValue", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/Deleted" - } - }, - "summary": "Delete Data Source entity", - "tags": [ - "Data Source - Entity APIs", - "entities", - "organization-model-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } - }, - "get": { - "description": "Data Source - represents data source for the workspace", - "operationId": "getEntity@DataSources", - "parameters": [ - { - "$ref": "#/components/parameters/idPathParameter" - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString;type==DatabaseTypeValue", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } - }, - { - "description": "Include Meta objects.", - "example": "metaInclude=permissions,all", - "explode": false, - "in": "query", - "name": "metaInclude", - "required": false, - "schema": { - "description": "Included meta objects", - "items": { - "enum": [ - "permissions", - "all", - "ALL" - ], - "type": "string" }, - "type": "array", - "uniqueItems": true - }, - "style": "form" - } - ], - "responses": { - "200": { - "content": { "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiDataSourceOutDocument" @@ -34637,9 +40132,7 @@ }, "summary": "Get Data Source entity", "tags": [ - "Data Source - Entity APIs", - "entities", - "organization-model-controller" + "Data Source - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -34667,6 +40160,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDataSourcePatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiDataSourcePatchDocument" @@ -34678,6 +40176,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDataSourceOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiDataSourceOutDocument" @@ -34689,9 +40192,7 @@ }, "summary": "Patch Data Source entity", "tags": [ - "Data Source - Entity APIs", - "entities", - "organization-model-controller" + "Data Source - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -34719,6 +40220,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDataSourceInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiDataSourceInDocument" @@ -34730,6 +40236,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDataSourceOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiDataSourceOutDocument" @@ -34741,9 +40252,7 @@ }, "summary": "Put Data Source entity", "tags": [ - "Data Source - Entity APIs", - "entities", - "organization-model-controller" + "Data Source - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -34802,6 +40311,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiEntitlementOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiEntitlementOutList" @@ -34813,9 +40327,7 @@ }, "summary": "Get Entitlements", "tags": [ - "Entitlement", - "entities", - "organization-model-controller" + "Entitlement" ] } }, @@ -34840,6 +40352,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiEntitlementOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiEntitlementOutDocument" @@ -34851,9 +40368,7 @@ }, "summary": "Get Entitlement", "tags": [ - "Entitlement", - "entities", - "organization-model-controller" + "Entitlement" ] } }, @@ -34905,6 +40420,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportTemplateOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiExportTemplateOutList" @@ -34916,15 +40436,18 @@ }, "summary": "GET all Export Template entities", "tags": [ - "Export templates", - "entities", - "organization-model-controller" + "Export templates" ] }, "post": { "operationId": "createEntity@ExportTemplates", "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportTemplatePostOptionalIdDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiExportTemplatePostOptionalIdDocument" @@ -34936,6 +40459,11 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportTemplateOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiExportTemplateOutDocument" @@ -34947,9 +40475,7 @@ }, "summary": "Post Export Template entities", "tags": [ - "Export templates", - "entities", - "organization-model-controller" + "Export templates" ] } }, @@ -34977,9 +40503,7 @@ }, "summary": "Delete Export Template entity", "tags": [ - "Export templates", - "entities", - "organization-model-controller" + "Export templates" ] }, "get": { @@ -35001,6 +40525,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportTemplateOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiExportTemplateOutDocument" @@ -35012,9 +40541,7 @@ }, "summary": "GET Export Template entity", "tags": [ - "Export templates", - "entities", - "organization-model-controller" + "Export templates" ] }, "patch": { @@ -35035,6 +40562,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportTemplatePatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiExportTemplatePatchDocument" @@ -35046,6 +40578,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportTemplateOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiExportTemplateOutDocument" @@ -35057,9 +40594,7 @@ }, "summary": "Patch Export Template entity", "tags": [ - "Export templates", - "entities", - "organization-model-controller" + "Export templates" ] }, "put": { @@ -35080,6 +40615,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportTemplateInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiExportTemplateInDocument" @@ -35091,6 +40631,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportTemplateOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiExportTemplateOutDocument" @@ -35102,9 +40647,7 @@ }, "summary": "PUT Export Template entity", "tags": [ - "Export templates", - "entities", - "organization-model-controller" + "Export templates" ] } }, @@ -35156,6 +40699,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiIdentityProviderOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiIdentityProviderOutList" @@ -35167,15 +40715,18 @@ }, "summary": "Get all Identity Providers", "tags": [ - "Identity Providers", - "entities", - "organization-model-controller" + "Identity Providers" ] }, "post": { "operationId": "createEntity@IdentityProviders", "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiIdentityProviderInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiIdentityProviderInDocument" @@ -35187,6 +40738,11 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiIdentityProviderOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiIdentityProviderOutDocument" @@ -35198,9 +40754,7 @@ }, "summary": "Post Identity Providers", "tags": [ - "Identity Providers", - "entities", - "organization-model-controller" + "Identity Providers" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -35234,9 +40788,7 @@ }, "summary": "Delete Identity Provider", "tags": [ - "Identity Providers", - "entities", - "organization-model-controller" + "Identity Providers" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -35264,6 +40816,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiIdentityProviderOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiIdentityProviderOutDocument" @@ -35275,9 +40832,7 @@ }, "summary": "Get Identity Provider", "tags": [ - "Identity Providers", - "entities", - "organization-model-controller" + "Identity Providers" ] }, "patch": { @@ -35298,6 +40853,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiIdentityProviderPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiIdentityProviderPatchDocument" @@ -35309,6 +40869,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiIdentityProviderOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiIdentityProviderOutDocument" @@ -35320,9 +40885,7 @@ }, "summary": "Patch Identity Provider", "tags": [ - "Identity Providers", - "entities", - "organization-model-controller" + "Identity Providers" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -35349,6 +40912,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiIdentityProviderInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiIdentityProviderInDocument" @@ -35360,6 +40928,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiIdentityProviderOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiIdentityProviderOutDocument" @@ -35371,9 +40944,7 @@ }, "summary": "Put Identity Provider", "tags": [ - "Identity Providers", - "entities", - "organization-model-controller" + "Identity Providers" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -35432,6 +41003,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiJwkOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiJwkOutList" @@ -35443,9 +41019,7 @@ }, "summary": "Get all Jwks", "tags": [ - "JWKS", - "entities", - "organization-model-controller" + "JWKS" ] }, "post": { @@ -35453,6 +41027,11 @@ "operationId": "createEntity@Jwks", "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiJwkInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiJwkInDocument" @@ -35464,6 +41043,11 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiJwkOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiJwkOutDocument" @@ -35475,9 +41059,7 @@ }, "summary": "Post Jwks", "tags": [ - "JWKS", - "entities", - "organization-model-controller" + "JWKS" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -35512,9 +41094,7 @@ }, "summary": "Delete Jwk", "tags": [ - "JWKS", - "entities", - "organization-model-controller" + "JWKS" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -35543,6 +41123,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiJwkOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiJwkOutDocument" @@ -35554,9 +41139,7 @@ }, "summary": "Get Jwk", "tags": [ - "JWKS", - "entities", - "organization-model-controller" + "JWKS" ] }, "patch": { @@ -35578,6 +41161,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiJwkPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiJwkPatchDocument" @@ -35589,6 +41177,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiJwkOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiJwkOutDocument" @@ -35600,9 +41193,7 @@ }, "summary": "Patch Jwk", "tags": [ - "JWKS", - "entities", - "organization-model-controller" + "JWKS" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -35630,6 +41221,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiJwkInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiJwkInDocument" @@ -35641,6 +41237,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiJwkOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiJwkOutDocument" @@ -35652,9 +41253,7 @@ }, "summary": "Put Jwk", "tags": [ - "JWKS", - "entities", - "organization-model-controller" + "JWKS" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -35712,6 +41311,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiLlmEndpointOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiLlmEndpointOutList" @@ -35723,15 +41327,18 @@ }, "summary": "Get all LLM endpoint entities", "tags": [ - "LLM Endpoints", - "entities", - "organization-model-controller" + "LLM Endpoints" ] }, "post": { "operationId": "createEntity@LlmEndpoints", "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiLlmEndpointInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiLlmEndpointInDocument" @@ -35743,6 +41350,11 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" @@ -35754,9 +41366,7 @@ }, "summary": "Post LLM endpoint entities", "tags": [ - "LLM Endpoints", - "entities", - "organization-model-controller" + "LLM Endpoints" ] } }, @@ -35783,9 +41393,7 @@ } }, "tags": [ - "LLM Endpoints", - "entities", - "organization-model-controller" + "LLM Endpoints" ] }, "get": { @@ -35807,6 +41415,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" @@ -35818,9 +41431,7 @@ }, "summary": "Get LLM endpoint entity", "tags": [ - "LLM Endpoints", - "entities", - "organization-model-controller" + "LLM Endpoints" ] }, "patch": { @@ -35841,6 +41452,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiLlmEndpointPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiLlmEndpointPatchDocument" @@ -35852,6 +41468,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" @@ -35863,9 +41484,7 @@ }, "summary": "Patch LLM endpoint entity", "tags": [ - "LLM Endpoints", - "entities", - "organization-model-controller" + "LLM Endpoints" ] }, "put": { @@ -35886,6 +41505,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiLlmEndpointInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiLlmEndpointInDocument" @@ -35897,6 +41521,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" @@ -35908,9 +41537,7 @@ }, "summary": "PUT LLM endpoint entity", "tags": [ - "LLM Endpoints", - "entities", - "organization-model-controller" + "LLM Endpoints" ] } }, @@ -35962,6 +41589,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiNotificationChannelIdentifierOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiNotificationChannelIdentifierOutList" @@ -35972,9 +41604,7 @@ } }, "tags": [ - "Notification Channels", - "entities", - "organization-model-controller" + "Notification Channels" ] } }, @@ -35998,6 +41628,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiNotificationChannelIdentifierOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiNotificationChannelIdentifierOutDocument" @@ -36008,9 +41643,7 @@ } }, "tags": [ - "Notification Channels", - "entities", - "organization-model-controller" + "Notification Channels" ] } }, @@ -36062,6 +41695,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiNotificationChannelOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiNotificationChannelOutList" @@ -36073,15 +41711,18 @@ }, "summary": "Get all Notification Channel entities", "tags": [ - "Notification Channels", - "entities", - "organization-model-controller" + "Notification Channels" ] }, "post": { "operationId": "createEntity@NotificationChannels", "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiNotificationChannelPostOptionalIdDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiNotificationChannelPostOptionalIdDocument" @@ -36093,6 +41734,11 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiNotificationChannelOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiNotificationChannelOutDocument" @@ -36104,9 +41750,7 @@ }, "summary": "Post Notification Channel entities", "tags": [ - "Notification Channels", - "entities", - "organization-model-controller" + "Notification Channels" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -36140,9 +41784,7 @@ }, "summary": "Delete Notification Channel entity", "tags": [ - "Notification Channels", - "entities", - "organization-model-controller" + "Notification Channels" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -36170,6 +41812,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiNotificationChannelOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiNotificationChannelOutDocument" @@ -36181,9 +41828,7 @@ }, "summary": "Get Notification Channel entity", "tags": [ - "Notification Channels", - "entities", - "organization-model-controller" + "Notification Channels" ] }, "patch": { @@ -36204,6 +41849,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiNotificationChannelPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiNotificationChannelPatchDocument" @@ -36215,6 +41865,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiNotificationChannelOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiNotificationChannelOutDocument" @@ -36226,9 +41881,7 @@ }, "summary": "Patch Notification Channel entity", "tags": [ - "Notification Channels", - "entities", - "organization-model-controller" + "Notification Channels" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -36255,6 +41908,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiNotificationChannelInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiNotificationChannelInDocument" @@ -36266,6 +41924,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiNotificationChannelOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiNotificationChannelOutDocument" @@ -36277,9 +41940,7 @@ }, "summary": "Put Notification Channel entity", "tags": [ - "Notification Channels", - "entities", - "organization-model-controller" + "Notification Channels" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -36321,8 +41982,7 @@ }, "summary": "Get current organization info", "tags": [ - "Organization - Entity APIs", - "entities" + "Organization - Entity APIs" ] } }, @@ -36405,6 +42065,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceAutomationOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceAutomationOutList" @@ -36416,9 +42081,7 @@ }, "summary": "Get all Automations across all Workspaces", "tags": [ - "Automations", - "entities", - "automation-organization-view-controller" + "Automations" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -36476,6 +42139,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationSettingOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiOrganizationSettingOutList" @@ -36487,15 +42155,18 @@ }, "summary": "Get Organization entities", "tags": [ - "Organization - Entity APIs", - "entities", - "organization-model-controller" + "Organization - Entity APIs" ] }, "post": { "operationId": "createEntity@OrganizationSettings", "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationSettingInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiOrganizationSettingInDocument" @@ -36507,6 +42178,11 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationSettingOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiOrganizationSettingOutDocument" @@ -36518,9 +42194,7 @@ }, "summary": "Post Organization Setting entities", "tags": [ - "Organization - Entity APIs", - "entities", - "organization-model-controller" + "Organization - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -36554,9 +42228,7 @@ }, "summary": "Delete Organization entity", "tags": [ - "Organization - Entity APIs", - "entities", - "organization-model-controller" + "Organization - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -36584,6 +42256,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationSettingOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiOrganizationSettingOutDocument" @@ -36595,9 +42272,7 @@ }, "summary": "Get Organization entity", "tags": [ - "Organization - Entity APIs", - "entities", - "organization-model-controller" + "Organization - Entity APIs" ] }, "patch": { @@ -36618,6 +42293,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationSettingPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiOrganizationSettingPatchDocument" @@ -36629,6 +42309,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationSettingOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiOrganizationSettingOutDocument" @@ -36640,9 +42325,7 @@ }, "summary": "Patch Organization entity", "tags": [ - "Organization - Entity APIs", - "entities", - "organization-model-controller" + "Organization - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -36669,6 +42352,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationSettingInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiOrganizationSettingInDocument" @@ -36680,6 +42368,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationSettingOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiOrganizationSettingOutDocument" @@ -36691,9 +42384,7 @@ }, "summary": "Put Organization entity", "tags": [ - "Organization - Entity APIs", - "entities", - "organization-model-controller" + "Organization - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -36730,50 +42421,411 @@ "example": "metaInclude=page,all", "explode": false, "in": "query", - "name": "metaInclude", + "name": "metaInclude", + "required": false, + "schema": { + "description": "Included meta objects", + "items": { + "enum": [ + "page", + "all", + "ALL" + ], + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "style": "form" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiThemeOutList" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiThemeOutList" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Get all Theming entities", + "tags": [ + "Appearance" + ] + }, + "post": { + "operationId": "createEntity@Themes", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiThemeInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiThemeInDocument" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiThemeOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiThemeOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Post Theming", + "tags": [ + "Appearance" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/entities/themes/{id}": { + "delete": { + "operationId": "deleteEntity@Themes", + "parameters": [ + { + "$ref": "#/components/parameters/idPathParameter" + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "name==someString;content==JsonNodeValue", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete Theming", + "tags": [ + "Appearance" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + }, + "get": { + "operationId": "getEntity@Themes", + "parameters": [ + { + "$ref": "#/components/parameters/idPathParameter" + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "name==someString;content==JsonNodeValue", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiThemeOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiThemeOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Get Theming", + "tags": [ + "Appearance" + ] + }, + "patch": { + "operationId": "patchEntity@Themes", + "parameters": [ + { + "$ref": "#/components/parameters/idPathParameter" + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "name==someString;content==JsonNodeValue", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiThemePatchDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiThemePatchDocument" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiThemeOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiThemeOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Patch Theming", + "tags": [ + "Appearance" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + }, + "put": { + "operationId": "updateEntity@Themes", + "parameters": [ + { + "$ref": "#/components/parameters/idPathParameter" + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "name==someString;content==JsonNodeValue", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiThemeInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiThemeInDocument" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiThemeOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiThemeOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Put Theming", + "tags": [ + "Appearance" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/entities/userGroups": { + "get": { + "description": "User Group - creates tree-like structure for categorizing users", + "operationId": "getAllEntities@UserGroups", + "parameters": [ + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "name==someString", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + }, + { + "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": "parents", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "userGroups", + "parents", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/size" + }, + { + "$ref": "#/components/parameters/sort" + }, + { + "description": "Include Meta objects.", + "example": "metaInclude=page,all", + "explode": false, + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "description": "Included meta objects", + "items": { + "enum": [ + "page", + "all", + "ALL" + ], + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "style": "form" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserGroupOutList" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserGroupOutList" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Get UserGroup entities", + "tags": [ + "UserGroups - Entity APIs" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "MANAGE" + ] + } + }, + "post": { + "description": "User Group - creates tree-like structure for categorizing users", + "operationId": "createEntity@UserGroups", + "parameters": [ + { + "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": "parents", + "explode": false, + "in": "query", + "name": "include", "required": false, "schema": { - "description": "Included meta objects", "items": { "enum": [ - "page", - "all", + "userGroups", + "parents", "ALL" ], "type": "string" }, - "type": "array", - "uniqueItems": true + "type": "array" }, "style": "form" } ], - "responses": { - "200": { - "content": { - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiThemeOutList" - } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Get all Theming entities", - "tags": [ - "Appearance", - "entities", - "organization-model-controller" - ] - }, - "post": { - "operationId": "createEntity@Themes", "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserGroupInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiThemeInDocument" + "$ref": "#/components/schemas/JsonApiUserGroupInDocument" } } }, @@ -36782,20 +42834,23 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserGroupOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiThemeOutDocument" + "$ref": "#/components/schemas/JsonApiUserGroupOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post Theming", + "summary": "Post User Group entities", "tags": [ - "Appearance", - "entities", - "organization-model-controller" + "UserGroups - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -36805,16 +42860,17 @@ } } }, - "/api/v1/entities/themes/{id}": { + "/api/v1/entities/userGroups/{id}": { "delete": { - "operationId": "deleteEntity@Themes", + "description": "User Group - creates tree-like structure for categorizing users", + "operationId": "deleteEntity@UserGroups", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString;content==JsonNodeValue", + "example": "name==someString", "in": "query", "name": "filter", "schema": { @@ -36827,11 +42883,9 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete Theming", + "summary": "Delete UserGroup entity", "tags": [ - "Appearance", - "entities", - "organization-model-controller" + "UserGroups - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -36841,61 +42895,117 @@ } }, "get": { - "operationId": "getEntity@Themes", + "description": "User Group - creates tree-like structure for categorizing users", + "operationId": "getEntity@UserGroups", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString;content==JsonNodeValue", + "example": "name==someString", "in": "query", "name": "filter", "schema": { "type": "string" } + }, + { + "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": "parents", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "userGroups", + "parents", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" } ], "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserGroupOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiThemeOutDocument" + "$ref": "#/components/schemas/JsonApiUserGroupOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get Theming", + "summary": "Get UserGroup entity", "tags": [ - "Appearance", - "entities", - "organization-model-controller" - ] + "UserGroups - Entity APIs" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "MANAGE" + ] + } }, "patch": { - "operationId": "patchEntity@Themes", + "description": "User Group - creates tree-like structure for categorizing users", + "operationId": "patchEntity@UserGroups", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString;content==JsonNodeValue", + "example": "name==someString", "in": "query", "name": "filter", "schema": { "type": "string" } + }, + { + "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": "parents", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "userGroups", + "parents", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" } ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserGroupPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiThemePatchDocument" + "$ref": "#/components/schemas/JsonApiUserGroupPatchDocument" } } }, @@ -36904,20 +43014,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserGroupOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiThemeOutDocument" + "$ref": "#/components/schemas/JsonApiUserGroupOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch Theming", + "summary": "Patch UserGroup entity", "tags": [ - "Appearance", - "entities", - "organization-model-controller" + "UserGroups - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -36927,26 +43040,52 @@ } }, "put": { - "operationId": "updateEntity@Themes", + "description": "User Group - creates tree-like structure for categorizing users", + "operationId": "updateEntity@UserGroups", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString;content==JsonNodeValue", + "example": "name==someString", "in": "query", "name": "filter", "schema": { "type": "string" } + }, + { + "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": "parents", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "userGroups", + "parents", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" } ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserGroupInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiThemeInDocument" + "$ref": "#/components/schemas/JsonApiUserGroupInDocument" } } }, @@ -36955,20 +43094,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserGroupOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiThemeOutDocument" + "$ref": "#/components/schemas/JsonApiUserGroupOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put Theming", + "summary": "Put UserGroup entity", "tags": [ - "Appearance", - "entities", - "organization-model-controller" + "UserGroups - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -36978,14 +43120,124 @@ } } }, - "/api/v1/entities/userGroups": { + "/api/v1/entities/userIdentifiers": { "get": { - "description": "User Group - creates tree-like structure for categorizing users", - "operationId": "getAllEntities@UserGroups", + "description": "UserIdentifier - represents entity interacting with platform", + "operationId": "getAllEntities@UserIdentifiers", "parameters": [ { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString", + "example": "firstname==someString;lastname==someString", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/size" + }, + { + "$ref": "#/components/parameters/sort" + }, + { + "description": "Include Meta objects.", + "example": "metaInclude=page,all", + "explode": false, + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "description": "Included meta objects", + "items": { + "enum": [ + "page", + "all", + "ALL" + ], + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "style": "form" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserIdentifierOutList" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserIdentifierOutList" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Get UserIdentifier entities", + "tags": [ + "User Identifiers" + ] + } + }, + "/api/v1/entities/userIdentifiers/{id}": { + "get": { + "description": "UserIdentifier - represents basic information about entity interacting with platform", + "operationId": "getEntity@UserIdentifiers", + "parameters": [ + { + "$ref": "#/components/parameters/idPathParameter" + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "firstname==someString;lastname==someString", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserIdentifierOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserIdentifierOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Get UserIdentifier entity", + "tags": [ + "User Identifiers" + ] + } + }, + "/api/v1/entities/users": { + "get": { + "description": "User - represents entity interacting with platform", + "operationId": "getAllEntities@Users", + "parameters": [ + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "authenticationId==someString;firstname==someString", "in": "query", "name": "filter", "schema": { @@ -36994,7 +43246,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": "parents", + "example": "userGroups", "explode": false, "in": "query", "name": "include", @@ -37003,7 +43255,6 @@ "items": { "enum": [ "userGroups", - "parents", "ALL" ], "type": "string" @@ -37047,20 +43298,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserGroupOutList" + "$ref": "#/components/schemas/JsonApiUserOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get UserGroup entities", + "summary": "Get User entities", "tags": [ - "UserGroups - Entity APIs", - "entities", - "organization-model-controller" + "Users - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -37070,12 +43324,12 @@ } }, "post": { - "description": "User Group - creates tree-like structure for categorizing users", - "operationId": "createEntity@UserGroups", + "description": "User - represents entity interacting with platform", + "operationId": "createEntity@Users", "parameters": [ { "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": "parents", + "example": "userGroups", "explode": false, "in": "query", "name": "include", @@ -37084,7 +43338,6 @@ "items": { "enum": [ "userGroups", - "parents", "ALL" ], "type": "string" @@ -37096,9 +43349,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserGroupInDocument" + "$ref": "#/components/schemas/JsonApiUserInDocument" } } }, @@ -37107,20 +43365,23 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserGroupOutDocument" + "$ref": "#/components/schemas/JsonApiUserOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post User Group entities", + "summary": "Post User entities", "tags": [ - "UserGroups - Entity APIs", - "entities", - "organization-model-controller" + "Users - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -37130,17 +43391,17 @@ } } }, - "/api/v1/entities/userGroups/{id}": { + "/api/v1/entities/users/{id}": { "delete": { - "description": "User Group - creates tree-like structure for categorizing users", - "operationId": "deleteEntity@UserGroups", + "description": "User - represents entity interacting with platform", + "operationId": "deleteEntity@Users", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString", + "example": "authenticationId==someString;firstname==someString", "in": "query", "name": "filter", "schema": { @@ -37153,11 +43414,9 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete UserGroup entity", + "summary": "Delete User entity", "tags": [ - "UserGroups - Entity APIs", - "entities", - "organization-model-controller" + "Users - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -37167,15 +43426,15 @@ } }, "get": { - "description": "User Group - creates tree-like structure for categorizing users", - "operationId": "getEntity@UserGroups", + "description": "User - represents entity interacting with platform", + "operationId": "getEntity@Users", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString", + "example": "authenticationId==someString;firstname==someString", "in": "query", "name": "filter", "schema": { @@ -37184,7 +43443,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": "parents", + "example": "userGroups", "explode": false, "in": "query", "name": "include", @@ -37193,7 +43452,6 @@ "items": { "enum": [ "userGroups", - "parents", "ALL" ], "type": "string" @@ -37206,20 +43464,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserGroupOutDocument" + "$ref": "#/components/schemas/JsonApiUserOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get UserGroup entity", + "summary": "Get User entity", "tags": [ - "UserGroups - Entity APIs", - "entities", - "organization-model-controller" + "Users - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -37229,15 +43490,15 @@ } }, "patch": { - "description": "User Group - creates tree-like structure for categorizing users", - "operationId": "patchEntity@UserGroups", + "description": "User - represents entity interacting with platform", + "operationId": "patchEntity@Users", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString", + "example": "authenticationId==someString;firstname==someString", "in": "query", "name": "filter", "schema": { @@ -37246,7 +43507,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": "parents", + "example": "userGroups", "explode": false, "in": "query", "name": "include", @@ -37255,7 +43516,6 @@ "items": { "enum": [ "userGroups", - "parents", "ALL" ], "type": "string" @@ -37267,9 +43527,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserGroupPatchDocument" + "$ref": "#/components/schemas/JsonApiUserPatchDocument" } } }, @@ -37278,20 +43543,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserGroupOutDocument" + "$ref": "#/components/schemas/JsonApiUserOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch UserGroup entity", + "summary": "Patch User entity", "tags": [ - "UserGroups - Entity APIs", - "entities", - "organization-model-controller" + "Users - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -37301,15 +43569,15 @@ } }, "put": { - "description": "User Group - creates tree-like structure for categorizing users", - "operationId": "updateEntity@UserGroups", + "description": "User - represents entity interacting with platform", + "operationId": "updateEntity@Users", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString", + "example": "authenticationId==someString;firstname==someString", "in": "query", "name": "filter", "schema": { @@ -37318,7 +43586,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": "parents", + "example": "userGroups", "explode": false, "in": "query", "name": "include", @@ -37327,7 +43595,6 @@ "items": { "enum": [ "userGroups", - "parents", "ALL" ], "type": "string" @@ -37339,9 +43606,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserGroupInDocument" + "$ref": "#/components/schemas/JsonApiUserInDocument" } } }, @@ -37350,20 +43622,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserGroupOutDocument" + "$ref": "#/components/schemas/JsonApiUserOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put UserGroup entity", + "summary": "Put User entity", "tags": [ - "UserGroups - Entity APIs", - "entities", - "organization-model-controller" + "Users - Entity APIs" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -37373,14 +43648,21 @@ } } }, - "/api/v1/entities/userIdentifiers": { + "/api/v1/entities/users/{userId}/apiTokens": { "get": { - "description": "UserIdentifier - represents entity interacting with platform", - "operationId": "getAllEntities@UserIdentifiers", + "operationId": "getAllEntities@ApiTokens", "parameters": [ + { + "in": "path", + "name": "userId", + "required": true, + "schema": { + "type": "string" + } + }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "firstname==someString;lastname==someString", + "example": "bearerToken==someString", "in": "query", "name": "filter", "schema": { @@ -37422,34 +43704,127 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiApiTokenOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserIdentifierOutList" + "$ref": "#/components/schemas/JsonApiApiTokenOutList" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "List all api tokens for a user", + "tags": [ + "API tokens" + ] + }, + "post": { + "operationId": "createEntity@ApiTokens", + "parameters": [ + { + "in": "path", + "name": "userId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiApiTokenInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiApiTokenInDocument" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiApiTokenOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiApiTokenOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get UserIdentifier entities", + "summary": "Post a new API token for the user", + "tags": [ + "API tokens" + ] + } + }, + "/api/v1/entities/users/{userId}/apiTokens/{id}": { + "delete": { + "operationId": "deleteEntity@ApiTokens", + "parameters": [ + { + "in": "path", + "name": "userId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/idPathParameter" + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "bearerToken==someString", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete an API Token for a user", "tags": [ - "User Identifiers", - "entities", - "organization-model-controller" + "API tokens" ] - } - }, - "/api/v1/entities/userIdentifiers/{id}": { + }, "get": { - "description": "UserIdentifier - represents basic information about entity interacting with platform", - "operationId": "getEntity@UserIdentifiers", + "operationId": "getEntity@ApiTokens", "parameters": [ + { + "in": "path", + "name": "userId", + "required": true, + "schema": { + "type": "string" + } + }, { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "firstname==someString;lastname==someString", + "example": "bearerToken==someString", "in": "query", "name": "filter", "schema": { @@ -37460,55 +43835,46 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiApiTokenOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserIdentifierOutDocument" + "$ref": "#/components/schemas/JsonApiApiTokenOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get UserIdentifier entity", + "summary": "Get an API Token for a user", "tags": [ - "User Identifiers", - "entities", - "organization-model-controller" + "API tokens" ] } }, - "/api/v1/entities/users": { + "/api/v1/entities/users/{userId}/userSettings": { "get": { - "description": "User - represents entity interacting with platform", - "operationId": "getAllEntities@Users", + "operationId": "getAllEntities@UserSettings", "parameters": [ { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "authenticationId==someString;firstname==someString", - "in": "query", - "name": "filter", + "in": "path", + "name": "userId", + "required": true, "schema": { "type": "string" } }, { - "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": "userGroups", - "explode": false, + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "content==JsonNodeValue;type==SettingTypeValue", "in": "query", - "name": "include", - "required": false, + "name": "filter", "schema": { - "items": { - "enum": [ - "userGroups", - "ALL" - ], - "type": "string" - }, - "type": "array" - }, - "style": "form" + "type": "string" + } }, { "$ref": "#/components/parameters/page" @@ -37545,57 +43911,47 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserSettingOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserOutList" + "$ref": "#/components/schemas/JsonApiUserSettingOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get User entities", + "summary": "List all settings for a user", "tags": [ - "Users - Entity APIs", - "entities", - "organization-model-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to view this object type.", - "permissions": [ - "MANAGE" - ] - } + "User Settings" + ] }, "post": { - "description": "User - represents entity interacting with platform", - "operationId": "createEntity@Users", + "operationId": "createEntity@UserSettings", "parameters": [ { - "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": "userGroups", - "explode": false, - "in": "query", - "name": "include", - "required": false, + "in": "path", + "name": "userId", + "required": true, "schema": { - "items": { - "enum": [ - "userGroups", - "ALL" - ], - "type": "string" - }, - "type": "array" - }, - "style": "form" + "type": "string" + } } ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserSettingInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserInDocument" + "$ref": "#/components/schemas/JsonApiUserSettingInDocument" } } }, @@ -37604,40 +43960,44 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserOutDocument" + "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post User entities", + "summary": "Post new user settings for the user", "tags": [ - "Users - Entity APIs", - "entities", - "organization-model-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } + "User Settings" + ] } }, - "/api/v1/entities/users/{id}": { + "/api/v1/entities/users/{userId}/userSettings/{id}": { "delete": { - "description": "User - represents entity interacting with platform", - "operationId": "deleteEntity@Users", + "operationId": "deleteEntity@UserSettings", "parameters": [ + { + "in": "path", + "name": "userId", + "required": true, + "schema": { + "type": "string" + } + }, { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "authenticationId==someString;firstname==someString", + "example": "content==JsonNodeValue;type==SettingTypeValue", "in": "query", "name": "filter", "schema": { @@ -37650,121 +44010,91 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete User entity", + "summary": "Delete a setting for a user", "tags": [ - "Users - Entity APIs", - "entities", - "organization-model-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } + "User Settings" + ] }, "get": { - "description": "User - represents entity interacting with platform", - "operationId": "getEntity@Users", + "operationId": "getEntity@UserSettings", "parameters": [ + { + "in": "path", + "name": "userId", + "required": true, + "schema": { + "type": "string" + } + }, { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "authenticationId==someString;firstname==someString", + "example": "content==JsonNodeValue;type==SettingTypeValue", "in": "query", "name": "filter", "schema": { "type": "string" } - }, - { - "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": "userGroups", - "explode": false, - "in": "query", - "name": "include", - "required": false, - "schema": { - "items": { - "enum": [ - "userGroups", - "ALL" - ], - "type": "string" - }, - "type": "array" - }, - "style": "form" } ], "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserOutDocument" + "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get User entity", + "summary": "Get a setting for a user", "tags": [ - "Users - Entity APIs", - "entities", - "organization-model-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to view this object type.", - "permissions": [ - "MANAGE" - ] - } + "User Settings" + ] }, - "patch": { - "description": "User - represents entity interacting with platform", - "operationId": "patchEntity@Users", + "put": { + "operationId": "updateEntity@UserSettings", "parameters": [ + { + "in": "path", + "name": "userId", + "required": true, + "schema": { + "type": "string" + } + }, { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "authenticationId==someString;firstname==someString", + "example": "content==JsonNodeValue;type==SettingTypeValue", "in": "query", "name": "filter", "schema": { "type": "string" } - }, - { - "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": "userGroups", - "explode": false, - "in": "query", - "name": "include", - "required": false, - "schema": { - "items": { - "enum": [ - "userGroups", - "ALL" - ], - "type": "string" - }, - "type": "array" - }, - "style": "form" } ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserSettingInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserPatchDocument" + "$ref": "#/components/schemas/JsonApiUserSettingInDocument" } } }, @@ -37773,38 +44103,34 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserOutDocument" + "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch User entity", + "summary": "Put new user settings for the user", "tags": [ - "Users - Entity APIs", - "entities", - "organization-model-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } - }, - "put": { - "description": "User - represents entity interacting with platform", - "operationId": "updateEntity@Users", + "User Settings" + ] + } + }, + "/api/v1/entities/workspaces": { + "get": { + "description": "Space of the shared interest", + "operationId": "getAllEntities@Workspaces", "parameters": [ - { - "$ref": "#/components/parameters/idPathParameter" - }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "authenticationId==someString;firstname==someString", + "example": "name==someString;earlyAccess==someString;parent.id==321", "in": "query", "name": "filter", "schema": { @@ -37813,7 +44139,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": "userGroups", + "example": "parent", "explode": false, "in": "query", "name": "include", @@ -37821,7 +44147,8 @@ "schema": { "items": { "enum": [ - "userGroups", + "workspaces", + "parent", "ALL" ], "type": "string" @@ -37829,64 +44156,6 @@ "type": "array" }, "style": "form" - } - ], - "requestBody": { - "content": { - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiUserInDocument" - } - } - }, - "required": true - }, - "responses": { - "200": { - "content": { - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiUserOutDocument" - } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Put User entity", - "tags": [ - "Users - Entity APIs", - "entities", - "organization-model-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } - } - }, - "/api/v1/entities/users/{userId}/apiTokens": { - "get": { - "operationId": "getAllEntities@ApiTokens", - "parameters": [ - { - "in": "path", - "name": "userId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "bearerToken==someString", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } }, { "$ref": "#/components/parameters/page" @@ -37899,7 +44168,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=page,all", + "example": "metaInclude=permissions,config,hierarchy,dataModelDatasets,page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -37908,6 +44177,10 @@ "description": "Included meta objects", "items": { "enum": [ + "permissions", + "config", + "hierarchy", + "dataModelDatasets", "page", "all", "ALL" @@ -37923,39 +44196,91 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenOutList" + "$ref": "#/components/schemas/JsonApiWorkspaceOutList" } } }, "description": "Request successfully processed" } }, - "summary": "List all api tokens for a user", + "summary": "Get Workspace entities", "tags": [ - "API tokens", - "entities", - "user-model-controller" - ] + "Workspaces - Entity APIs" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } }, "post": { - "operationId": "createEntity@ApiTokens", + "description": "Space of the shared interest", + "operationId": "createEntity@Workspaces", "parameters": [ { - "in": "path", - "name": "userId", - "required": true, + "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": "parent", + "explode": false, + "in": "query", + "name": "include", + "required": false, "schema": { - "type": "string" - } + "items": { + "enum": [ + "workspaces", + "parent", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + }, + { + "description": "Include Meta objects.", + "example": "metaInclude=permissions,config,hierarchy,dataModelDatasets,all", + "explode": false, + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "description": "Included meta objects", + "items": { + "enum": [ + "permissions", + "config", + "hierarchy", + "dataModelDatasets", + "all", + "ALL" + ], + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "style": "form" } ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenInDocument" + "$ref": "#/components/schemas/JsonApiWorkspaceInDocument" } } }, @@ -37964,41 +44289,43 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenOutDocument" + "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post a new API token for the user", + "summary": "Post Workspace entities", "tags": [ - "API tokens", - "entities", - "user-model-controller" - ] + "Workspaces - Entity APIs" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } } }, - "/api/v1/entities/users/{userId}/apiTokens/{id}": { + "/api/v1/entities/workspaces/{id}": { "delete": { - "operationId": "deleteEntity@ApiTokens", + "description": "Space of the shared interest", + "operationId": "deleteEntity@Workspaces", "parameters": [ - { - "in": "path", - "name": "userId", - "required": true, - "schema": { - "type": "string" - } - }, { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "bearerToken==someString", + "example": "name==someString;earlyAccess==someString;parent.id==321", "in": "query", "name": "filter", "schema": { @@ -38011,72 +44338,27 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete an API Token for a user", + "summary": "Delete Workspace entity", "tags": [ - "API tokens", - "entities", - "user-model-controller" - ] + "Workspaces - Entity APIs" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } }, "get": { - "operationId": "getEntity@ApiTokens", + "description": "Space of the shared interest", + "operationId": "getEntity@Workspaces", "parameters": [ - { - "in": "path", - "name": "userId", - "required": true, - "schema": { - "type": "string" - } - }, { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "bearerToken==someString", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenOutDocument" - } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Get an API Token for a user", - "tags": [ - "API tokens", - "entities", - "user-model-controller" - ] - } - }, - "/api/v1/entities/users/{userId}/userSettings": { - "get": { - "operationId": "getAllEntities@UserSettings", - "parameters": [ - { - "in": "path", - "name": "userId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "content==JsonNodeValue;type==SettingTypeValue", + "example": "name==someString;earlyAccess==someString;parent.id==321", "in": "query", "name": "filter", "schema": { @@ -38084,17 +44366,28 @@ } }, { - "$ref": "#/components/parameters/page" - }, - { - "$ref": "#/components/parameters/size" - }, - { - "$ref": "#/components/parameters/sort" + "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": "parent", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "workspaces", + "parent", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" }, { "description": "Include Meta objects.", - "example": "metaInclude=page,all", + "example": "metaInclude=permissions,config,hierarchy,dataModelDatasets,all", "explode": false, "in": "query", "name": "metaInclude", @@ -38103,7 +44396,10 @@ "description": "Included meta objects", "items": { "enum": [ - "page", + "permissions", + "config", + "hierarchy", + "dataModelDatasets", "all", "ALL" ], @@ -38118,173 +44414,158 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingOutList" + "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "List all settings for a user", + "summary": "Get Workspace entity", "tags": [ - "User Settings", - "entities", - "user-model-controller" - ] + "Workspaces - Entity APIs" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } }, - "post": { - "operationId": "createEntity@UserSettings", + "patch": { + "description": "Space of the shared interest", + "operationId": "patchEntity@Workspaces", "parameters": [ { - "in": "path", - "name": "userId", - "required": true, + "$ref": "#/components/parameters/idPathParameter" + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "name==someString;earlyAccess==someString;parent.id==321", + "in": "query", + "name": "filter", "schema": { "type": "string" } + }, + { + "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": "parent", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "workspaces", + "parent", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" } ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspacePatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingInDocument" + "$ref": "#/components/schemas/JsonApiWorkspacePatchDocument" } } }, "required": true }, "responses": { - "201": { + "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" + "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post new user settings for the user", + "summary": "Patch Workspace entity", "tags": [ - "User Settings", - "entities", - "user-model-controller" - ] - } - }, - "/api/v1/entities/users/{userId}/userSettings/{id}": { - "delete": { - "operationId": "deleteEntity@UserSettings", - "parameters": [ - { - "in": "path", - "name": "userId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/idPathParameter" - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "content==JsonNodeValue;type==SettingTypeValue", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } - } + "Workspaces - Entity APIs" ], - "responses": { - "204": { - "$ref": "#/components/responses/Deleted" - } - }, - "summary": "Delete a setting for a user", - "tags": [ - "User Settings", - "entities", - "user-model-controller" - ] + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } }, - "get": { - "operationId": "getEntity@UserSettings", + "put": { + "description": "Space of the shared interest", + "operationId": "updateEntity@Workspaces", "parameters": [ - { - "in": "path", - "name": "userId", - "required": true, - "schema": { - "type": "string" - } - }, { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "content==JsonNodeValue;type==SettingTypeValue", + "example": "name==someString;earlyAccess==someString;parent.id==321", "in": "query", "name": "filter", "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "content": { - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" - } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Get a setting for a user", - "tags": [ - "User Settings", - "entities", - "user-model-controller" - ] - }, - "put": { - "operationId": "updateEntity@UserSettings", - "parameters": [ - { - "in": "path", - "name": "userId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/idPathParameter" }, { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "content==JsonNodeValue;type==SettingTypeValue", + "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": "parent", + "explode": false, "in": "query", - "name": "filter", + "name": "include", + "required": false, "schema": { - "type": "string" - } + "items": { + "enum": [ + "workspaces", + "parent", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" } ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingInDocument" + "$ref": "#/components/schemas/JsonApiWorkspaceInDocument" } } }, @@ -38293,31 +44574,62 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" + "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put new user settings for the user", + "summary": "Put Workspace entity", "tags": [ - "User Settings", - "entities", - "user-model-controller" - ] + "Workspaces - Entity APIs" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } } }, - "/api/v1/entities/workspaces": { + "/api/v1/entities/workspaces/{workspaceId}/aggregatedFacts": { "get": { - "description": "Space of the shared interest", - "operationId": "getAllEntities@Workspaces", + "operationId": "getAllEntities@AggregatedFacts", "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "origin", + "required": false, + "schema": { + "default": "ALL", + "description": "Defines scope of origin of objects. All by default.", + "enum": [ + "ALL", + "PARENTS", + "NATIVE" + ], + "type": "string" + } + }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString;earlyAccess==someString;parent.id==321", + "example": "description==someString;tags==v1,v2,v3;dataset.id==321;sourceFact.id==321", "in": "query", "name": "filter", "schema": { @@ -38326,7 +44638,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": "parent", + "example": "dataset,sourceFact", "explode": false, "in": "query", "name": "include", @@ -38334,8 +44646,10 @@ "schema": { "items": { "enum": [ - "workspaces", - "parent", + "datasets", + "facts", + "dataset", + "sourceFact", "ALL" ], "type": "string" @@ -38353,9 +44667,18 @@ { "$ref": "#/components/parameters/sort" }, + { + "in": "header", + "name": "X-GDC-VALIDATE-RELATIONS", + "required": false, + "schema": { + "default": false, + "type": "boolean" + } + }, { "description": "Include Meta objects.", - "example": "metaInclude=config,permissions,hierarchy,dataModelDatasets,page,all", + "example": "metaInclude=origin,page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -38364,10 +44687,7 @@ "description": "Included meta objects", "items": { "enum": [ - "config", - "permissions", - "hierarchy", - "dataModelDatasets", + "origin", "page", "all", "ALL" @@ -38383,35 +44703,128 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAggregatedFactOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceOutList" + "$ref": "#/components/schemas/JsonApiAggregatedFactOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get Workspace entities", "tags": [ - "Workspaces - Entity APIs", - "entities", - "organization-model-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to view this object type.", - "permissions": [ - "VIEW" - ] - } - }, + "Facts" + ] + } + }, + "/api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/search": { "post": { - "description": "Space of the shared interest", - "operationId": "createEntity@Workspaces", + "operationId": "searchEntities@AggregatedFacts", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "origin", + "required": false, + "schema": { + "default": "ALL", + "description": "Defines scope of origin of objects. All by default.", + "enum": [ + "ALL", + "PARENTS", + "NATIVE" + ], + "type": "string" + } + }, + { + "in": "header", + "name": "X-GDC-VALIDATE-RELATIONS", + "required": false, + "schema": { + "default": false, + "type": "boolean" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntitySearchBody" + } + } + }, + "description": "Search request body with filter, pagination, and sorting options", + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAggregatedFactOutList" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAggregatedFactOutList" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Search request for AggregatedFact", + "tags": [ + "Facts" + ] + } + }, + "/api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/{objectId}": { + "get": { + "operationId": "getEntity@AggregatedFacts", "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "objectId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "description==someString;tags==v1,v2,v3;dataset.id==321;sourceFact.id==321", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + }, { "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": "parent", + "example": "dataset,sourceFact", "explode": false, "in": "query", "name": "include", @@ -38419,8 +44832,10 @@ "schema": { "items": { "enum": [ - "workspaces", - "parent", + "datasets", + "facts", + "dataset", + "sourceFact", "ALL" ], "type": "string" @@ -38429,9 +44844,18 @@ }, "style": "form" }, + { + "in": "header", + "name": "X-GDC-VALIDATE-RELATIONS", + "required": false, + "schema": { + "default": false, + "type": "boolean" + } + }, { "description": "Include Meta objects.", - "example": "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", + "example": "metaInclude=origin,all", "explode": false, "in": "query", "name": "metaInclude", @@ -38440,10 +44864,7 @@ "description": "Included meta objects", "items": { "enum": [ - "config", - "permissions", - "hierarchy", - "dataModelDatasets", + "origin", "all", "ALL" ], @@ -38455,88 +44876,58 @@ "style": "form" } ], - "requestBody": { - "content": { - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceInDocument" - } - } - }, - "required": true - }, "responses": { - "201": { + "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAggregatedFactOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" + "$ref": "#/components/schemas/JsonApiAggregatedFactOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post Workspace entities", "tags": [ - "Workspaces - Entity APIs", - "entities", - "organization-model-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } + "Facts" + ] } }, - "/api/v1/entities/workspaces/{id}": { - "delete": { - "description": "Space of the shared interest", - "operationId": "deleteEntity@Workspaces", + "/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards": { + "get": { + "operationId": "getAllEntities@AnalyticalDashboards", "parameters": [ { - "$ref": "#/components/parameters/idPathParameter" + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } }, { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString;earlyAccess==someString;parent.id==321", "in": "query", - "name": "filter", + "name": "origin", + "required": false, "schema": { + "default": "ALL", + "description": "Defines scope of origin of objects. All by default.", + "enum": [ + "ALL", + "PARENTS", + "NATIVE" + ], "type": "string" } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/Deleted" - } - }, - "summary": "Delete Workspace entity", - "tags": [ - "Workspaces - Entity APIs", - "entities", - "organization-model-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } - }, - "get": { - "description": "Space of the shared interest", - "operationId": "getEntity@Workspaces", - "parameters": [ - { - "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString;earlyAccess==someString;parent.id==321", + "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { @@ -38545,7 +44936,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": "parent", + "example": "createdBy,modifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", "explode": false, "in": "query", "name": "include", @@ -38553,8 +44944,16 @@ "schema": { "items": { "enum": [ - "workspaces", - "parent", + "userIdentifiers", + "visualizationObjects", + "analyticalDashboards", + "labels", + "metrics", + "datasets", + "filterContexts", + "dashboardPlugins", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -38563,9 +44962,27 @@ }, "style": "form" }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/size" + }, + { + "$ref": "#/components/parameters/sort" + }, + { + "in": "header", + "name": "X-GDC-VALIDATE-RELATIONS", + "required": false, + "schema": { + "default": false, + "type": "boolean" + } + }, { "description": "Include Meta objects.", - "example": "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", + "example": "metaInclude=permissions,origin,accessInfo,page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -38574,10 +44991,10 @@ "description": "Included meta objects", "items": { "enum": [ - "config", "permissions", - "hierarchy", - "dataModelDatasets", + "origin", + "accessInfo", + "page", "all", "ALL" ], @@ -38592,20 +45009,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get Workspace entity", + "summary": "Get all Dashboards", "tags": [ - "Workspaces - Entity APIs", - "entities", - "organization-model-controller" + "Dashboards" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -38614,25 +45034,20 @@ ] } }, - "patch": { - "description": "Space of the shared interest", - "operationId": "patchEntity@Workspaces", + "post": { + "operationId": "createEntity@AnalyticalDashboards", "parameters": [ { - "$ref": "#/components/parameters/idPathParameter" - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString;earlyAccess==someString;parent.id==321", - "in": "query", - "name": "filter", + "in": "path", + "name": "workspaceId", + "required": true, "schema": { "type": "string" } }, { "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": "parent", + "example": "createdBy,modifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", "explode": false, "in": "query", "name": "include", @@ -38640,8 +45055,16 @@ "schema": { "items": { "enum": [ - "workspaces", - "parent", + "userIdentifiers", + "visualizationObjects", + "analyticalDashboards", + "labels", + "metrics", + "datasets", + "filterContexts", + "dashboardPlugins", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -38649,119 +45072,156 @@ "type": "array" }, "style": "form" + }, + { + "description": "Include Meta objects.", + "example": "metaInclude=permissions,origin,accessInfo,all", + "explode": false, + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "description": "Included meta objects", + "items": { + "enum": [ + "permissions", + "origin", + "accessInfo", + "all", + "ALL" + ], + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "style": "form" } ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardPostOptionalIdDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiWorkspacePatchDocument" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardPostOptionalIdDocument" } } }, "required": true }, "responses": { - "200": { + "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch Workspace entity", + "summary": "Post Dashboards", "tags": [ - "Workspaces - Entity APIs", - "entities", - "organization-model-controller" + "Dashboards" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "MANAGE" + "ANALYZE" ] } - }, - "put": { - "description": "Space of the shared interest", - "operationId": "updateEntity@Workspaces", + } + }, + "/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/search": { + "post": { + "operationId": "searchEntities@AnalyticalDashboards", "parameters": [ { - "$ref": "#/components/parameters/idPathParameter" + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } }, { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString;earlyAccess==someString;parent.id==321", "in": "query", - "name": "filter", + "name": "origin", + "required": false, "schema": { + "default": "ALL", + "description": "Defines scope of origin of objects. All by default.", + "enum": [ + "ALL", + "PARENTS", + "NATIVE" + ], "type": "string" } }, { - "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": "parent", - "explode": false, - "in": "query", - "name": "include", + "in": "header", + "name": "X-GDC-VALIDATE-RELATIONS", "required": false, "schema": { - "items": { - "enum": [ - "workspaces", - "parent", - "ALL" - ], - "type": "string" - }, - "type": "array" - }, - "style": "form" + "default": false, + "type": "boolean" + } } ], "requestBody": { "content": { - "application/vnd.gooddata.api+json": { + "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceInDocument" + "$ref": "#/components/schemas/EntitySearchBody" } } }, + "description": "Search request body with filter, pagination, and sorting options", "required": true }, "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Put Workspace entity", + "summary": "Search request for AnalyticalDashboard", "tags": [ - "Workspaces - Entity APIs", - "entities", - "organization-model-controller" + "Dashboards" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", + "description": "Contains minimal permission level required to view this object type.", "permissions": [ - "MANAGE" + "VIEW" ] } } }, - "/api/v1/entities/workspaces/{workspaceId}/aggregatedFacts": { - "get": { - "operationId": "getAllEntities@AggregatedFacts", + "/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId}": { + "delete": { + "operationId": "deleteEntity@AnalyticalDashboards", "parameters": [ { "in": "path", @@ -38772,23 +45232,61 @@ } }, { + "in": "path", + "name": "objectId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", - "name": "origin", - "required": false, + "name": "filter", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete a Dashboard", + "tags": [ + "Dashboards" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "ANALYZE" + ] + } + }, + "get": { + "operationId": "getEntity@AnalyticalDashboards", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "objectId", + "required": true, "schema": { - "default": "ALL", - "description": "Defines scope of origin of objects. All by default.", - "enum": [ - "ALL", - "PARENTS", - "NATIVE" - ], "type": "string" } }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "description==someString;tags==v1,v2,v3;dataset.id==321;sourceFact.id==321", + "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { @@ -38797,7 +45295,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": "dataset,sourceFact", + "example": "createdBy,modifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", "explode": false, "in": "query", "name": "include", @@ -38805,10 +45303,16 @@ "schema": { "items": { "enum": [ + "userIdentifiers", + "visualizationObjects", + "analyticalDashboards", + "labels", + "metrics", "datasets", - "facts", - "dataset", - "sourceFact", + "filterContexts", + "dashboardPlugins", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -38817,15 +45321,6 @@ }, "style": "form" }, - { - "$ref": "#/components/parameters/page" - }, - { - "$ref": "#/components/parameters/size" - }, - { - "$ref": "#/components/parameters/sort" - }, { "in": "header", "name": "X-GDC-VALIDATE-RELATIONS", @@ -38837,7 +45332,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=origin,page,all", + "example": "metaInclude=permissions,origin,accessInfo,all", "explode": false, "in": "query", "name": "metaInclude", @@ -38846,8 +45341,9 @@ "description": "Included meta objects", "items": { "enum": [ + "permissions", "origin", - "page", + "accessInfo", "all", "ALL" ], @@ -38862,24 +45358,33 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAggregatedFactOutList" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" } } }, "description": "Request successfully processed" } }, + "summary": "Get a Dashboard", "tags": [ - "entities", - "workspace-object-controller" - ] - } - }, - "/api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/search": { - "post": { - "operationId": "searchEntities@AggregatedFacts", + "Dashboards" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } + }, + "patch": { + "operationId": "patchEntity@AnalyticalDashboards", "parameters": [ { "in": "path", @@ -38890,63 +45395,96 @@ } }, { + "in": "path", + "name": "objectId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", - "name": "origin", - "required": false, + "name": "filter", "schema": { - "default": "ALL", - "description": "Defines scope of origin of objects. All by default.", - "enum": [ - "ALL", - "PARENTS", - "NATIVE" - ], "type": "string" } }, { - "in": "header", - "name": "X-GDC-VALIDATE-RELATIONS", + "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,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "explode": false, + "in": "query", + "name": "include", "required": false, "schema": { - "default": false, - "type": "boolean" - } + "items": { + "enum": [ + "userIdentifiers", + "visualizationObjects", + "analyticalDashboards", + "labels", + "metrics", + "datasets", + "filterContexts", + "dashboardPlugins", + "createdBy", + "modifiedBy", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/EntitySearchBody" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardPatchDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardPatchDocument" } } }, - "description": "Search request body with filter, pagination, and sorting options", "required": true }, "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAggregatedFactOutList" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Search request for AggregatedFact", + "summary": "Patch a Dashboard", "tags": [ - "entities", - "workspace-object-controller" - ] - } - }, - "/api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/{objectId}": { - "get": { - "operationId": "getEntity@AggregatedFacts", + "Dashboards" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "ANALYZE" + ] + } + }, + "put": { + "operationId": "updateEntity@AnalyticalDashboards", "parameters": [ { "in": "path", @@ -38966,7 +45504,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "description==someString;tags==v1,v2,v3;dataset.id==321;sourceFact.id==321", + "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { @@ -38975,7 +45513,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": "dataset,sourceFact", + "example": "createdBy,modifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", "explode": false, "in": "query", "name": "include", @@ -38983,10 +45521,16 @@ "schema": { "items": { "enum": [ + "userIdentifiers", + "visualizationObjects", + "analyticalDashboards", + "labels", + "metrics", "datasets", - "facts", - "dataset", - "sourceFact", + "filterContexts", + "dashboardPlugins", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -38994,60 +45538,55 @@ "type": "array" }, "style": "form" - }, - { - "in": "header", - "name": "X-GDC-VALIDATE-RELATIONS", - "required": false, - "schema": { - "default": false, - "type": "boolean" - } - }, - { - "description": "Include Meta objects.", - "example": "metaInclude=origin,all", - "explode": false, - "in": "query", - "name": "metaInclude", - "required": false, - "schema": { - "description": "Included meta objects", - "items": { - "enum": [ - "origin", - "all", - "ALL" - ], - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "style": "form" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardInDocument" + } + } + }, + "required": true + }, "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAggregatedFactOutDocument" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" } } }, "description": "Request successfully processed" } }, + "summary": "Put Dashboards", "tags": [ - "entities", - "workspace-object-controller" - ] + "Dashboards" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "ANALYZE" + ] + } } }, - "/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards": { + "/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies": { "get": { - "operationId": "getAllEntities@AnalyticalDashboards", + "operationId": "getAllEntities@AttributeHierarchies", "parameters": [ { "in": "path", @@ -39083,7 +45622,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,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "example": "createdBy,modifiedBy,attributes", "explode": false, "in": "query", "name": "include", @@ -39092,13 +45631,7 @@ "items": { "enum": [ "userIdentifiers", - "visualizationObjects", - "analyticalDashboards", - "labels", - "metrics", - "datasets", - "filterContexts", - "dashboardPlugins", + "attributes", "createdBy", "modifiedBy", "ALL" @@ -39129,7 +45662,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=permissions,origin,accessInfo,page,all", + "example": "metaInclude=origin,page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -39138,9 +45671,7 @@ "description": "Included meta objects", "items": { "enum": [ - "permissions", "origin", - "accessInfo", "page", "all", "ALL" @@ -39156,20 +45687,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutList" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Dashboards", + "summary": "Get all Attribute Hierarchies", "tags": [ - "Dashboards", - "entities", - "workspace-object-controller" + "Attribute Hierarchies" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -39179,7 +45713,7 @@ } }, "post": { - "operationId": "createEntity@AnalyticalDashboards", + "operationId": "createEntity@AttributeHierarchies", "parameters": [ { "in": "path", @@ -39191,7 +45725,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,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "example": "createdBy,modifiedBy,attributes", "explode": false, "in": "query", "name": "include", @@ -39200,13 +45734,7 @@ "items": { "enum": [ "userIdentifiers", - "visualizationObjects", - "analyticalDashboards", - "labels", - "metrics", - "datasets", - "filterContexts", - "dashboardPlugins", + "attributes", "createdBy", "modifiedBy", "ALL" @@ -39219,7 +45747,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=permissions,origin,accessInfo,all", + "example": "metaInclude=origin,all", "explode": false, "in": "query", "name": "metaInclude", @@ -39228,9 +45756,7 @@ "description": "Included meta objects", "items": { "enum": [ - "permissions", "origin", - "accessInfo", "all", "ALL" ], @@ -39244,9 +45770,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" } } }, @@ -39255,20 +45786,23 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post Dashboards", + "summary": "Post Attribute Hierarchies", "tags": [ - "Dashboards", - "entities", - "workspace-object-controller" + "Attribute Hierarchies" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -39278,9 +45812,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/search": { + "/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/search": { "post": { - "operationId": "searchEntities@AnalyticalDashboards", + "operationId": "searchEntities@AttributeHierarchies", "parameters": [ { "in": "path", @@ -39329,19 +45863,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutList" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Search request for AnalyticalDashboard", + "summary": "Search request for AttributeHierarchy", "tags": [ - "entities", - "workspace-object-controller" + "Attribute Hierarchies" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -39351,9 +45889,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId}": { + "/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId}": { "delete": { - "operationId": "deleteEntity@AnalyticalDashboards", + "operationId": "deleteEntity@AttributeHierarchies", "parameters": [ { "in": "path", @@ -39386,11 +45924,9 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete a Dashboard", + "summary": "Delete an Attribute Hierarchy", "tags": [ - "Dashboards", - "entities", - "workspace-object-controller" + "Attribute Hierarchies" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -39400,7 +45936,7 @@ } }, "get": { - "operationId": "getEntity@AnalyticalDashboards", + "operationId": "getEntity@AttributeHierarchies", "parameters": [ { "in": "path", @@ -39429,7 +45965,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,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "example": "createdBy,modifiedBy,attributes", "explode": false, "in": "query", "name": "include", @@ -39438,13 +45974,7 @@ "items": { "enum": [ "userIdentifiers", - "visualizationObjects", - "analyticalDashboards", - "labels", - "metrics", - "datasets", - "filterContexts", - "dashboardPlugins", + "attributes", "createdBy", "modifiedBy", "ALL" @@ -39466,7 +45996,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=permissions,origin,accessInfo,all", + "example": "metaInclude=origin,all", "explode": false, "in": "query", "name": "metaInclude", @@ -39475,9 +46005,7 @@ "description": "Included meta objects", "items": { "enum": [ - "permissions", "origin", - "accessInfo", "all", "ALL" ], @@ -39492,20 +46020,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get a Dashboard", + "summary": "Get an Attribute Hierarchy", "tags": [ - "Dashboards", - "entities", - "workspace-object-controller" + "Attribute Hierarchies" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -39515,7 +46046,7 @@ } }, "patch": { - "operationId": "patchEntity@AnalyticalDashboards", + "operationId": "patchEntity@AttributeHierarchies", "parameters": [ { "in": "path", @@ -39544,7 +46075,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,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "example": "createdBy,modifiedBy,attributes", "explode": false, "in": "query", "name": "include", @@ -39553,13 +46084,7 @@ "items": { "enum": [ "userIdentifiers", - "visualizationObjects", - "analyticalDashboards", - "labels", - "metrics", - "datasets", - "filterContexts", - "dashboardPlugins", + "attributes", "createdBy", "modifiedBy", "ALL" @@ -39573,9 +46098,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAttributeHierarchyPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardPatchDocument" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyPatchDocument" } } }, @@ -39584,20 +46114,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch a Dashboard", + "summary": "Patch an Attribute Hierarchy", "tags": [ - "Dashboards", - "entities", - "workspace-object-controller" + "Attribute Hierarchies" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -39607,7 +46140,7 @@ } }, "put": { - "operationId": "updateEntity@AnalyticalDashboards", + "operationId": "updateEntity@AttributeHierarchies", "parameters": [ { "in": "path", @@ -39636,7 +46169,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,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "example": "createdBy,modifiedBy,attributes", "explode": false, "in": "query", "name": "include", @@ -39645,13 +46178,7 @@ "items": { "enum": [ "userIdentifiers", - "visualizationObjects", - "analyticalDashboards", - "labels", - "metrics", - "datasets", - "filterContexts", - "dashboardPlugins", + "attributes", "createdBy", "modifiedBy", "ALL" @@ -39665,9 +46192,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardInDocument" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" } } }, @@ -39676,20 +46208,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put Dashboards", + "summary": "Put an Attribute Hierarchy", "tags": [ - "Dashboards", - "entities", - "workspace-object-controller" + "Attribute Hierarchies" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -39699,9 +46234,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies": { + "/api/v1/entities/workspaces/{workspaceId}/attributes": { "get": { - "operationId": "getAllEntities@AttributeHierarchies", + "operationId": "getAllEntities@Attributes", "parameters": [ { "in": "path", @@ -39728,7 +46263,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", + "example": "title==someString;description==someString;dataset.id==321;defaultView.id==321", "in": "query", "name": "filter", "schema": { @@ -39737,7 +46272,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,attributes", + "example": "dataset,defaultView,labels,attributeHierarchies", "explode": false, "in": "query", "name": "include", @@ -39745,10 +46280,11 @@ "schema": { "items": { "enum": [ - "userIdentifiers", - "attributes", - "createdBy", - "modifiedBy", + "datasets", + "labels", + "attributeHierarchies", + "dataset", + "defaultView", "ALL" ], "type": "string" @@ -39802,123 +46338,29 @@ "responses": { "200": { "content": { - "application/vnd.gooddata.api+json": { + "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutList" + "$ref": "#/components/schemas/JsonApiAttributeOutList" } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Get all Attribute Hierarchies", - "tags": [ - "Attribute Hierarchies", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to view this object type.", - "permissions": [ - "VIEW" - ] - } - }, - "post": { - "operationId": "createEntity@AttributeHierarchies", - "parameters": [ - { - "in": "path", - "name": "workspaceId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "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,attributes", - "explode": false, - "in": "query", - "name": "include", - "required": false, - "schema": { - "items": { - "enum": [ - "userIdentifiers", - "attributes", - "createdBy", - "modifiedBy", - "ALL" - ], - "type": "string" }, - "type": "array" - }, - "style": "form" - }, - { - "description": "Include Meta objects.", - "example": "metaInclude=origin,all", - "explode": false, - "in": "query", - "name": "metaInclude", - "required": false, - "schema": { - "description": "Included meta objects", - "items": { - "enum": [ - "origin", - "all", - "ALL" - ], - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" - } - } - }, - "required": true - }, - "responses": { - "201": { - "content": { "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" + "$ref": "#/components/schemas/JsonApiAttributeOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Post Attribute Hierarchies", + "summary": "Get all Attributes", "tags": [ - "Attribute Hierarchies", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "ANALYZE" - ] - } + "Attributes" + ] } }, - "/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/search": { + "/api/v1/entities/workspaces/{workspaceId}/attributes/search": { "post": { - "operationId": "searchEntities@AttributeHierarchies", + "operationId": "searchEntities@Attributes", "parameters": [ { "in": "path", @@ -39967,78 +46409,29 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAttributeOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutList" + "$ref": "#/components/schemas/JsonApiAttributeOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Search request for AttributeHierarchy", + "summary": "Search request for Attribute", "tags": [ - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to view this object type.", - "permissions": [ - "VIEW" - ] - } + "Attributes" + ] } }, - "/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId}": { - "delete": { - "operationId": "deleteEntity@AttributeHierarchies", - "parameters": [ - { - "in": "path", - "name": "workspaceId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "in": "path", - "name": "objectId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/Deleted" - } - }, - "summary": "Delete an Attribute Hierarchy", - "tags": [ - "Attribute Hierarchies", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "ANALYZE" - ] - } - }, + "/api/v1/entities/workspaces/{workspaceId}/attributes/{objectId}": { "get": { - "operationId": "getEntity@AttributeHierarchies", + "operationId": "getEntity@Attributes", "parameters": [ { "in": "path", @@ -40058,7 +46451,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", + "example": "title==someString;description==someString;dataset.id==321;defaultView.id==321", "in": "query", "name": "filter", "schema": { @@ -40067,7 +46460,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,attributes", + "example": "dataset,defaultView,labels,attributeHierarchies", "explode": false, "in": "query", "name": "include", @@ -40075,10 +46468,11 @@ "schema": { "items": { "enum": [ - "userIdentifiers", - "attributes", - "createdBy", - "modifiedBy", + "datasets", + "labels", + "attributeHierarchies", + "dataset", + "defaultView", "ALL" ], "type": "string" @@ -40122,30 +46516,27 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAttributeOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" + "$ref": "#/components/schemas/JsonApiAttributeOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get an Attribute Hierarchy", + "summary": "Get an Attribute", "tags": [ - "Attribute Hierarchies", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to view this object type.", - "permissions": [ - "VIEW" - ] - } + "Attributes" + ] }, "patch": { - "operationId": "patchEntity@AttributeHierarchies", + "operationId": "patchEntity@Attributes", "parameters": [ { "in": "path", @@ -40165,7 +46556,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", + "example": "title==someString;description==someString;dataset.id==321;defaultView.id==321", "in": "query", "name": "filter", "schema": { @@ -40174,7 +46565,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,attributes", + "example": "dataset,defaultView,labels,attributeHierarchies", "explode": false, "in": "query", "name": "include", @@ -40182,10 +46573,11 @@ "schema": { "items": { "enum": [ - "userIdentifiers", - "attributes", - "createdBy", - "modifiedBy", + "datasets", + "labels", + "attributeHierarchies", + "dataset", + "defaultView", "ALL" ], "type": "string" @@ -40197,9 +46589,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAttributePatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyPatchDocument" + "$ref": "#/components/schemas/JsonApiAttributePatchDocument" } } }, @@ -40208,30 +46605,29 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAttributeOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" + "$ref": "#/components/schemas/JsonApiAttributeOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch an Attribute Hierarchy", + "summary": "Patch an Attribute (beta)", "tags": [ - "Attribute Hierarchies", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "ANALYZE" - ] - } - }, - "put": { - "operationId": "updateEntity@AttributeHierarchies", + "Attributes" + ] + } + }, + "/api/v1/entities/workspaces/{workspaceId}/automationResults/search": { + "post": { + "operationId": "searchEntities@AutomationResults", "parameters": [ { "in": "path", @@ -40242,84 +46638,67 @@ } }, { - "in": "path", - "name": "objectId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", - "name": "filter", + "name": "origin", + "required": false, "schema": { + "default": "ALL", + "description": "Defines scope of origin of objects. All by default.", + "enum": [ + "ALL", + "PARENTS", + "NATIVE" + ], "type": "string" } }, { - "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,attributes", - "explode": false, - "in": "query", - "name": "include", + "in": "header", + "name": "X-GDC-VALIDATE-RELATIONS", "required": false, "schema": { - "items": { - "enum": [ - "userIdentifiers", - "attributes", - "createdBy", - "modifiedBy", - "ALL" - ], - "type": "string" - }, - "type": "array" - }, - "style": "form" + "default": false, + "type": "boolean" + } } ], "requestBody": { "content": { - "application/vnd.gooddata.api+json": { + "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" + "$ref": "#/components/schemas/EntitySearchBody" } } }, + "description": "Search request body with filter, pagination, and sorting options", "required": true }, "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAutomationResultOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" + "$ref": "#/components/schemas/JsonApiAutomationResultOutList" } } }, "description": "Request successfully processed" } - }, - "summary": "Put an Attribute Hierarchy", - "tags": [ - "Attribute Hierarchies", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "ANALYZE" - ] - } + }, + "summary": "Search request for AutomationResult", + "tags": [ + "Automations" + ] } }, - "/api/v1/entities/workspaces/{workspaceId}/attributes": { + "/api/v1/entities/workspaces/{workspaceId}/automations": { "get": { - "operationId": "getAllEntities@Attributes", + "operationId": "getAllEntities@Automations", "parameters": [ { "in": "path", @@ -40346,7 +46725,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;dataset.id==321;defaultView.id==321", + "example": "title==someString;description==someString;notificationChannel.id==321;analyticalDashboard.id==321", "in": "query", "name": "filter", "schema": { @@ -40355,7 +46734,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": "dataset,defaultView,labels,attributeHierarchies", + "example": "notificationChannel,analyticalDashboard,createdBy,modifiedBy,exportDefinitions,recipients,automationResults", "explode": false, "in": "query", "name": "include", @@ -40363,11 +46742,17 @@ "schema": { "items": { "enum": [ - "datasets", - "labels", - "attributeHierarchies", - "dataset", - "defaultView", + "notificationChannels", + "analyticalDashboards", + "userIdentifiers", + "exportDefinitions", + "users", + "automationResults", + "notificationChannel", + "analyticalDashboard", + "createdBy", + "modifiedBy", + "recipients", "ALL" ], "type": "string" @@ -40421,26 +46806,141 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAutomationOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeOutList" + "$ref": "#/components/schemas/JsonApiAutomationOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Attributes", + "summary": "Get all Automations", "tags": [ - "Attributes", - "entities", - "workspace-object-controller" - ] + "Automations" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } + }, + "post": { + "operationId": "createEntity@Automations", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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": "notificationChannel,analyticalDashboard,createdBy,modifiedBy,exportDefinitions,recipients,automationResults", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "notificationChannels", + "analyticalDashboards", + "userIdentifiers", + "exportDefinitions", + "users", + "automationResults", + "notificationChannel", + "analyticalDashboard", + "createdBy", + "modifiedBy", + "recipients", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + }, + { + "description": "Include Meta objects.", + "example": "metaInclude=origin,all", + "explode": false, + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "description": "Included meta objects", + "items": { + "enum": [ + "origin", + "all", + "ALL" + ], + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAutomationInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAutomationInDocument" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAutomationOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAutomationOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Post Automations", + "tags": [ + "Automations" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "CREATE_AUTOMATION" + ] + } } }, - "/api/v1/entities/workspaces/{workspaceId}/attributes/search": { + "/api/v1/entities/workspaces/{workspaceId}/automations/search": { "post": { - "operationId": "searchEntities@Attributes", + "operationId": "searchEntities@Automations", "parameters": [ { "in": "path", @@ -40489,25 +46989,80 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAutomationOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeOutList" + "$ref": "#/components/schemas/JsonApiAutomationOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Search request for Attribute", + "summary": "Search request for Automation", "tags": [ - "entities", - "workspace-object-controller" - ] + "Automations" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } } }, - "/api/v1/entities/workspaces/{workspaceId}/attributes/{objectId}": { + "/api/v1/entities/workspaces/{workspaceId}/automations/{objectId}": { + "delete": { + "operationId": "deleteEntity@Automations", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "objectId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "title==someString;description==someString;notificationChannel.id==321;analyticalDashboard.id==321", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete an Automation", + "tags": [ + "Automations" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "CREATE_AUTOMATION" + ] + } + }, "get": { - "operationId": "getEntity@Attributes", + "operationId": "getEntity@Automations", "parameters": [ { "in": "path", @@ -40527,7 +47082,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;dataset.id==321;defaultView.id==321", + "example": "title==someString;description==someString;notificationChannel.id==321;analyticalDashboard.id==321", "in": "query", "name": "filter", "schema": { @@ -40536,7 +47091,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": "dataset,defaultView,labels,attributeHierarchies", + "example": "notificationChannel,analyticalDashboard,createdBy,modifiedBy,exportDefinitions,recipients,automationResults", "explode": false, "in": "query", "name": "include", @@ -40544,11 +47099,17 @@ "schema": { "items": { "enum": [ - "datasets", - "labels", - "attributeHierarchies", - "dataset", - "defaultView", + "notificationChannels", + "analyticalDashboards", + "userIdentifiers", + "exportDefinitions", + "users", + "automationResults", + "notificationChannel", + "analyticalDashboard", + "createdBy", + "modifiedBy", + "recipients", "ALL" ], "type": "string" @@ -40592,24 +47153,33 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAutomationOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeOutDocument" + "$ref": "#/components/schemas/JsonApiAutomationOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get an Attribute", + "summary": "Get an Automation", "tags": [ - "Attributes", - "entities", - "workspace-object-controller" - ] + "Automations" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } }, "patch": { - "operationId": "patchEntity@Attributes", + "operationId": "patchEntity@Automations", "parameters": [ { "in": "path", @@ -40629,7 +47199,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;dataset.id==321;defaultView.id==321", + "example": "title==someString;description==someString;notificationChannel.id==321;analyticalDashboard.id==321", "in": "query", "name": "filter", "schema": { @@ -40638,7 +47208,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": "dataset,defaultView,labels,attributeHierarchies", + "example": "notificationChannel,analyticalDashboard,createdBy,modifiedBy,exportDefinitions,recipients,automationResults", "explode": false, "in": "query", "name": "include", @@ -40646,11 +47216,17 @@ "schema": { "items": { "enum": [ - "datasets", - "labels", - "attributeHierarchies", - "dataset", - "defaultView", + "notificationChannels", + "analyticalDashboards", + "userIdentifiers", + "exportDefinitions", + "users", + "automationResults", + "notificationChannel", + "analyticalDashboard", + "createdBy", + "modifiedBy", + "recipients", "ALL" ], "type": "string" @@ -40662,9 +47238,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAutomationPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributePatchDocument" + "$ref": "#/components/schemas/JsonApiAutomationPatchDocument" } } }, @@ -40673,26 +47254,33 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAutomationOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeOutDocument" + "$ref": "#/components/schemas/JsonApiAutomationOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch an Attribute (beta)", + "summary": "Patch an Automation", "tags": [ - "Attributes", - "entities", - "workspace-object-controller" - ] - } - }, - "/api/v1/entities/workspaces/{workspaceId}/automationResults/search": { - "post": { - "operationId": "searchEntities@AutomationResults", + "Automations" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "CREATE_AUTOMATION" + ] + } + }, + "put": { + "operationId": "updateEntity@Automations", "parameters": [ { "in": "path", @@ -40703,63 +47291,99 @@ } }, { + "in": "path", + "name": "objectId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "title==someString;description==someString;notificationChannel.id==321;analyticalDashboard.id==321", "in": "query", - "name": "origin", - "required": false, + "name": "filter", "schema": { - "default": "ALL", - "description": "Defines scope of origin of objects. All by default.", - "enum": [ - "ALL", - "PARENTS", - "NATIVE" - ], "type": "string" } }, { - "in": "header", - "name": "X-GDC-VALIDATE-RELATIONS", + "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": "notificationChannel,analyticalDashboard,createdBy,modifiedBy,exportDefinitions,recipients,automationResults", + "explode": false, + "in": "query", + "name": "include", "required": false, "schema": { - "default": false, - "type": "boolean" - } + "items": { + "enum": [ + "notificationChannels", + "analyticalDashboards", + "userIdentifiers", + "exportDefinitions", + "users", + "automationResults", + "notificationChannel", + "analyticalDashboard", + "createdBy", + "modifiedBy", + "recipients", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/EntitySearchBody" + "$ref": "#/components/schemas/JsonApiAutomationInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAutomationInDocument" } } }, - "description": "Search request body with filter, pagination, and sorting options", "required": true }, "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAutomationOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationResultOutList" + "$ref": "#/components/schemas/JsonApiAutomationOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Search request for AutomationResult", + "summary": "Put an Automation", "tags": [ - "entities", - "workspace-object-controller" - ] + "Automations" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "CREATE_AUTOMATION" + ] + } } }, - "/api/v1/entities/workspaces/{workspaceId}/automations": { + "/api/v1/entities/workspaces/{workspaceId}/customApplicationSettings": { "get": { - "operationId": "getAllEntities@Automations", + "operationId": "getAllEntities@CustomApplicationSettings", "parameters": [ { "in": "path", @@ -40786,42 +47410,13 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;notificationChannel.id==321;analyticalDashboard.id==321", + "example": "applicationName==someString;content==JsonNodeValue", "in": "query", "name": "filter", "schema": { "type": "string" } }, - { - "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": "notificationChannel,analyticalDashboard,createdBy,modifiedBy,exportDefinitions,recipients,automationResults", - "explode": false, - "in": "query", - "name": "include", - "required": false, - "schema": { - "items": { - "enum": [ - "notificationChannels", - "analyticalDashboards", - "userIdentifiers", - "exportDefinitions", - "users", - "automationResults", - "notificationChannel", - "analyticalDashboard", - "createdBy", - "modifiedBy", - "recipients", - "ALL" - ], - "type": "string" - }, - "type": "array" - }, - "style": "form" - }, { "$ref": "#/components/parameters/page" }, @@ -40867,20 +47462,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutList" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Automations", + "summary": "Get all Custom Application Settings", "tags": [ - "Automations", - "entities", - "workspace-object-controller" + "Workspaces - Settings" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -40890,7 +47488,7 @@ } }, "post": { - "operationId": "createEntity@Automations", + "operationId": "createEntity@CustomApplicationSettings", "parameters": [ { "in": "path", @@ -40900,35 +47498,6 @@ "type": "string" } }, - { - "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": "notificationChannel,analyticalDashboard,createdBy,modifiedBy,exportDefinitions,recipients,automationResults", - "explode": false, - "in": "query", - "name": "include", - "required": false, - "schema": { - "items": { - "enum": [ - "notificationChannels", - "analyticalDashboards", - "userIdentifiers", - "exportDefinitions", - "users", - "automationResults", - "notificationChannel", - "analyticalDashboard", - "createdBy", - "modifiedBy", - "recipients", - "ALL" - ], - "type": "string" - }, - "type": "array" - }, - "style": "form" - }, { "description": "Include Meta objects.", "example": "metaInclude=origin,all", @@ -40954,9 +47523,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPostOptionalIdDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationInDocument" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPostOptionalIdDocument" } } }, @@ -40965,32 +47539,29 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutDocument" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post Automations", + "summary": "Post Custom Application Settings", "tags": [ - "Automations", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "CREATE_AUTOMATION" - ] - } + "Workspaces - Settings" + ] } }, - "/api/v1/entities/workspaces/{workspaceId}/automations/search": { + "/api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/search": { "post": { - "operationId": "searchEntities@Automations", + "operationId": "searchEntities@CustomApplicationSettings", "parameters": [ { "in": "path", @@ -41039,19 +47610,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutList" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Search request for Automation", + "summary": "Search request for CustomApplicationSetting", "tags": [ - "entities", - "workspace-object-controller" + "Workspaces - Settings" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -41061,9 +47636,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/automations/{objectId}": { + "/api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId}": { "delete": { - "operationId": "deleteEntity@Automations", + "operationId": "deleteEntity@CustomApplicationSettings", "parameters": [ { "in": "path", @@ -41083,7 +47658,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;notificationChannel.id==321;analyticalDashboard.id==321", + "example": "applicationName==someString;content==JsonNodeValue", "in": "query", "name": "filter", "schema": { @@ -41096,21 +47671,13 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete an Automation", + "summary": "Delete a Custom Application Setting", "tags": [ - "Automations", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "CREATE_AUTOMATION" - ] - } + "Workspaces - Settings" + ] }, "get": { - "operationId": "getEntity@Automations", + "operationId": "getEntity@CustomApplicationSettings", "parameters": [ { "in": "path", @@ -41130,42 +47697,13 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;notificationChannel.id==321;analyticalDashboard.id==321", + "example": "applicationName==someString;content==JsonNodeValue", "in": "query", "name": "filter", "schema": { "type": "string" } }, - { - "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": "notificationChannel,analyticalDashboard,createdBy,modifiedBy,exportDefinitions,recipients,automationResults", - "explode": false, - "in": "query", - "name": "include", - "required": false, - "schema": { - "items": { - "enum": [ - "notificationChannels", - "analyticalDashboards", - "userIdentifiers", - "exportDefinitions", - "users", - "automationResults", - "notificationChannel", - "analyticalDashboard", - "createdBy", - "modifiedBy", - "recipients", - "ALL" - ], - "type": "string" - }, - "type": "array" - }, - "style": "form" - }, { "in": "header", "name": "X-GDC-VALIDATE-RELATIONS", @@ -41201,20 +47739,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutDocument" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get an Automation", + "summary": "Get a Custom Application Setting", "tags": [ - "Automations", - "entities", - "workspace-object-controller" + "Workspaces - Settings" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -41224,7 +47765,7 @@ } }, "patch": { - "operationId": "patchEntity@Automations", + "operationId": "patchEntity@CustomApplicationSettings", "parameters": [ { "in": "path", @@ -41244,48 +47785,24 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;notificationChannel.id==321;analyticalDashboard.id==321", + "example": "applicationName==someString;content==JsonNodeValue", "in": "query", "name": "filter", "schema": { "type": "string" } - }, - { - "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": "notificationChannel,analyticalDashboard,createdBy,modifiedBy,exportDefinitions,recipients,automationResults", - "explode": false, - "in": "query", - "name": "include", - "required": false, - "schema": { - "items": { - "enum": [ - "notificationChannels", - "analyticalDashboards", - "userIdentifiers", - "exportDefinitions", - "users", - "automationResults", - "notificationChannel", - "analyticalDashboard", - "createdBy", - "modifiedBy", - "recipients", - "ALL" - ], - "type": "string" - }, - "type": "array" - }, - "style": "form" } ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationPatchDocument" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPatchDocument" } } }, @@ -41294,30 +47811,27 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutDocument" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch an Automation", + "summary": "Patch a Custom Application Setting", "tags": [ - "Automations", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "CREATE_AUTOMATION" - ] - } + "Workspaces - Settings" + ] }, "put": { - "operationId": "updateEntity@Automations", + "operationId": "updateEntity@CustomApplicationSettings", "parameters": [ { "in": "path", @@ -41337,48 +47851,24 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;notificationChannel.id==321;analyticalDashboard.id==321", + "example": "applicationName==someString;content==JsonNodeValue", "in": "query", "name": "filter", "schema": { "type": "string" } - }, - { - "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": "notificationChannel,analyticalDashboard,createdBy,modifiedBy,exportDefinitions,recipients,automationResults", - "explode": false, - "in": "query", - "name": "include", - "required": false, - "schema": { - "items": { - "enum": [ - "notificationChannels", - "analyticalDashboards", - "userIdentifiers", - "exportDefinitions", - "users", - "automationResults", - "notificationChannel", - "analyticalDashboard", - "createdBy", - "modifiedBy", - "recipients", - "ALL" - ], - "type": "string" - }, - "type": "array" - }, - "style": "form" } ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationInDocument" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingInDocument" } } }, @@ -41387,32 +47877,29 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutDocument" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put an Automation", + "summary": "Put a Custom Application Setting", "tags": [ - "Automations", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "CREATE_AUTOMATION" - ] - } + "Workspaces - Settings" + ] } }, - "/api/v1/entities/workspaces/{workspaceId}/customApplicationSettings": { + "/api/v1/entities/workspaces/{workspaceId}/dashboardPlugins": { "get": { - "operationId": "getAllEntities@CustomApplicationSettings", + "operationId": "getAllEntities@DashboardPlugins", "parameters": [ { "in": "path", @@ -41439,13 +47926,34 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "applicationName==someString;content==JsonNodeValue", + "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { "type": "string" } }, + { + "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", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "userIdentifiers", + "createdBy", + "modifiedBy", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + }, { "$ref": "#/components/parameters/page" }, @@ -41491,20 +47999,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDashboardPluginOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutList" + "$ref": "#/components/schemas/JsonApiDashboardPluginOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Custom Application Settings", + "summary": "Get all Plugins", "tags": [ - "Workspaces - Settings", - "entities", - "workspace-object-controller" + "Plugins" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -41514,7 +48025,7 @@ } }, "post": { - "operationId": "createEntity@CustomApplicationSettings", + "operationId": "createEntity@DashboardPlugins", "parameters": [ { "in": "path", @@ -41524,6 +48035,27 @@ "type": "string" } }, + { + "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", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "userIdentifiers", + "createdBy", + "modifiedBy", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + }, { "description": "Include Meta objects.", "example": "metaInclude=origin,all", @@ -41549,9 +48081,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDashboardPluginPostOptionalIdDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiDashboardPluginPostOptionalIdDocument" } } }, @@ -41560,26 +48097,35 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDashboardPluginOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" + "$ref": "#/components/schemas/JsonApiDashboardPluginOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post Custom Application Settings", + "summary": "Post Plugins", "tags": [ - "Workspaces - Settings", - "entities", - "workspace-object-controller" - ] + "Plugins" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "ANALYZE" + ] + } } }, - "/api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/search": { + "/api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/search": { "post": { - "operationId": "searchEntities@CustomApplicationSettings", + "operationId": "searchEntities@DashboardPlugins", "parameters": [ { "in": "path", @@ -41628,19 +48174,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDashboardPluginOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutList" + "$ref": "#/components/schemas/JsonApiDashboardPluginOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Search request for CustomApplicationSetting", + "summary": "Search request for DashboardPlugin", "tags": [ - "entities", - "workspace-object-controller" + "Plugins" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -41650,9 +48200,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId}": { + "/api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId}": { "delete": { - "operationId": "deleteEntity@CustomApplicationSettings", + "operationId": "deleteEntity@DashboardPlugins", "parameters": [ { "in": "path", @@ -41672,7 +48222,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "applicationName==someString;content==JsonNodeValue", + "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { @@ -41685,15 +48235,19 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete a Custom Application Setting", + "summary": "Delete a Plugin", "tags": [ - "Workspaces - Settings", - "entities", - "workspace-object-controller" - ] + "Plugins" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "ANALYZE" + ] + } }, "get": { - "operationId": "getEntity@CustomApplicationSettings", + "operationId": "getEntity@DashboardPlugins", "parameters": [ { "in": "path", @@ -41713,13 +48267,34 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "applicationName==someString;content==JsonNodeValue", + "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { "type": "string" } }, + { + "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", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "userIdentifiers", + "createdBy", + "modifiedBy", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + }, { "in": "header", "name": "X-GDC-VALIDATE-RELATIONS", @@ -41755,20 +48330,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDashboardPluginOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" + "$ref": "#/components/schemas/JsonApiDashboardPluginOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get a Custom Application Setting", + "summary": "Get a Plugin", "tags": [ - "Workspaces - Settings", - "entities", - "workspace-object-controller" + "Plugins" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -41778,7 +48356,7 @@ } }, "patch": { - "operationId": "patchEntity@CustomApplicationSettings", + "operationId": "patchEntity@DashboardPlugins", "parameters": [ { "in": "path", @@ -41798,19 +48376,45 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "applicationName==someString;content==JsonNodeValue", + "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { "type": "string" } + }, + { + "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", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "userIdentifiers", + "createdBy", + "modifiedBy", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" } ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDashboardPluginPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPatchDocument" + "$ref": "#/components/schemas/JsonApiDashboardPluginPatchDocument" } } }, @@ -41819,24 +48423,33 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDashboardPluginOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" + "$ref": "#/components/schemas/JsonApiDashboardPluginOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch a Custom Application Setting", + "summary": "Patch a Plugin", "tags": [ - "Workspaces - Settings", - "entities", - "workspace-object-controller" - ] + "Plugins" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "ANALYZE" + ] + } }, "put": { - "operationId": "updateEntity@CustomApplicationSettings", + "operationId": "updateEntity@DashboardPlugins", "parameters": [ { "in": "path", @@ -41856,19 +48469,45 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "applicationName==someString;content==JsonNodeValue", + "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { "type": "string" } + }, + { + "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", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "userIdentifiers", + "createdBy", + "modifiedBy", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" } ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDashboardPluginInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingInDocument" + "$ref": "#/components/schemas/JsonApiDashboardPluginInDocument" } } }, @@ -41877,26 +48516,35 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDashboardPluginOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" + "$ref": "#/components/schemas/JsonApiDashboardPluginOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put a Custom Application Setting", + "summary": "Put a Plugin", "tags": [ - "Workspaces - Settings", - "entities", - "workspace-object-controller" - ] + "Plugins" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "ANALYZE" + ] + } } }, - "/api/v1/entities/workspaces/{workspaceId}/dashboardPlugins": { + "/api/v1/entities/workspaces/{workspaceId}/datasets": { "get": { - "operationId": "getAllEntities@DashboardPlugins", + "operationId": "getAllEntities@Datasets", "parameters": [ { "in": "path", @@ -41923,7 +48571,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", + "example": "title==someString;description==someString", "in": "query", "name": "filter", "schema": { @@ -41932,7 +48580,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": "attributes,facts,aggregatedFacts,references,workspaceDataFilters", "explode": false, "in": "query", "name": "include", @@ -41940,9 +48588,12 @@ "schema": { "items": { "enum": [ - "userIdentifiers", - "createdBy", - "modifiedBy", + "attributes", + "facts", + "aggregatedFacts", + "datasets", + "workspaceDataFilters", + "references", "ALL" ], "type": "string" @@ -41996,122 +48647,29 @@ "responses": { "200": { "content": { - "application/vnd.gooddata.api+json": { + "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginOutList" + "$ref": "#/components/schemas/JsonApiDatasetOutList" } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Get all Plugins", - "tags": [ - "Plugins", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to view this object type.", - "permissions": [ - "VIEW" - ] - } - }, - "post": { - "operationId": "createEntity@DashboardPlugins", - "parameters": [ - { - "in": "path", - "name": "workspaceId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "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", - "explode": false, - "in": "query", - "name": "include", - "required": false, - "schema": { - "items": { - "enum": [ - "userIdentifiers", - "createdBy", - "modifiedBy", - "ALL" - ], - "type": "string" - }, - "type": "array" - }, - "style": "form" - }, - { - "description": "Include Meta objects.", - "example": "metaInclude=origin,all", - "explode": false, - "in": "query", - "name": "metaInclude", - "required": false, - "schema": { - "description": "Included meta objects", - "items": { - "enum": [ - "origin", - "all", - "ALL" - ], - "type": "string" }, - "type": "array", - "uniqueItems": true - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginPostOptionalIdDocument" - } - } - }, - "required": true - }, - "responses": { - "201": { - "content": { "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginOutDocument" + "$ref": "#/components/schemas/JsonApiDatasetOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Post Plugins", + "summary": "Get all Datasets", "tags": [ - "Plugins", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "ANALYZE" - ] - } + "Datasets" + ] } }, - "/api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/search": { + "/api/v1/entities/workspaces/{workspaceId}/datasets/search": { "post": { - "operationId": "searchEntities@DashboardPlugins", + "operationId": "searchEntities@Datasets", "parameters": [ { "in": "path", @@ -42160,78 +48718,29 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDatasetOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginOutList" + "$ref": "#/components/schemas/JsonApiDatasetOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Search request for DashboardPlugin", + "summary": "Search request for Dataset", "tags": [ - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to view this object type.", - "permissions": [ - "VIEW" - ] - } + "Datasets" + ] } }, - "/api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId}": { - "delete": { - "operationId": "deleteEntity@DashboardPlugins", - "parameters": [ - { - "in": "path", - "name": "workspaceId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "in": "path", - "name": "objectId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/Deleted" - } - }, - "summary": "Delete a Plugin", - "tags": [ - "Plugins", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "ANALYZE" - ] - } - }, + "/api/v1/entities/workspaces/{workspaceId}/datasets/{objectId}": { "get": { - "operationId": "getEntity@DashboardPlugins", + "operationId": "getEntity@Datasets", "parameters": [ { "in": "path", @@ -42251,7 +48760,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", + "example": "title==someString;description==someString", "in": "query", "name": "filter", "schema": { @@ -42260,7 +48769,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": "attributes,facts,aggregatedFacts,references,workspaceDataFilters", "explode": false, "in": "query", "name": "include", @@ -42268,9 +48777,12 @@ "schema": { "items": { "enum": [ - "userIdentifiers", - "createdBy", - "modifiedBy", + "attributes", + "facts", + "aggregatedFacts", + "datasets", + "workspaceDataFilters", + "references", "ALL" ], "type": "string" @@ -42314,30 +48826,27 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDatasetOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginOutDocument" + "$ref": "#/components/schemas/JsonApiDatasetOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get a Plugin", + "summary": "Get a Dataset", "tags": [ - "Plugins", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to view this object type.", - "permissions": [ - "VIEW" - ] - } + "Datasets" + ] }, "patch": { - "operationId": "patchEntity@DashboardPlugins", + "operationId": "patchEntity@Datasets", "parameters": [ { "in": "path", @@ -42357,7 +48866,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", + "example": "title==someString;description==someString", "in": "query", "name": "filter", "schema": { @@ -42366,7 +48875,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": "attributes,facts,aggregatedFacts,references,workspaceDataFilters", "explode": false, "in": "query", "name": "include", @@ -42374,9 +48883,12 @@ "schema": { "items": { "enum": [ - "userIdentifiers", - "createdBy", - "modifiedBy", + "attributes", + "facts", + "aggregatedFacts", + "datasets", + "workspaceDataFilters", + "references", "ALL" ], "type": "string" @@ -42388,9 +48900,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDatasetPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginPatchDocument" + "$ref": "#/components/schemas/JsonApiDatasetPatchDocument" } } }, @@ -42399,30 +48916,29 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiDatasetOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginOutDocument" + "$ref": "#/components/schemas/JsonApiDatasetOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch a Plugin", + "summary": "Patch a Dataset (beta)", "tags": [ - "Plugins", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "ANALYZE" - ] - } - }, - "put": { - "operationId": "updateEntity@DashboardPlugins", + "Datasets" + ] + } + }, + "/api/v1/entities/workspaces/{workspaceId}/exportDefinitions": { + "get": { + "operationId": "getAllEntities@ExportDefinitions", "parameters": [ { "in": "path", @@ -42433,16 +48949,23 @@ } }, { - "in": "path", - "name": "objectId", - "required": true, + "in": "query", + "name": "origin", + "required": false, "schema": { + "default": "ALL", + "description": "Defines scope of origin of objects. All by default.", + "enum": [ + "ALL", + "PARENTS", + "NATIVE" + ], "type": "string" } }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", + "example": "title==someString;description==someString;visualizationObject.id==321;analyticalDashboard.id==321", "in": "query", "name": "filter", "schema": { @@ -42451,7 +48974,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": "visualizationObject,analyticalDashboard,automation,createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -42459,7 +48982,13 @@ "schema": { "items": { "enum": [ + "visualizationObjects", + "analyticalDashboards", + "automations", "userIdentifiers", + "visualizationObject", + "analyticalDashboard", + "automation", "createdBy", "modifiedBy", "ALL" @@ -42469,47 +48998,79 @@ "type": "array" }, "style": "form" - } - ], - "requestBody": { - "content": { - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginInDocument" - } + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/size" + }, + { + "$ref": "#/components/parameters/sort" + }, + { + "in": "header", + "name": "X-GDC-VALIDATE-RELATIONS", + "required": false, + "schema": { + "default": false, + "type": "boolean" } }, - "required": true - }, + { + "description": "Include Meta objects.", + "example": "metaInclude=origin,page,all", + "explode": false, + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "description": "Included meta objects", + "items": { + "enum": [ + "origin", + "page", + "all", + "ALL" + ], + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "style": "form" + } + ], "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportDefinitionOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginOutDocument" + "$ref": "#/components/schemas/JsonApiExportDefinitionOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Put a Plugin", + "summary": "Get all Export Definitions", "tags": [ - "Plugins", - "entities", - "workspace-object-controller" + "Export Definitions" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", + "description": "Contains minimal permission level required to view this object type.", "permissions": [ - "ANALYZE" + "VIEW" ] } - } - }, - "/api/v1/entities/workspaces/{workspaceId}/datasets": { - "get": { - "operationId": "getAllEntities@Datasets", + }, + "post": { + "operationId": "createEntity@ExportDefinitions", "parameters": [ { "in": "path", @@ -42519,33 +49080,9 @@ "type": "string" } }, - { - "in": "query", - "name": "origin", - "required": false, - "schema": { - "default": "ALL", - "description": "Defines scope of origin of objects. All by default.", - "enum": [ - "ALL", - "PARENTS", - "NATIVE" - ], - "type": "string" - } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } - }, { "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": "attributes,facts,aggregatedFacts,references,workspaceDataFilters", + "example": "visualizationObject,analyticalDashboard,automation,createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -42553,12 +49090,15 @@ "schema": { "items": { "enum": [ - "attributes", - "facts", - "aggregatedFacts", - "datasets", - "workspaceDataFilters", - "references", + "visualizationObjects", + "analyticalDashboards", + "automations", + "userIdentifiers", + "visualizationObject", + "analyticalDashboard", + "automation", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -42567,27 +49107,9 @@ }, "style": "form" }, - { - "$ref": "#/components/parameters/page" - }, - { - "$ref": "#/components/parameters/size" - }, - { - "$ref": "#/components/parameters/sort" - }, - { - "in": "header", - "name": "X-GDC-VALIDATE-RELATIONS", - "required": false, - "schema": { - "default": false, - "type": "boolean" - } - }, { "description": "Include Meta objects.", - "example": "metaInclude=origin,page,all", + "example": "metaInclude=origin,all", "explode": false, "in": "query", "name": "metaInclude", @@ -42597,7 +49119,6 @@ "items": { "enum": [ "origin", - "page", "all", "ALL" ], @@ -42609,29 +49130,53 @@ "style": "form" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportDefinitionPostOptionalIdDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportDefinitionPostOptionalIdDocument" + } + } + }, + "required": true + }, "responses": { - "200": { + "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiDatasetOutList" + "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Datasets", + "summary": "Post Export Definitions", "tags": [ - "Datasets", - "entities", - "workspace-object-controller" - ] + "Export Definitions" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "ANALYZE" + ] + } } }, - "/api/v1/entities/workspaces/{workspaceId}/datasets/search": { + "/api/v1/entities/workspaces/{workspaceId}/exportDefinitions/search": { "post": { - "operationId": "searchEntities@Datasets", + "operationId": "searchEntities@ExportDefinitions", "parameters": [ { "in": "path", @@ -42680,25 +49225,80 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportDefinitionOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiDatasetOutList" + "$ref": "#/components/schemas/JsonApiExportDefinitionOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Search request for Dataset", + "summary": "Search request for ExportDefinition", "tags": [ - "entities", - "workspace-object-controller" - ] + "Export Definitions" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } } }, - "/api/v1/entities/workspaces/{workspaceId}/datasets/{objectId}": { + "/api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId}": { + "delete": { + "operationId": "deleteEntity@ExportDefinitions", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "objectId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "title==someString;description==someString;visualizationObject.id==321;analyticalDashboard.id==321", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete an Export Definition", + "tags": [ + "Export Definitions" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "ANALYZE" + ] + } + }, "get": { - "operationId": "getEntity@Datasets", + "operationId": "getEntity@ExportDefinitions", "parameters": [ { "in": "path", @@ -42718,7 +49318,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString", + "example": "title==someString;description==someString;visualizationObject.id==321;analyticalDashboard.id==321", "in": "query", "name": "filter", "schema": { @@ -42727,7 +49327,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": "attributes,facts,aggregatedFacts,references,workspaceDataFilters", + "example": "visualizationObject,analyticalDashboard,automation,createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -42735,12 +49335,15 @@ "schema": { "items": { "enum": [ - "attributes", - "facts", - "aggregatedFacts", - "datasets", - "workspaceDataFilters", - "references", + "visualizationObjects", + "analyticalDashboards", + "automations", + "userIdentifiers", + "visualizationObject", + "analyticalDashboard", + "automation", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -42750,58 +49353,166 @@ "style": "form" }, { - "in": "header", - "name": "X-GDC-VALIDATE-RELATIONS", - "required": false, + "in": "header", + "name": "X-GDC-VALIDATE-RELATIONS", + "required": false, + "schema": { + "default": false, + "type": "boolean" + } + }, + { + "description": "Include Meta objects.", + "example": "metaInclude=origin,all", + "explode": false, + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "description": "Included meta objects", + "items": { + "enum": [ + "origin", + "all", + "ALL" + ], + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "style": "form" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Get an Export Definition", + "tags": [ + "Export Definitions" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } + }, + "patch": { + "operationId": "patchEntity@ExportDefinitions", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "objectId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "title==someString;description==someString;visualizationObject.id==321;analyticalDashboard.id==321", + "in": "query", + "name": "filter", "schema": { - "default": false, - "type": "boolean" + "type": "string" } }, { - "description": "Include Meta objects.", - "example": "metaInclude=origin,all", + "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": "visualizationObject,analyticalDashboard,automation,createdBy,modifiedBy", "explode": false, "in": "query", - "name": "metaInclude", + "name": "include", "required": false, "schema": { - "description": "Included meta objects", "items": { "enum": [ - "origin", - "all", + "visualizationObjects", + "analyticalDashboards", + "automations", + "userIdentifiers", + "visualizationObject", + "analyticalDashboard", + "automation", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" }, - "type": "array", - "uniqueItems": true + "type": "array" }, "style": "form" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportDefinitionPatchDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportDefinitionPatchDocument" + } + } + }, + "required": true + }, "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiDatasetOutDocument" + "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get a Dataset", + "summary": "Patch an Export Definition", "tags": [ - "Datasets", - "entities", - "workspace-object-controller" - ] + "Export Definitions" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "ANALYZE" + ] + } }, - "patch": { - "operationId": "patchEntity@Datasets", + "put": { + "operationId": "updateEntity@ExportDefinitions", "parameters": [ { "in": "path", @@ -42821,7 +49532,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString", + "example": "title==someString;description==someString;visualizationObject.id==321;analyticalDashboard.id==321", "in": "query", "name": "filter", "schema": { @@ -42830,7 +49541,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": "attributes,facts,aggregatedFacts,references,workspaceDataFilters", + "example": "visualizationObject,analyticalDashboard,automation,createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -42838,12 +49549,15 @@ "schema": { "items": { "enum": [ - "attributes", - "facts", - "aggregatedFacts", - "datasets", - "workspaceDataFilters", - "references", + "visualizationObjects", + "analyticalDashboards", + "automations", + "userIdentifiers", + "visualizationObject", + "analyticalDashboard", + "automation", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -42855,9 +49569,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportDefinitionInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiDatasetPatchDocument" + "$ref": "#/components/schemas/JsonApiExportDefinitionInDocument" } } }, @@ -42866,26 +49585,35 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiDatasetOutDocument" + "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch a Dataset (beta)", + "summary": "Put an Export Definition", "tags": [ - "Datasets", - "entities", - "workspace-object-controller" - ] + "Export Definitions" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "ANALYZE" + ] + } } }, - "/api/v1/entities/workspaces/{workspaceId}/exportDefinitions": { + "/api/v1/entities/workspaces/{workspaceId}/facts": { "get": { - "operationId": "getAllEntities@ExportDefinitions", + "operationId": "getAllEntities@Facts", "parameters": [ { "in": "path", @@ -42912,7 +49640,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;visualizationObject.id==321;analyticalDashboard.id==321", + "example": "title==someString;description==someString;dataset.id==321", "in": "query", "name": "filter", "schema": { @@ -42921,7 +49649,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": "visualizationObject,analyticalDashboard,automation,createdBy,modifiedBy", + "example": "dataset", "explode": false, "in": "query", "name": "include", @@ -42929,15 +49657,8 @@ "schema": { "items": { "enum": [ - "visualizationObjects", - "analyticalDashboards", - "automations", - "userIdentifiers", - "visualizationObject", - "analyticalDashboard", - "automation", - "createdBy", - "modifiedBy", + "datasets", + "dataset", "ALL" ], "type": "string" @@ -42991,128 +49712,35 @@ "responses": { "200": { "content": { - "application/vnd.gooddata.api+json": { + "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutList" + "$ref": "#/components/schemas/JsonApiFactOutList" } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Get all Export Definitions", - "tags": [ - "Export Definitions", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to view this object type.", - "permissions": [ - "VIEW" - ] - } - }, - "post": { - "operationId": "createEntity@ExportDefinitions", - "parameters": [ - { - "in": "path", - "name": "workspaceId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "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": "visualizationObject,analyticalDashboard,automation,createdBy,modifiedBy", - "explode": false, - "in": "query", - "name": "include", - "required": false, - "schema": { - "items": { - "enum": [ - "visualizationObjects", - "analyticalDashboards", - "automations", - "userIdentifiers", - "visualizationObject", - "analyticalDashboard", - "automation", - "createdBy", - "modifiedBy", - "ALL" - ], - "type": "string" - }, - "type": "array" - }, - "style": "form" - }, - { - "description": "Include Meta objects.", - "example": "metaInclude=origin,all", - "explode": false, - "in": "query", - "name": "metaInclude", - "required": false, - "schema": { - "description": "Included meta objects", - "items": { - "enum": [ - "origin", - "all", - "ALL" - ], - "type": "string" }, - "type": "array", - "uniqueItems": true - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionPostOptionalIdDocument" - } - } - }, - "required": true - }, - "responses": { - "201": { - "content": { "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" + "$ref": "#/components/schemas/JsonApiFactOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Post Export Definitions", + "summary": "Get all Facts", "tags": [ - "Export Definitions", - "entities", - "workspace-object-controller" + "Facts" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", + "description": "Contains minimal permission level required to view this object type.", "permissions": [ - "ANALYZE" + "VIEW" ] } } }, - "/api/v1/entities/workspaces/{workspaceId}/exportDefinitions/search": { + "/api/v1/entities/workspaces/{workspaceId}/facts/search": { "post": { - "operationId": "searchEntities@ExportDefinitions", + "operationId": "searchEntities@Facts", "parameters": [ { "in": "path", @@ -43161,19 +49789,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFactOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutList" + "$ref": "#/components/schemas/JsonApiFactOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Search request for ExportDefinition", + "summary": "Search request for Fact", "tags": [ - "entities", - "workspace-object-controller" + "Facts" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -43183,56 +49815,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId}": { - "delete": { - "operationId": "deleteEntity@ExportDefinitions", - "parameters": [ - { - "in": "path", - "name": "workspaceId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "in": "path", - "name": "objectId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;visualizationObject.id==321;analyticalDashboard.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/Deleted" - } - }, - "summary": "Delete an Export Definition", - "tags": [ - "Export Definitions", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "ANALYZE" - ] - } - }, + "/api/v1/entities/workspaces/{workspaceId}/facts/{objectId}": { "get": { - "operationId": "getEntity@ExportDefinitions", + "operationId": "getEntity@Facts", "parameters": [ { "in": "path", @@ -43252,7 +49837,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;visualizationObject.id==321;analyticalDashboard.id==321", + "example": "title==someString;description==someString;dataset.id==321", "in": "query", "name": "filter", "schema": { @@ -43261,7 +49846,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": "visualizationObject,analyticalDashboard,automation,createdBy,modifiedBy", + "example": "dataset", "explode": false, "in": "query", "name": "include", @@ -43269,15 +49854,8 @@ "schema": { "items": { "enum": [ - "visualizationObjects", - "analyticalDashboards", - "automations", - "userIdentifiers", - "visualizationObject", - "analyticalDashboard", - "automation", - "createdBy", - "modifiedBy", + "datasets", + "dataset", "ALL" ], "type": "string" @@ -43321,20 +49899,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFactOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" + "$ref": "#/components/schemas/JsonApiFactOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get an Export Definition", + "summary": "Get a Fact", "tags": [ - "Export Definitions", - "entities", - "workspace-object-controller" + "Facts" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -43344,7 +49925,7 @@ } }, "patch": { - "operationId": "patchEntity@ExportDefinitions", + "operationId": "patchEntity@Facts", "parameters": [ { "in": "path", @@ -43364,7 +49945,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;visualizationObject.id==321;analyticalDashboard.id==321", + "example": "title==someString;description==someString;dataset.id==321", "in": "query", "name": "filter", "schema": { @@ -43373,7 +49954,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": "visualizationObject,analyticalDashboard,automation,createdBy,modifiedBy", + "example": "dataset", "explode": false, "in": "query", "name": "include", @@ -43381,15 +49962,8 @@ "schema": { "items": { "enum": [ - "visualizationObjects", - "analyticalDashboards", - "automations", - "userIdentifiers", - "visualizationObject", - "analyticalDashboard", - "automation", - "createdBy", - "modifiedBy", + "datasets", + "dataset", "ALL" ], "type": "string" @@ -43401,9 +49975,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFactPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionPatchDocument" + "$ref": "#/components/schemas/JsonApiFactPatchDocument" } } }, @@ -43412,30 +49991,35 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFactOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" + "$ref": "#/components/schemas/JsonApiFactOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch an Export Definition", + "summary": "Patch a Fact (beta)", "tags": [ - "Export Definitions", - "entities", - "workspace-object-controller" + "Facts" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "ANALYZE" + "MANAGE" ] } - }, - "put": { - "operationId": "updateEntity@ExportDefinitions", + } + }, + "/api/v1/entities/workspaces/{workspaceId}/filterContexts": { + "get": { + "operationId": "getAllEntities@FilterContexts", "parameters": [ { "in": "path", @@ -43446,16 +50030,23 @@ } }, { - "in": "path", - "name": "objectId", - "required": true, + "in": "query", + "name": "origin", + "required": false, "schema": { + "default": "ALL", + "description": "Defines scope of origin of objects. All by default.", + "enum": [ + "ALL", + "PARENTS", + "NATIVE" + ], "type": "string" } }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;visualizationObject.id==321;analyticalDashboard.id==321", + "example": "title==someString;description==someString", "in": "query", "name": "filter", "schema": { @@ -43464,7 +50055,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": "visualizationObject,analyticalDashboard,automation,createdBy,modifiedBy", + "example": "attributes,datasets,labels", "explode": false, "in": "query", "name": "include", @@ -43472,15 +50063,9 @@ "schema": { "items": { "enum": [ - "visualizationObjects", - "analyticalDashboards", - "automations", - "userIdentifiers", - "visualizationObject", - "analyticalDashboard", - "automation", - "createdBy", - "modifiedBy", + "attributes", + "datasets", + "labels", "ALL" ], "type": "string" @@ -43488,47 +50073,79 @@ "type": "array" }, "style": "form" - } - ], - "requestBody": { - "content": { - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionInDocument" - } + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/size" + }, + { + "$ref": "#/components/parameters/sort" + }, + { + "in": "header", + "name": "X-GDC-VALIDATE-RELATIONS", + "required": false, + "schema": { + "default": false, + "type": "boolean" } }, - "required": true - }, + { + "description": "Include Meta objects.", + "example": "metaInclude=origin,page,all", + "explode": false, + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "description": "Included meta objects", + "items": { + "enum": [ + "origin", + "page", + "all", + "ALL" + ], + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "style": "form" + } + ], "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterContextOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" + "$ref": "#/components/schemas/JsonApiFilterContextOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Put an Export Definition", + "summary": "Get all Filter Context", "tags": [ - "Export Definitions", - "entities", - "workspace-object-controller" + "Filter Context" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", + "description": "Contains minimal permission level required to view this object type.", "permissions": [ - "ANALYZE" + "VIEW" ] } - } - }, - "/api/v1/entities/workspaces/{workspaceId}/facts": { - "get": { - "operationId": "getAllEntities@Facts", + }, + "post": { + "operationId": "createEntity@FilterContexts", "parameters": [ { "in": "path", @@ -43538,71 +50155,30 @@ "type": "string" } }, - { - "in": "query", - "name": "origin", - "required": false, - "schema": { - "default": "ALL", - "description": "Defines scope of origin of objects. All by default.", - "enum": [ - "ALL", - "PARENTS", - "NATIVE" - ], - "type": "string" - } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;dataset.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } - }, { "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": "dataset", + "example": "attributes,datasets,labels", "explode": false, "in": "query", "name": "include", "required": false, "schema": { - "items": { - "enum": [ - "datasets", - "dataset", - "ALL" - ], - "type": "string" - }, - "type": "array" - }, - "style": "form" - }, - { - "$ref": "#/components/parameters/page" - }, - { - "$ref": "#/components/parameters/size" - }, - { - "$ref": "#/components/parameters/sort" - }, - { - "in": "header", - "name": "X-GDC-VALIDATE-RELATIONS", - "required": false, - "schema": { - "default": false, - "type": "boolean" - } + "items": { + "enum": [ + "attributes", + "datasets", + "labels", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" }, { "description": "Include Meta objects.", - "example": "metaInclude=origin,page,all", + "example": "metaInclude=origin,all", "explode": false, "in": "query", "name": "metaInclude", @@ -43612,7 +50188,6 @@ "items": { "enum": [ "origin", - "page", "all", "ALL" ], @@ -43624,35 +50199,53 @@ "style": "form" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterContextPostOptionalIdDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterContextPostOptionalIdDocument" + } + } + }, + "required": true + }, "responses": { - "200": { + "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFactOutList" + "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Facts", + "summary": "Post Filter Context", "tags": [ - "Facts", - "entities", - "workspace-object-controller" + "Filter Context" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to view this object type.", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "VIEW" + "ANALYZE" ] } } }, - "/api/v1/entities/workspaces/{workspaceId}/facts/search": { + "/api/v1/entities/workspaces/{workspaceId}/filterContexts/search": { "post": { - "operationId": "searchEntities@Facts", + "operationId": "searchEntities@FilterContexts", "parameters": [ { "in": "path", @@ -43701,19 +50294,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterContextOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFactOutList" + "$ref": "#/components/schemas/JsonApiFilterContextOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Search request for Fact", + "summary": "Search request for FilterContext", "tags": [ - "entities", - "workspace-object-controller" + "Filter Context" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -43723,9 +50320,54 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/facts/{objectId}": { + "/api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId}": { + "delete": { + "operationId": "deleteEntity@FilterContexts", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "objectId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "title==someString;description==someString", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete a Filter Context", + "tags": [ + "Filter Context" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "ANALYZE" + ] + } + }, "get": { - "operationId": "getEntity@Facts", + "operationId": "getEntity@FilterContexts", "parameters": [ { "in": "path", @@ -43745,7 +50387,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;dataset.id==321", + "example": "title==someString;description==someString", "in": "query", "name": "filter", "schema": { @@ -43754,7 +50396,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": "dataset", + "example": "attributes,datasets,labels", "explode": false, "in": "query", "name": "include", @@ -43762,8 +50404,9 @@ "schema": { "items": { "enum": [ + "attributes", "datasets", - "dataset", + "labels", "ALL" ], "type": "string" @@ -43807,20 +50450,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFactOutDocument" + "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get a Fact", + "summary": "Get a Filter Context", "tags": [ - "Facts", - "entities", - "workspace-object-controller" + "Filter Context" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -43830,7 +50476,7 @@ } }, "patch": { - "operationId": "patchEntity@Facts", + "operationId": "patchEntity@FilterContexts", "parameters": [ { "in": "path", @@ -43850,7 +50496,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;dataset.id==321", + "example": "title==someString;description==someString", "in": "query", "name": "filter", "schema": { @@ -43859,7 +50505,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": "dataset", + "example": "attributes,datasets,labels", "explode": false, "in": "query", "name": "include", @@ -43867,8 +50513,9 @@ "schema": { "items": { "enum": [ + "attributes", "datasets", - "dataset", + "labels", "ALL" ], "type": "string" @@ -43880,9 +50527,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterContextPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFactPatchDocument" + "$ref": "#/components/schemas/JsonApiFilterContextPatchDocument" } } }, @@ -43891,20 +50543,116 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFactOutDocument" + "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch a Fact (beta)", + "summary": "Patch a Filter Context", + "tags": [ + "Filter Context" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "ANALYZE" + ] + } + }, + "put": { + "operationId": "updateEntity@FilterContexts", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "objectId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "title==someString;description==someString", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + }, + { + "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": "attributes,datasets,labels", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "attributes", + "datasets", + "labels", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterContextInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterContextInDocument" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Put a Filter Context", "tags": [ - "Facts", - "entities", - "workspace-object-controller" + "Filter Context" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -43914,9 +50662,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/filterContexts": { + "/api/v1/entities/workspaces/{workspaceId}/filterViews": { "get": { - "operationId": "getAllEntities@FilterContexts", + "operationId": "getAllEntities@FilterViews", "parameters": [ { "in": "path", @@ -43943,7 +50691,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString", + "example": "title==someString;description==someString;analyticalDashboard.id==321;user.id==321", "in": "query", "name": "filter", "schema": { @@ -43952,7 +50700,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": "attributes,datasets,labels", + "example": "analyticalDashboard,user", "explode": false, "in": "query", "name": "include", @@ -43960,9 +50708,10 @@ "schema": { "items": { "enum": [ - "attributes", - "datasets", - "labels", + "analyticalDashboards", + "users", + "analyticalDashboard", + "user", "ALL" ], "type": "string" @@ -43991,7 +50740,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=origin,page,all", + "example": "metaInclude=page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -44000,7 +50749,6 @@ "description": "Included meta objects", "items": { "enum": [ - "origin", "page", "all", "ALL" @@ -44016,20 +50764,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterViewOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutList" + "$ref": "#/components/schemas/JsonApiFilterViewOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Context Filters", + "summary": "Get all Filter views", "tags": [ - "Context Filters", - "entities", - "workspace-object-controller" + "Filter Views" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -44039,7 +50790,7 @@ } }, "post": { - "operationId": "createEntity@FilterContexts", + "operationId": "createEntity@FilterViews", "parameters": [ { "in": "path", @@ -44051,7 +50802,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": "attributes,datasets,labels", + "example": "analyticalDashboard,user", "explode": false, "in": "query", "name": "include", @@ -44059,9 +50810,10 @@ "schema": { "items": { "enum": [ - "attributes", - "datasets", - "labels", + "analyticalDashboards", + "users", + "analyticalDashboard", + "user", "ALL" ], "type": "string" @@ -44069,35 +50821,18 @@ "type": "array" }, "style": "form" - }, - { - "description": "Include Meta objects.", - "example": "metaInclude=origin,all", - "explode": false, - "in": "query", - "name": "metaInclude", - "required": false, - "schema": { - "description": "Included meta objects", - "items": { - "enum": [ - "origin", - "all", - "ALL" - ], - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "style": "form" } ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterViewInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiFilterViewInDocument" } } }, @@ -44106,32 +50841,35 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post Context Filters", + "summary": "Post Filter views", "tags": [ - "Context Filters", - "entities", - "workspace-object-controller" + "Filter Views" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", + "description": "Contains minimal permission level required to manage Filter Views", "permissions": [ - "ANALYZE" + "CREATE_FILTER_VIEW" ] } } }, - "/api/v1/entities/workspaces/{workspaceId}/filterContexts/search": { + "/api/v1/entities/workspaces/{workspaceId}/filterViews/search": { "post": { - "operationId": "searchEntities@FilterContexts", + "operationId": "searchEntities@FilterViews", "parameters": [ { "in": "path", @@ -44180,19 +50918,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterViewOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutList" + "$ref": "#/components/schemas/JsonApiFilterViewOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Search request for FilterContext", + "summary": "Search request for FilterView", "tags": [ - "entities", - "workspace-object-controller" + "Filter Views" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -44202,9 +50944,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId}": { + "/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}": { "delete": { - "operationId": "deleteEntity@FilterContexts", + "operationId": "deleteEntity@FilterViews", "parameters": [ { "in": "path", @@ -44224,7 +50966,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString", + "example": "title==someString;description==someString;analyticalDashboard.id==321;user.id==321", "in": "query", "name": "filter", "schema": { @@ -44237,21 +50979,19 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete a Context Filter", + "summary": "Delete Filter view", "tags": [ - "Context Filters", - "entities", - "workspace-object-controller" + "Filter Views" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", + "description": "Contains minimal permission level required to manage Filter Views", "permissions": [ - "ANALYZE" + "CREATE_FILTER_VIEW" ] } }, "get": { - "operationId": "getEntity@FilterContexts", + "operationId": "getEntity@FilterViews", "parameters": [ { "in": "path", @@ -44271,7 +51011,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString", + "example": "title==someString;description==someString;analyticalDashboard.id==321;user.id==321", "in": "query", "name": "filter", "schema": { @@ -44280,7 +51020,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": "attributes,datasets,labels", + "example": "analyticalDashboard,user", "explode": false, "in": "query", "name": "include", @@ -44288,9 +51028,10 @@ "schema": { "items": { "enum": [ - "attributes", - "datasets", - "labels", + "analyticalDashboards", + "users", + "analyticalDashboard", + "user", "ALL" ], "type": "string" @@ -44307,47 +51048,28 @@ "default": false, "type": "boolean" } - }, - { - "description": "Include Meta objects.", - "example": "metaInclude=origin,all", - "explode": false, - "in": "query", - "name": "metaInclude", - "required": false, - "schema": { - "description": "Included meta objects", - "items": { - "enum": [ - "origin", - "all", - "ALL" - ], - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "style": "form" } ], "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get a Context Filter", + "summary": "Get Filter view", "tags": [ - "Context Filters", - "entities", - "workspace-object-controller" + "Filter Views" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -44357,7 +51079,7 @@ } }, "patch": { - "operationId": "patchEntity@FilterContexts", + "operationId": "patchEntity@FilterViews", "parameters": [ { "in": "path", @@ -44377,7 +51099,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString", + "example": "title==someString;description==someString;analyticalDashboard.id==321;user.id==321", "in": "query", "name": "filter", "schema": { @@ -44386,7 +51108,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": "attributes,datasets,labels", + "example": "analyticalDashboard,user", "explode": false, "in": "query", "name": "include", @@ -44394,9 +51116,10 @@ "schema": { "items": { "enum": [ - "attributes", - "datasets", - "labels", + "analyticalDashboards", + "users", + "analyticalDashboard", + "user", "ALL" ], "type": "string" @@ -44408,9 +51131,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterViewPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextPatchDocument" + "$ref": "#/components/schemas/JsonApiFilterViewPatchDocument" } } }, @@ -44419,30 +51147,33 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch a Context Filter", + "summary": "Patch Filter view", "tags": [ - "Context Filters", - "entities", - "workspace-object-controller" + "Filter Views" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", + "description": "Contains minimal permission level required to manage Filter Views", "permissions": [ - "ANALYZE" + "CREATE_FILTER_VIEW" ] } }, "put": { - "operationId": "updateEntity@FilterContexts", + "operationId": "updateEntity@FilterViews", "parameters": [ { "in": "path", @@ -44460,100 +51191,6 @@ "type": "string" } }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } - }, - { - "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": "attributes,datasets,labels", - "explode": false, - "in": "query", - "name": "include", - "required": false, - "schema": { - "items": { - "enum": [ - "attributes", - "datasets", - "labels", - "ALL" - ], - "type": "string" - }, - "type": "array" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextInDocument" - } - } - }, - "required": true - }, - "responses": { - "200": { - "content": { - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" - } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Put a Context Filter", - "tags": [ - "Context Filters", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "ANALYZE" - ] - } - } - }, - "/api/v1/entities/workspaces/{workspaceId}/filterViews": { - "get": { - "operationId": "getAllEntities@FilterViews", - "parameters": [ - { - "in": "path", - "name": "workspaceId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "origin", - "required": false, - "schema": { - "default": "ALL", - "description": "Defines scope of origin of objects. All by default.", - "enum": [ - "ALL", - "PARENTS", - "NATIVE" - ], - "type": "string" - } - }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", "example": "title==someString;description==someString;analyticalDashboard.id==321;user.id==321", @@ -44584,6 +51221,109 @@ "type": "array" }, "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterViewInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterViewInDocument" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Put Filter views", + "tags": [ + "Filter Views" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage Filter Views", + "permissions": [ + "CREATE_FILTER_VIEW" + ] + } + } + }, + "/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations": { + "get": { + "operationId": "getAllEntities@KnowledgeRecommendations", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "origin", + "required": false, + "schema": { + "default": "ALL", + "description": "Defines scope of origin of objects. All by default.", + "enum": [ + "ALL", + "PARENTS", + "NATIVE" + ], + "type": "string" + } + }, + { + "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", + "example": "title==someString;description==someString;metric.id==321;analyticalDashboard.id==321", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + }, + { + "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": "metric,analyticalDashboard", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "metrics", + "analyticalDashboards", + "metric", + "analyticalDashboard", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" }, { "$ref": "#/components/parameters/page" @@ -44605,7 +51345,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=page,all", + "example": "metaInclude=origin,page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -44614,6 +51354,7 @@ "description": "Included meta objects", "items": { "enum": [ + "origin", "page", "all", "ALL" @@ -44629,30 +51370,26 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutList" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Filter views", "tags": [ - "Filter Views", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to view this object type.", - "permissions": [ - "VIEW" - ] - } + "Other" + ] }, "post": { - "operationId": "createEntity@FilterViews", + "operationId": "createEntity@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -44664,7 +51401,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": "analyticalDashboard,user", + "example": "metric,analyticalDashboard", "explode": false, "in": "query", "name": "include", @@ -44672,10 +51409,10 @@ "schema": { "items": { "enum": [ + "metrics", "analyticalDashboards", - "users", + "metric", "analyticalDashboard", - "user", "ALL" ], "type": "string" @@ -44683,13 +51420,40 @@ "type": "array" }, "style": "form" + }, + { + "description": "Include Meta objects.", + "example": "metaInclude=origin,all", + "explode": false, + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "description": "Included meta objects", + "items": { + "enum": [ + "origin", + "all", + "ALL" + ], + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "style": "form" } ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPostOptionalIdDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewInDocument" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPostOptionalIdDocument" } } }, @@ -44698,32 +51462,28 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post Filter views", "tags": [ - "Filter Views", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage Filter Views", - "permissions": [ - "CREATE_FILTER_VIEW" - ] - } + "Other" + ] } }, - "/api/v1/entities/workspaces/{workspaceId}/filterViews/search": { + "/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/search": { "post": { - "operationId": "searchEntities@FilterViews", + "operationId": "searchEntities@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -44772,31 +51532,28 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutList" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Search request for FilterView", "tags": [ - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to view this object type.", - "permissions": [ - "VIEW" - ] - } + "Other" + ] } }, - "/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}": { + "/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId}": { "delete": { - "operationId": "deleteEntity@FilterViews", + "operationId": "deleteEntity@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -44816,7 +51573,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;analyticalDashboard.id==321;user.id==321", + "example": "title==someString;description==someString;metric.id==321;analyticalDashboard.id==321", "in": "query", "name": "filter", "schema": { @@ -44829,21 +51586,12 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete Filter view", "tags": [ - "Filter Views", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage Filter Views", - "permissions": [ - "CREATE_FILTER_VIEW" - ] - } + "Other" + ] }, "get": { - "operationId": "getEntity@FilterViews", + "operationId": "getEntity@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -44863,7 +51611,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;analyticalDashboard.id==321;user.id==321", + "example": "title==someString;description==someString;metric.id==321;analyticalDashboard.id==321", "in": "query", "name": "filter", "schema": { @@ -44872,7 +51620,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": "analyticalDashboard,user", + "example": "metric,analyticalDashboard", "explode": false, "in": "query", "name": "include", @@ -44880,10 +51628,10 @@ "schema": { "items": { "enum": [ + "metrics", "analyticalDashboards", - "users", + "metric", "analyticalDashboard", - "user", "ALL" ], "type": "string" @@ -44900,35 +51648,53 @@ "default": false, "type": "boolean" } + }, + { + "description": "Include Meta objects.", + "example": "metaInclude=origin,all", + "explode": false, + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "description": "Included meta objects", + "items": { + "enum": [ + "origin", + "all", + "ALL" + ], + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "style": "form" } ], "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get Filter view", "tags": [ - "Filter Views", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to view this object type.", - "permissions": [ - "VIEW" - ] - } + "Other" + ] }, "patch": { - "operationId": "patchEntity@FilterViews", + "operationId": "patchEntity@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -44948,7 +51714,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;analyticalDashboard.id==321;user.id==321", + "example": "title==someString;description==someString;metric.id==321;analyticalDashboard.id==321", "in": "query", "name": "filter", "schema": { @@ -44957,7 +51723,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": "analyticalDashboard,user", + "example": "metric,analyticalDashboard", "explode": false, "in": "query", "name": "include", @@ -44965,10 +51731,10 @@ "schema": { "items": { "enum": [ + "metrics", "analyticalDashboards", - "users", + "metric", "analyticalDashboard", - "user", "ALL" ], "type": "string" @@ -44980,9 +51746,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewPatchDocument" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPatchDocument" } } }, @@ -44991,30 +51762,26 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch Filter view", "tags": [ - "Filter Views", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage Filter Views", - "permissions": [ - "CREATE_FILTER_VIEW" - ] - } + "Other" + ] }, "put": { - "operationId": "updateEntity@FilterViews", + "operationId": "updateEntity@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -45034,7 +51801,7 @@ }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;analyticalDashboard.id==321;user.id==321", + "example": "title==someString;description==someString;metric.id==321;analyticalDashboard.id==321", "in": "query", "name": "filter", "schema": { @@ -45043,7 +51810,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": "analyticalDashboard,user", + "example": "metric,analyticalDashboard", "explode": false, "in": "query", "name": "include", @@ -45051,10 +51818,10 @@ "schema": { "items": { "enum": [ + "metrics", "analyticalDashboards", - "users", + "metric", "analyticalDashboard", - "user", "ALL" ], "type": "string" @@ -45066,9 +51833,14 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewInDocument" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationInDocument" } } }, @@ -45077,27 +51849,23 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put Filter views", "tags": [ - "Filter Views", - "entities", - "workspace-object-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage Filter Views", - "permissions": [ - "CREATE_FILTER_VIEW" - ] - } + "Other" + ] } }, "/api/v1/entities/workspaces/{workspaceId}/labels": { @@ -45201,6 +51969,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiLabelOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiLabelOutList" @@ -45212,9 +51985,7 @@ }, "summary": "Get all Labels", "tags": [ - "Labels", - "entities", - "workspace-object-controller" + "Labels" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -45275,6 +52046,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiLabelOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiLabelOutList" @@ -45286,8 +52062,7 @@ }, "summary": "Search request for Label", "tags": [ - "entities", - "workspace-object-controller" + "Labels" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -45381,6 +52156,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiLabelOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiLabelOutDocument" @@ -45392,9 +52172,7 @@ }, "summary": "Get a Label", "tags": [ - "Labels", - "entities", - "workspace-object-controller" + "Labels" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -45454,6 +52232,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiLabelPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiLabelPatchDocument" @@ -45465,6 +52248,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiLabelOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiLabelOutDocument" @@ -45476,14 +52264,12 @@ }, "summary": "Patch a Label (beta)", "tags": [ - "Labels", - "entities", - "workspace-object-controller" + "Labels" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "ANALYZE" + "MANAGE" ] } } @@ -45590,6 +52376,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMemoryItemOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiMemoryItemOutList" @@ -45600,8 +52391,7 @@ } }, "tags": [ - "entities", - "workspace-object-controller" + "Other" ] }, "post": { @@ -45661,6 +52451,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMemoryItemPostOptionalIdDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiMemoryItemPostOptionalIdDocument" @@ -45672,6 +52467,11 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" @@ -45682,8 +52482,7 @@ } }, "tags": [ - "entities", - "workspace-object-controller" + "Other" ] } }, @@ -45738,6 +52537,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMemoryItemOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiMemoryItemOutList" @@ -45749,8 +52553,7 @@ }, "summary": "Search request for MemoryItem", "tags": [ - "entities", - "workspace-object-controller" + "Other" ] } }, @@ -45790,8 +52593,7 @@ } }, "tags": [ - "entities", - "workspace-object-controller" + "Other" ] }, "get": { @@ -45878,6 +52680,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" @@ -45888,8 +52695,7 @@ } }, "tags": [ - "entities", - "workspace-object-controller" + "Other" ] }, "patch": { @@ -45944,6 +52750,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMemoryItemPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiMemoryItemPatchDocument" @@ -45955,6 +52766,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" @@ -45965,8 +52781,7 @@ } }, "tags": [ - "entities", - "workspace-object-controller" + "Other" ] }, "put": { @@ -46021,6 +52836,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMemoryItemInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiMemoryItemInDocument" @@ -46032,6 +52852,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" @@ -46042,8 +52867,7 @@ } }, "tags": [ - "entities", - "workspace-object-controller" + "Other" ] } }, @@ -46154,6 +52978,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMetricOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiMetricOutList" @@ -46165,9 +52994,7 @@ }, "summary": "Get all Metrics", "tags": [ - "Metrics", - "entities", - "workspace-object-controller" + "Metrics" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -46238,6 +53065,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMetricPostOptionalIdDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiMetricPostOptionalIdDocument" @@ -46249,6 +53081,11 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMetricOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiMetricOutDocument" @@ -46260,9 +53097,7 @@ }, "summary": "Post Metrics", "tags": [ - "Metrics", - "entities", - "workspace-object-controller" + "Metrics" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -46323,6 +53158,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMetricOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiMetricOutList" @@ -46334,8 +53174,7 @@ }, "summary": "Search request for Metric", "tags": [ - "entities", - "workspace-object-controller" + "Metrics" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -46382,9 +53221,7 @@ }, "summary": "Delete a Metric", "tags": [ - "Metrics", - "entities", - "workspace-object-controller" + "Metrics" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -46482,6 +53319,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMetricOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiMetricOutDocument" @@ -46493,9 +53335,7 @@ }, "summary": "Get a Metric", "tags": [ - "Metrics", - "entities", - "workspace-object-controller" + "Metrics" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -46561,6 +53401,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMetricPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiMetricPatchDocument" @@ -46572,6 +53417,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMetricOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiMetricOutDocument" @@ -46583,9 +53433,7 @@ }, "summary": "Patch a Metric", "tags": [ - "Metrics", - "entities", - "workspace-object-controller" + "Metrics" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -46651,6 +53499,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMetricInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiMetricInDocument" @@ -46662,6 +53515,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMetricOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiMetricOutDocument" @@ -46673,9 +53531,7 @@ }, "summary": "Put a Metric", "tags": [ - "Metrics", - "entities", - "workspace-object-controller" + "Metrics" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -46793,6 +53649,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserDataFilterOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiUserDataFilterOutList" @@ -46804,9 +53665,7 @@ }, "summary": "Get all User Data Filters", "tags": [ - "Data Filters", - "entities", - "workspace-object-controller" + "Data Filters" ] }, "post": { @@ -46872,6 +53731,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserDataFilterPostOptionalIdDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiUserDataFilterPostOptionalIdDocument" @@ -46883,6 +53747,11 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserDataFilterOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiUserDataFilterOutDocument" @@ -46894,9 +53763,7 @@ }, "summary": "Post User Data Filters", "tags": [ - "Data Filters", - "entities", - "workspace-object-controller" + "Data Filters" ] } }, @@ -46951,6 +53818,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserDataFilterOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiUserDataFilterOutList" @@ -46962,8 +53834,7 @@ }, "summary": "Search request for UserDataFilter", "tags": [ - "entities", - "workspace-object-controller" + "Data Filters" ] } }, @@ -47004,9 +53875,7 @@ }, "summary": "Delete a User Data Filter", "tags": [ - "Data Filters", - "entities", - "workspace-object-controller" + "Data Filters" ] }, "get": { @@ -47099,6 +53968,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserDataFilterOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiUserDataFilterOutDocument" @@ -47110,9 +53984,7 @@ }, "summary": "Get a User Data Filter", "tags": [ - "Data Filters", - "entities", - "workspace-object-controller" + "Data Filters" ] }, "patch": { @@ -47173,6 +54045,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserDataFilterPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiUserDataFilterPatchDocument" @@ -47184,6 +54061,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserDataFilterOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiUserDataFilterOutDocument" @@ -47195,9 +54077,7 @@ }, "summary": "Patch a User Data Filter", "tags": [ - "Data Filters", - "entities", - "workspace-object-controller" + "Data Filters" ] }, "put": { @@ -47258,6 +54138,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserDataFilterInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiUserDataFilterInDocument" @@ -47269,6 +54154,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserDataFilterOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiUserDataFilterOutDocument" @@ -47280,9 +54170,7 @@ }, "summary": "Put a User Data Filter", "tags": [ - "Data Filters", - "entities", - "workspace-object-controller" + "Data Filters" ] } }, @@ -47393,6 +54281,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiVisualizationObjectOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiVisualizationObjectOutList" @@ -47404,9 +54297,7 @@ }, "summary": "Get all Visualization Objects", "tags": [ - "Visualization Object", - "entities", - "workspace-object-controller" + "Visualization Object" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -47477,6 +54368,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiVisualizationObjectPostOptionalIdDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiVisualizationObjectPostOptionalIdDocument" @@ -47488,6 +54384,11 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiVisualizationObjectOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiVisualizationObjectOutDocument" @@ -47499,9 +54400,7 @@ }, "summary": "Post Visualization Objects", "tags": [ - "Visualization Object", - "entities", - "workspace-object-controller" + "Visualization Object" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -47562,6 +54461,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiVisualizationObjectOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiVisualizationObjectOutList" @@ -47573,8 +54477,7 @@ }, "summary": "Search request for VisualizationObject", "tags": [ - "entities", - "workspace-object-controller" + "Visualization Object" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -47621,9 +54524,7 @@ }, "summary": "Delete a Visualization Object", "tags": [ - "Visualization Object", - "entities", - "workspace-object-controller" + "Visualization Object" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -47721,6 +54622,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiVisualizationObjectOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiVisualizationObjectOutDocument" @@ -47732,9 +54638,7 @@ }, "summary": "Get a Visualization Object", "tags": [ - "Visualization Object", - "entities", - "workspace-object-controller" + "Visualization Object" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -47800,6 +54704,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiVisualizationObjectPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiVisualizationObjectPatchDocument" @@ -47811,6 +54720,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiVisualizationObjectOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiVisualizationObjectOutDocument" @@ -47822,9 +54736,7 @@ }, "summary": "Patch a Visualization Object", "tags": [ - "Visualization Object", - "entities", - "workspace-object-controller" + "Visualization Object" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -47890,6 +54802,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiVisualizationObjectInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiVisualizationObjectInDocument" @@ -47901,6 +54818,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiVisualizationObjectOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiVisualizationObjectOutDocument" @@ -47912,9 +54834,7 @@ }, "summary": "Put a Visualization Object", "tags": [ - "Visualization Object", - "entities", - "workspace-object-controller" + "Visualization Object" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -48025,6 +54945,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterSettingOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterSettingOutList" @@ -48036,9 +54961,7 @@ }, "summary": "Get all Settings for Workspace Data Filters", "tags": [ - "Data Filters", - "entities", - "workspace-object-controller" + "Data Filters" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -48103,6 +55026,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterSettingInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterSettingInDocument" @@ -48114,6 +55042,11 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterSettingOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterSettingOutDocument" @@ -48125,9 +55058,7 @@ }, "summary": "Post Settings for Workspace Data Filters", "tags": [ - "Data Filters", - "entities", - "workspace-object-controller" + "Data Filters" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage WorkspaceDataFilter/Settings for the workspace the WDF originates and related workspace hierarchy.", @@ -48188,6 +55119,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterSettingOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterSettingOutList" @@ -48199,8 +55135,7 @@ }, "summary": "Search request for WorkspaceDataFilterSetting", "tags": [ - "entities", - "workspace-object-controller" + "Data Filters" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -48247,9 +55182,7 @@ }, "summary": "Delete a Settings for Workspace Data Filter", "tags": [ - "Data Filters", - "entities", - "workspace-object-controller" + "Data Filters" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage WorkspaceDataFilter/Settings for the workspace the WDF originates and related workspace hierarchy.", @@ -48341,6 +55274,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterSettingOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterSettingOutDocument" @@ -48352,9 +55290,7 @@ }, "summary": "Get a Setting for Workspace Data Filter", "tags": [ - "Data Filters", - "entities", - "workspace-object-controller" + "Data Filters" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -48414,6 +55350,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterSettingPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterSettingPatchDocument" @@ -48425,6 +55366,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterSettingOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterSettingOutDocument" @@ -48436,9 +55382,7 @@ }, "summary": "Patch a Settings for Workspace Data Filter", "tags": [ - "Data Filters", - "entities", - "workspace-object-controller" + "Data Filters" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage WorkspaceDataFilter/Settings for the workspace the WDF originates and related workspace hierarchy.", @@ -48498,6 +55442,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterSettingInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterSettingInDocument" @@ -48509,6 +55458,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterSettingOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterSettingOutDocument" @@ -48520,9 +55474,7 @@ }, "summary": "Put a Settings for Workspace Data Filter", "tags": [ - "Data Filters", - "entities", - "workspace-object-controller" + "Data Filters" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage WorkspaceDataFilter/Settings for the workspace the WDF originates and related workspace hierarchy.", @@ -48633,6 +55585,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterOutList" @@ -48644,9 +55601,7 @@ }, "summary": "Get all Workspace Data Filters", "tags": [ - "Data Filters", - "entities", - "workspace-object-controller" + "Data Filters" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -48711,6 +55666,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterInDocument" @@ -48722,6 +55682,11 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterOutDocument" @@ -48733,9 +55698,7 @@ }, "summary": "Post Workspace Data Filters", "tags": [ - "Data Filters", - "entities", - "workspace-object-controller" + "Data Filters" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage WorkspaceDataFilter/Settings for the workspace the WDF originates and related workspace hierarchy.", @@ -48796,6 +55759,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterOutList" @@ -48807,8 +55775,7 @@ }, "summary": "Search request for WorkspaceDataFilter", "tags": [ - "entities", - "workspace-object-controller" + "Data Filters" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -48855,9 +55822,7 @@ }, "summary": "Delete a Workspace Data Filter", "tags": [ - "Data Filters", - "entities", - "workspace-object-controller" + "Data Filters" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage WorkspaceDataFilter/Settings for the workspace the WDF originates and related workspace hierarchy.", @@ -48949,6 +55914,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterOutDocument" @@ -48960,9 +55930,7 @@ }, "summary": "Get a Workspace Data Filter", "tags": [ - "Data Filters", - "entities", - "workspace-object-controller" + "Data Filters" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -49022,6 +55990,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterPatchDocument" @@ -49033,6 +56006,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterOutDocument" @@ -49044,9 +56022,7 @@ }, "summary": "Patch a Workspace Data Filter", "tags": [ - "Data Filters", - "entities", - "workspace-object-controller" + "Data Filters" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage WorkspaceDataFilter/Settings for the workspace the WDF originates and related workspace hierarchy.", @@ -49106,6 +56082,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterInDocument" @@ -49117,6 +56098,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceDataFilterOutDocument" @@ -49128,9 +56114,7 @@ }, "summary": "Put a Workspace Data Filter", "tags": [ - "Data Filters", - "entities", - "workspace-object-controller" + "Data Filters" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage WorkspaceDataFilter/Settings for the workspace the WDF originates and related workspace hierarchy.", @@ -49221,6 +56205,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceSettingOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceSettingOutList" @@ -49232,9 +56221,7 @@ }, "summary": "Get all Setting for Workspaces", "tags": [ - "Workspaces - Settings", - "entities", - "workspace-object-controller" + "Workspaces - Settings" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -49279,6 +56266,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceSettingPostOptionalIdDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceSettingPostOptionalIdDocument" @@ -49290,6 +56282,11 @@ "responses": { "201": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceSettingOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceSettingOutDocument" @@ -49301,9 +56298,7 @@ }, "summary": "Post Settings for Workspaces", "tags": [ - "Workspaces - Settings", - "entities", - "workspace-object-controller" + "Workspaces - Settings" ] } }, @@ -49358,6 +56353,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceSettingOutList" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceSettingOutList" @@ -49368,8 +56368,7 @@ } }, "tags": [ - "entities", - "workspace-object-controller" + "Workspaces - Settings" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -49416,9 +56415,7 @@ }, "summary": "Delete a Setting for Workspace", "tags": [ - "Workspaces - Settings", - "entities", - "workspace-object-controller" + "Workspaces - Settings" ] }, "get": { @@ -49484,6 +56481,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceSettingOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceSettingOutDocument" @@ -49495,9 +56497,7 @@ }, "summary": "Get a Setting for Workspace", "tags": [ - "Workspaces - Settings", - "entities", - "workspace-object-controller" + "Workspaces - Settings" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -49537,6 +56537,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceSettingPatchDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceSettingPatchDocument" @@ -49548,6 +56553,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceSettingOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceSettingOutDocument" @@ -49559,9 +56569,7 @@ }, "summary": "Patch a Setting for Workspace", "tags": [ - "Workspaces - Settings", - "entities", - "workspace-object-controller" + "Workspaces - Settings" ] }, "put": { @@ -49595,6 +56603,11 @@ ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceSettingInDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceSettingInDocument" @@ -49606,6 +56619,11 @@ "responses": { "200": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceSettingOutDocument" + } + }, "application/vnd.gooddata.api+json": { "schema": { "$ref": "#/components/schemas/JsonApiWorkspaceSettingOutDocument" @@ -49617,12 +56635,67 @@ }, "summary": "Put a Setting for a Workspace", "tags": [ - "Workspaces - Settings", - "entities", - "workspace-object-controller" + "Workspaces - Settings" ] } }, + "/api/v1/layout/customGeoCollections": { + "get": { + "description": "Gets complete layout of custom geo collections.", + "operationId": "getCustomGeoCollectionsLayout", + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeclarativeCustomGeoCollections" + } + } + }, + "description": "Retrieved layout of all custom geo collections." + } + }, + "summary": "Get all custom geo collections layout", + "tags": [ + "Organization - Declarative APIs" + ], + "x-gdc-security-info": { + "description": "Permission required to get custom geo collections layout.", + "permissions": [ + "MANAGE" + ] + } + }, + "put": { + "description": "Sets custom geo collections in organization.", + "operationId": "setCustomGeoCollections", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeclarativeCustomGeoCollections" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "All custom geo collections set." + } + }, + "summary": "Set all custom geo collections", + "tags": [ + "Organization - Declarative APIs" + ], + "x-gdc-security-info": { + "description": "Permission required to set custom geo collections layout.", + "permissions": [ + "MANAGE" + ] + } + } + }, "/api/v1/layout/dataSources": { "get": { "description": "Retrieve all data sources including related physical model.", @@ -49641,7 +56714,6 @@ }, "summary": "Get all data sources", "tags": [ - "layout", "Data Source - Declarative APIs" ], "x-gdc-security-info": { @@ -49671,7 +56743,6 @@ }, "summary": "Put all data sources", "tags": [ - "layout", "Data Source - Declarative APIs" ], "x-gdc-security-info": { @@ -49710,7 +56781,6 @@ }, "summary": "Get permissions for the data source", "tags": [ - "layout", "Manage Permissions" ], "x-gdc-security-info": { @@ -49750,7 +56820,6 @@ }, "summary": "Set data source permissions.", "tags": [ - "layout", "Manage Permissions" ], "x-gdc-security-info": { @@ -49779,7 +56848,6 @@ }, "summary": "Get all export templates layout", "tags": [ - "layout", "Notification Channels" ], "x-gdc-security-info": { @@ -49809,7 +56877,6 @@ }, "summary": "Set all export templates", "tags": [ - "layout", "Notification Channels" ], "x-gdc-security-info": { @@ -49841,7 +56908,6 @@ }, "summary": "Get all identity providers layout", "tags": [ - "layout", "Identity Providers" ], "x-gdc-security-info": { @@ -49874,7 +56940,6 @@ }, "summary": "Set all identity providers", "tags": [ - "layout", "Identity Providers" ], "x-gdc-security-info": { @@ -49903,7 +56968,6 @@ }, "summary": "Get all notification channels layout", "tags": [ - "layout", "Notification Channels" ], "x-gdc-security-info": { @@ -49933,7 +56997,6 @@ }, "summary": "Set all notification channels", "tags": [ - "layout", "Notification Channels" ], "x-gdc-security-info": { @@ -49979,7 +57042,6 @@ }, "summary": "Get organization layout", "tags": [ - "layout", "Organization - Declarative APIs" ], "x-gdc-security-info": { @@ -50009,7 +57071,6 @@ }, "summary": "Set organization layout", "tags": [ - "layout", "Organization - Declarative APIs" ], "x-gdc-security-info": { @@ -50041,7 +57102,6 @@ }, "summary": "Get organization permissions", "tags": [ - "layout", "Permissions" ], "x-gdc-security-info": { @@ -50075,7 +57135,6 @@ }, "summary": "Set organization permissions", "tags": [ - "layout", "Permissions" ], "x-gdc-security-info": { @@ -50104,7 +57163,6 @@ }, "summary": "Get all user groups", "tags": [ - "layout", "UserGroups - Declarative APIs" ], "x-gdc-security-info": { @@ -50134,7 +57192,6 @@ }, "summary": "Put all user groups", "tags": [ - "layout", "UserGroups - Declarative APIs" ], "x-gdc-security-info": { @@ -50173,7 +57230,6 @@ }, "summary": "Get permissions for the user-group", "tags": [ - "layout", "Permissions" ], "x-gdc-security-info": { @@ -50213,7 +57269,6 @@ }, "summary": "Set permissions for the user-group", "tags": [ - "layout", "Permissions" ], "x-gdc-security-info": { @@ -50242,7 +57297,6 @@ }, "summary": "Get all users", "tags": [ - "layout", "Users - Declarative APIs" ], "x-gdc-security-info": { @@ -50272,7 +57326,6 @@ }, "summary": "Put all users", "tags": [ - "layout", "Users - Declarative APIs" ], "x-gdc-security-info": { @@ -50311,7 +57364,6 @@ }, "summary": "Get permissions for the user", "tags": [ - "layout", "Permissions" ], "x-gdc-security-info": { @@ -50351,7 +57403,6 @@ }, "summary": "Set permissions for the user", "tags": [ - "layout", "Permissions" ], "x-gdc-security-info": { @@ -50380,7 +57431,6 @@ }, "summary": "Get all users and user groups", "tags": [ - "layout", "UserGroups - Declarative APIs" ], "x-gdc-security-info": { @@ -50410,7 +57460,6 @@ }, "summary": "Put all users and user groups", "tags": [ - "layout", "UserGroups - Declarative APIs" ], "x-gdc-security-info": { @@ -50439,7 +57488,6 @@ }, "summary": "Get workspace data filters for all workspaces", "tags": [ - "layout", "Data Filters" ], "x-gdc-security-info": { @@ -50469,7 +57517,6 @@ }, "summary": "Set all workspace data filters", "tags": [ - "layout", "Data Filters" ], "x-gdc-security-info": { @@ -50515,7 +57562,6 @@ }, "summary": "Get all workspaces layout", "tags": [ - "layout", "Workspaces - Declarative APIs" ], "x-gdc-security-info": { @@ -50545,7 +57591,6 @@ }, "summary": "Set all workspaces layout", "tags": [ - "layout", "Workspaces - Declarative APIs" ], "x-gdc-security-info": { @@ -50599,7 +57644,6 @@ }, "summary": "Get workspace layout", "tags": [ - "layout", "Workspaces - Declarative APIs" ], "x-gdc-security-info": { @@ -50639,7 +57683,6 @@ }, "summary": "Set workspace layout", "tags": [ - "layout", "Workspaces - Declarative APIs" ], "x-gdc-security-info": { @@ -50693,7 +57736,6 @@ }, "summary": "Get analytics model", "tags": [ - "layout", "Analytics Model" ], "x-gdc-security-info": { @@ -50733,7 +57775,6 @@ }, "summary": "Set analytics model", "tags": [ - "layout", "Analytics Model" ], "x-gdc-security-info": { @@ -50790,7 +57831,6 @@ }, "summary": "Get automations", "tags": [ - "layout", "Automations" ], "x-gdc-security-info": { @@ -50833,7 +57873,6 @@ }, "summary": "Set automations", "tags": [ - "layout", "Automations" ], "x-gdc-security-info": { @@ -50890,7 +57929,6 @@ }, "summary": "Get filter views", "tags": [ - "layout", "Filter Views" ], "x-gdc-security-info": { @@ -50933,7 +57971,6 @@ }, "summary": "Set filter views", "tags": [ - "layout", "Filter Views" ], "x-gdc-security-info": { @@ -50980,8 +58017,7 @@ }, "summary": "Get logical model", "tags": [ - "LDM - Declarative APIs", - "layout" + "LDM - Declarative APIs" ], "x-gdc-security-info": { "description": "Permissions required to read the logical model.", @@ -51020,8 +58056,7 @@ }, "summary": "Set logical model", "tags": [ - "LDM - Declarative APIs", - "layout" + "LDM - Declarative APIs" ], "x-gdc-security-info": { "description": "Permissions required to alter the logical model.", @@ -51059,7 +58094,6 @@ }, "summary": "Get permissions for the workspace", "tags": [ - "layout", "Permissions" ], "x-gdc-security-info": { @@ -51099,7 +58133,6 @@ }, "summary": "Set permissions for the workspace", "tags": [ - "layout", "Permissions" ], "x-gdc-security-info": { @@ -51138,8 +58171,7 @@ }, "summary": "Get user data filters", "tags": [ - "layout", - "User Data Filters" + "Other" ], "x-gdc-security-info": { "description": "Permissions to read the user data filters.", @@ -51178,8 +58210,7 @@ }, "summary": "Set user data filters", "tags": [ - "layout", - "User Data Filters" + "Other" ], "x-gdc-security-info": { "description": "Permissions to modify the user data filters.", @@ -51189,6 +58220,176 @@ } } }, + "/api/v1/location/collections/{collectionId}/items": { + "get": { + "description": "Retrieve features from a GeoCollections collection as GeoJSON", + "operationId": "getCollectionItems", + "parameters": [ + { + "description": "Collection identifier", + "example": "countries", + "in": "path", + "name": "collectionId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "Maximum number of features to return", + "example": 100, + "in": "query", + "name": "limit", + "required": false, + "schema": { + "maximum": 100, + "minimum": 1, + "type": "integer" + } + }, + { + "description": "Bounding box filter (minx,miny,maxx,maxy)", + "example": "-180,-90,180,90", + "in": "query", + "name": "bbox", + "required": false, + "schema": { + "type": "string" + } + }, + { + "description": "List of values to filter features by", + "example": "US,CA,MX", + "in": "query", + "name": "values", + "required": false, + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "*/*": { + "schema": { + "$ref": "#/components/schemas/GeoJsonFeatureCollection" + } + } + }, + "description": "Features retrieved successfully" + }, + "404": { + "content": { + "*/*": { + "schema": { + "$ref": "#/components/schemas/GeoJsonFeatureCollection" + } + } + }, + "description": "Collection not found" + } + }, + "summary": "Get collection features", + "tags": [ + "Other" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "VIEW" + ] + } + } + }, + "/api/v1/location/custom/collections/{collectionId}/items": { + "get": { + "description": "Retrieve features from a custom (organization-scoped) GeoCollections collection as GeoJSON", + "operationId": "getCustomCollectionItems", + "parameters": [ + { + "description": "Collection identifier", + "example": "my-custom-collection", + "in": "path", + "name": "collectionId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "Maximum number of features to return", + "example": 100, + "in": "query", + "name": "limit", + "required": false, + "schema": { + "maximum": 100, + "minimum": 1, + "type": "integer" + } + }, + { + "description": "Bounding box filter (minx,miny,maxx,maxy)", + "example": "-180,-90,180,90", + "in": "query", + "name": "bbox", + "required": false, + "schema": { + "type": "string" + } + }, + { + "description": "List of values to filter features by", + "example": "US,CA,MX", + "in": "query", + "name": "values", + "required": false, + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "*/*": { + "schema": { + "$ref": "#/components/schemas/GeoJsonFeatureCollection" + } + } + }, + "description": "Features retrieved successfully" + }, + "404": { + "content": { + "*/*": { + "schema": { + "$ref": "#/components/schemas/GeoJsonFeatureCollection" + } + } + }, + "description": "Collection not found" + } + }, + "summary": "Get custom collection features", + "tags": [ + "Other" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "VIEW" + ] + } + } + }, "/api/v1/options": { "get": { "description": "Retrieves links for all options for different configurations.", @@ -51220,8 +58421,7 @@ }, "summary": "Links for all configuration options", "tags": [ - "Options", - "entities" + "Options" ] } }, @@ -51255,10 +58455,31 @@ }, "summary": "Get all available data source drivers", "tags": [ - "entities", "Available Drivers" ] } + }, + "/api/v1/profile": { + "get": { + "description": "Returns a Profile including Organization and Current User Information.", + "operationId": "getProfile", + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Profile" + } + } + }, + "description": "OK" + } + }, + "summary": "Get Profile", + "tags": [ + "User Authorization" + ] + } } }, "servers": [ @@ -51268,21 +58489,138 @@ } ], "tags": [ + { + "description": "| Analytics as Code APIs - YAML-compatible declarative interface", + "name": "aac" + }, { "description": "Use case APIs for user management", "name": "User management" }, { - "description": "| execution of some form of computation (RPC over JSON)", - "name": "actions" + "description": "OGC API Features implementation for GeoCollections collections", + "name": "OGC API Features" + } + ], + "x-tagGroups": [ + { + "name": "Organization", + "tags": [ + "Cookie Security Configuration", + "Organization - Declarative APIs", + "Organization - Entity APIs", + "Options", + "CSP Directives", + "JWKS", + "Notification Channels", + "Identity Providers" + ] + }, + { + "name": "Users and User Groups", + "tags": [ + "API tokens", + "Users - Entity APIs", + "Users - Declarative APIs", + "UserGroups - Entity APIs", + "UserGroups - Declarative APIs", + "User Authorization", + "User Settings", + "User Identifiers", + "User management" + ] + }, + { + "name": "Permissions", + "tags": [ + "Permissions" + ] + }, + { + "name": "Data Source", + "tags": [ + "Data Source - Declarative APIs", + "Data Source - Entity APIs", + "Test Connection", + "Invalidate Cache", + "Manage Permissions", + "Available Drivers", + "Scanning", + "Data source files import", + "Data source files analysis", + "Data source staging location", + "Data source files listing", + "Data source files deletion", + "Data source files manifest read" + ] + }, + { + "name": "Workspaces", + "tags": [ + "Workspaces - Entity APIs", + "Workspaces - Declarative APIs", + "Data Filters", + "Workspaces - Settings", + "Appearance", + "Plugins", + "Hierarchy", + "Translations" + ] + }, + { + "name": "Logical Data Model", + "tags": [ + "Generate Logical Data Model", + "LDM - Declarative APIs", + "Datasets", + "Attributes", + "Facts", + "Labels" + ] + }, + { + "name": "Analytical Objects", + "tags": [ + "Analytics Model", + "Metrics", + "Dashboards", + "Filter Context", + "Filter Views", + "Visualization Object", + "Dependency Graph", + "Attribute Hierarchies" + ] + }, + { + "name": "Reporting", + "tags": [ + "Usage", + "Computation", + "Smart Functions", + "Entitlement", + "Reporting - Settings", + "Cache usage", + "LLM Endpoints" + ] }, { - "description": "| interconnected resources representing application state (JSON:API)", - "name": "entities" + "name": "Export & Automations", + "tags": [ + "Automations", + "Tabular export", + "Visual export", + "Raw export", + "Slides export", + "Export Definitions", + "Image export", + "Export templates" + ] }, { - "description": "| all-in-one declarative interface (set [PUT] & read [GET] over JSON)", - "name": "layout" + "name": "Other", + "tags": [ + "Other" + ] } ] -} +} \ No newline at end of file